summaryrefslogtreecommitdiff
path: root/src/glibext/glinecursor-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-16 20:11:21 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-16 20:11:21 (GMT)
commitf6e56cebfa878dd32a2405fd0c916a40140a1ff0 (patch)
tree3e364d2e2b2de19b85ab6d14f856d4b8db11737a /src/glibext/glinecursor-int.h
parente0d03e3eddb9d240cc21ac1b7a7ade915fd17942 (diff)
Applied a new GUI update with the new loaded panels features.
Diffstat (limited to 'src/glibext/glinecursor-int.h')
-rw-r--r--src/glibext/glinecursor-int.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/glibext/glinecursor-int.h b/src/glibext/glinecursor-int.h
index b38e22e..18ec147 100644
--- a/src/glibext/glinecursor-int.h
+++ b/src/glibext/glinecursor-int.h
@@ -26,6 +26,7 @@
#include "glinecursor.h"
+#include "../gtkext/gtkstatusstack.h"
@@ -35,12 +36,15 @@ typedef GLineCursor * (* duplicate_cursor_fc) (const GLineCursor *);
/* Compare deux suivis d'emplacements. */
typedef int (* compare_cursor_fc) (const GLineCursor *, const GLineCursor *);
-/* Détermine si un suivi d'emplacement est valide ou non. */
+/* Détermine si la position de suivi est pertinente ou non. */
typedef bool (* is_cursor_valid_fc) (const GLineCursor *);
/* Construit une étiquette de représentation d'un suivi. */
typedef char * (* build_cursor_label_fc) (const GLineCursor *);
+/* Affiche une position dans une barre de statut. */
+typedef void (* show_cursor_status_fc) (const GLineCursor *, GtkStatusStack *, GLoadedContent *);
+
/* Exporte la définition d'un emplacement dans un flux réseau. */
typedef bool (* serialize_cursor_fc) (const GLineCursor *, packed_buffer *);
@@ -76,6 +80,7 @@ struct _GLineCursorClass
compare_cursor_fc compare; /* Comparaison d'emplacements */
is_cursor_valid_fc is_valid; /* Certificat de validité */
build_cursor_label_fc build_label; /* Obtention d'une étiquette */
+ show_cursor_status_fc show_status; /* Affichage dans une barre */
serialize_cursor_fc serialize; /* Sauvegarde d'un emplacement */
unserialize_cursor_fc unserialize; /* Chargement d'un emplacement */