summaryrefslogtreecommitdiff
path: root/src/glibext/gloadedpanel.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-11 14:18:06 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-11 14:18:06 (GMT)
commit4299c1d780a37ad242948fabab8675d74952c5f9 (patch)
treec8e591572d1b5958da06cbf1a5e4b3907bc3e0fc /src/glibext/gloadedpanel.c
parent7c2129872cecdc185843ea0af81d0858ed8e7b90 (diff)
Restored a minimal graph view system.
Diffstat (limited to 'src/glibext/gloadedpanel.c')
-rw-r--r--src/glibext/gloadedpanel.c50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/glibext/gloadedpanel.c b/src/glibext/gloadedpanel.c
index 341c207..5f43821 100644
--- a/src/glibext/gloadedpanel.c
+++ b/src/glibext/gloadedpanel.c
@@ -109,6 +109,56 @@ GLoadedContent *g_loaded_panel_get_content(const GLoadedPanel *panel)
/******************************************************************************
* *
+* Paramètres : panel = composant GTK à consulter. *
+* *
+* Description : Fournit le position courante dans un panneau de chargement. *
+* *
+* Retour : Informations relatives à la position du curseur. *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+GLineCursor *g_loaded_panel_get_cursor(const GLoadedPanel *panel)
+{
+ GLineCursor *result; /* Contenu à retourner */
+ GLoadedPanelIface *iface; /* Interface utilisée */
+
+ iface = G_LOADED_PANEL_GET_IFACE(panel);
+
+ result = iface->get_cursor(panel);
+
+ return result;
+
+}
+
+
+/******************************************************************************
+* *
+* Paramètres : panel = composant GTK à mettre à jour. *
+* cursor = informations relatives à la position du curseur. *
+* *
+* Description : Définit le position courante dans un panneau de chargement. *
+* *
+* Retour : - *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+void g_loaded_panel_set_cursor(GLoadedPanel *panel, const GLineCursor *cursor)
+{
+ GLoadedPanelIface *iface; /* Interface utilisée */
+
+ iface = G_LOADED_PANEL_GET_IFACE(panel);
+
+ iface->set_cursor(panel, cursor);
+
+}
+
+
+/******************************************************************************
+* *
* Paramètres : panel = composant GTK à manipuler. *
* cairo = assistant pour la création de rendus. *
* area = taille de la surface réduite à disposition. *