diff options
Diffstat (limited to 'src/glibext/gloadedpanel.c')
-rw-r--r-- | src/glibext/gloadedpanel.c | 50 |
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. * |