diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-07-16 20:11:21 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-07-16 20:11:21 (GMT) |
commit | f6e56cebfa878dd32a2405fd0c916a40140a1ff0 (patch) | |
tree | 3e364d2e2b2de19b85ab6d14f856d4b8db11737a /src/glibext/gloadedpanel-int.h | |
parent | e0d03e3eddb9d240cc21ac1b7a7ade915fd17942 (diff) |
Applied a new GUI update with the new loaded panels features.
Diffstat (limited to 'src/glibext/gloadedpanel-int.h')
-rw-r--r-- | src/glibext/gloadedpanel-int.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/glibext/gloadedpanel-int.h b/src/glibext/gloadedpanel-int.h index dbe9c0c..36a1437 100644 --- a/src/glibext/gloadedpanel-int.h +++ b/src/glibext/gloadedpanel-int.h @@ -41,6 +41,9 @@ typedef GLineCursor * (* get_loaded_cursor_fc) (const GLoadedPanel *); /* Définit le position courante dans un panneau de chargement. */ typedef void (* set_loaded_cursor_fc) (GLoadedPanel *, const GLineCursor *); +/* S'assure qu'un emplacement donné est visible à l'écran. */ +typedef void (* scroll_loaded_to_cursor_fc) (GLoadedPanel *, const GLineCursor *, ScrollPositionTweak, bool); + /* Place en cache un rendu destiné à l'aperçu graphique rapide. */ typedef void (* cache_loaded_glance_fc) (GLoadedPanel *, cairo_t *, const GtkAllocation *, double); @@ -50,17 +53,21 @@ struct _GLoadedPanelIface { GTypeInterface base_iface; /* A laisser en premier */ + /* Méthodes virtuelles */ + set_loaded_panel_content_fc set_content;/* Définition du contenu */ get_loaded_panel_content_fc get_content;/* Récupération du contenu */ get_loaded_cursor_fc get_cursor; /* Fourniture d'une position */ set_loaded_cursor_fc set_cursor; /* Application d'une position */ + scroll_loaded_to_cursor_fc scroll; /* Défilement de la vue */ cache_loaded_glance_fc cache_glance; /* Cache de la mignature */ /* Signaux */ void (* move_request) (GLoadedPanel *, const GLineCursor *, gboolean); + void (* cursor_moved) (GLoadedPanel *, const GLineCursor *); }; |