diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-08-26 22:41:12 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-08-26 22:41:12 (GMT) |
commit | 10b620c3f7d6a9e78aa1e9d6dabef466d0b9e3af (patch) | |
tree | 3324503e81bdbc83611aa52b4df83b51090d7104 /src/glibext/gcodebuffer.h | |
parent | 90a79bf4c2c21715e5ef9d8a370928d218c08784 (diff) |
Looked for coordinates using the new addresses definitions.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@394 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/glibext/gcodebuffer.h')
-rw-r--r-- | src/glibext/gcodebuffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glibext/gcodebuffer.h b/src/glibext/gcodebuffer.h index 3167d41..5be0084 100644 --- a/src/glibext/gcodebuffer.h +++ b/src/glibext/gcodebuffer.h @@ -57,7 +57,7 @@ GType g_code_buffer_get_type(void); GCodeBuffer *g_code_buffer_new(BufferLineColumn); /* FIXME */ -#define g_code_buffer_append_new_line_fixme(b) g_code_buffer_append_new_line(b, 0ull) +#define g_code_buffer_append_new_line_fixme(b) g_code_buffer_append_new_line(b, make_vmpa(VMPA_NO_PHYSICAL, VMPA_NO_VIRTUAL)) /* Ajoute une nouvelle ligne à un tampon pour code désassemblé. */ GBufferLine *g_code_buffer_append_new_line(GCodeBuffer *, const vmpa2t *); @@ -128,7 +128,7 @@ gint g_buffer_view_get_width(GBufferView *, bool, bool, bool); gint g_buffer_view_get_height(const GBufferView *); /* Calcule la position idéale de curseur pour un point donné. */ -vmpa_t g_buffer_view_compute_caret(GBufferView *, GBufferLine *, size_t, gint, GdkRectangle *); +const vmpa2t *g_buffer_view_compute_caret(GBufferView *, GBufferLine *, size_t, gint, GdkRectangle *); /* Déplace le curseur au sein d'une vue de tampon. */ vmpa_t g_buffer_view_move_caret(GBufferView *, GdkRectangle *, bool, GdkScrollDirection, bool, bool, bool); @@ -146,7 +146,7 @@ void g_buffer_view_draw(const GBufferView *, cairo_t *, gint, gint, const cairo_ GBufferLine *g_buffer_view_find_line_at(GBufferView *, gint, size_t *); /* Indique la position d'affichage d'une adresse donnée. */ -bool g_buffer_view_get_address_coordinates(GBufferView *, vmpa_t, gint *, gint *); +bool g_buffer_view_get_address_coordinates(GBufferView *, const vmpa2t *, gint *, gint *); |