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/analysis | |
parent | e0d03e3eddb9d240cc21ac1b7a7ade915fd17942 (diff) |
Applied a new GUI update with the new loaded panels features.
Diffstat (limited to 'src/analysis')
-rw-r--r-- | src/analysis/db/items/move.c | 3 | ||||
-rw-r--r-- | src/analysis/loaded.c | 6 | ||||
-rw-r--r-- | src/analysis/loaded.h | 5 |
3 files changed, 12 insertions, 2 deletions
diff --git a/src/analysis/db/items/move.c b/src/analysis/db/items/move.c index 5653649..1b1d5d2 100644 --- a/src/analysis/db/items/move.c +++ b/src/analysis/db/items/move.c @@ -38,7 +38,6 @@ #include "../../../gui/core/global.h" #include "../../../glibext/gbinarycursor.h" #include "../../../glibext/gloadedpanel.h" -#include "../../../gtkext/gtkdisplaypanel.h" // REMME @@ -444,7 +443,7 @@ static bool g_db_move_run(const GDbMove *move, GLineCursor *cursor) gboolean do_move_in_main_loop(move_params *p) { - gtk_display_panel_scroll_to_cursor(p->panel, p->cursor, SPT_CENTER); + g_loaded_panel_scroll_to_cursor(p->panel, p->cursor, SPT_CENTER, true); return G_SOURCE_REMOVE; diff --git a/src/analysis/loaded.c b/src/analysis/loaded.c index 5dd96a8..e65cb38 100644 --- a/src/analysis/loaded.c +++ b/src/analysis/loaded.c @@ -369,6 +369,12 @@ const char *g_loaded_content_describe(const GLoadedContent *content, bool full) } + +/* ---------------------------------------------------------------------------------- */ +/* GESTION DYNAMIQUE DES VUES */ +/* ---------------------------------------------------------------------------------- */ + + /****************************************************************************** * * * Paramètres : content = contenu chargé à consulter. * diff --git a/src/analysis/loaded.h b/src/analysis/loaded.h index 643e170..344d102 100644 --- a/src/analysis/loaded.h +++ b/src/analysis/loaded.h @@ -78,6 +78,11 @@ bool g_loaded_content_analyze_and_wait(GLoadedContent *); /* Fournit le désignation associée à l'élément chargé. */ const char *g_loaded_content_describe(const GLoadedContent *, bool); + + +/* --------------------------- GESTION DYNAMIQUE DES VUES --------------------------- */ + + /* Détermine le nombre de vues disponibles pour un contenu. */ unsigned int g_loaded_content_count_views(const GLoadedContent *); |