diff options
Diffstat (limited to 'src/gtkext/gtkgraphdisplay.c')
-rw-r--r-- | src/gtkext/gtkgraphdisplay.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gtkext/gtkgraphdisplay.c b/src/gtkext/gtkgraphdisplay.c index 8c8e5da..0fe86ef 100644 --- a/src/gtkext/gtkgraphdisplay.c +++ b/src/gtkext/gtkgraphdisplay.c @@ -120,8 +120,8 @@ static void gtk_graph_display_define_main_address(GtkGraphDisplay *, const vmpa2 /* Indique la position courante du curseur. */ static const vmpa2t *gtk_graph_display_get_caret_location(const GtkGraphDisplay *); -/* Indique la position d'affichage d'une adresse donnée. */ -static bool gtk_graph_display_get_address_coordinates(const GtkGraphDisplay *, const vmpa2t *addr, gint *x, gint *y, ScrollPositionTweak tweak); +/* Indique la position d'affichage d'un emplacement donné. */ +static bool gtk_graph_display_get_cursor_coordinates(const GtkGraphDisplay *, const GLineCursor *, gint *, gint *, ScrollPositionTweak); /* Déplace le curseur à un emplacement défini. */ static bool gtk_graph_display_move_caret_to(GtkGraphDisplay *, gint, gint); @@ -184,7 +184,7 @@ static void gtk_graph_display_class_init(GtkGraphDisplayClass *class) panel_class->define = (define_address_fc)gtk_graph_display_define_main_address; panel_class->get_caret_loc = (get_caret_location_fc)gtk_graph_display_get_caret_location; - panel_class->get_coordinates = (get_addr_coordinates_fc)gtk_graph_display_get_address_coordinates; + panel_class->get_coordinates = (get_coordinates_fc)gtk_graph_display_get_cursor_coordinates; panel_class->move_caret_to = (move_caret_to_fc)gtk_graph_display_move_caret_to; panel_class->get_cursor = (get_cursor_fc)gtk_graph_display_get_cursor; panel_class->set_cursor = (set_cursor_fc)gtk_graph_display_set_cursor; @@ -729,12 +729,12 @@ static const vmpa2t *gtk_graph_display_get_caret_location(const GtkGraphDisplay /****************************************************************************** * * * Paramètres : display = composant GTK à consulter. * -* addr = adresse à présenter à l'écran. * +* cursor = emplacement à présenter à l'écran. * * x = position horizontale au sein du composant. [OUT] * * y = position verticale au sein du composant. [OUT] * * tweak = adaptation finale à effectuer. * * * -* Description : Indique la position d'affichage d'une adresse donnée. * +* Description : Indique la position d'affichage d'un emplacement donné. * * * * Retour : true si l'adresse fait partie du composant, false sinon. * * * @@ -742,7 +742,7 @@ static const vmpa2t *gtk_graph_display_get_caret_location(const GtkGraphDisplay * * ******************************************************************************/ -static bool gtk_graph_display_get_address_coordinates(const GtkGraphDisplay *display, const vmpa2t *addr, gint *x, gint *y, ScrollPositionTweak tweak) +static bool gtk_graph_display_get_cursor_coordinates(const GtkGraphDisplay *display, const GLineCursor *cursor, gint *x, gint *y, ScrollPositionTweak tweak) { /* TODO */ |