diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-06-02 09:07:27 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-06-02 09:07:27 (GMT) |
commit | 30111e5cf6ff5a7766296ac2579a98c16e7cc7c1 (patch) | |
tree | d75f268ad20b5ae02f954c03d9a6e19b47b8f839 /src/glibext/gwidthtracker.h | |
parent | f0fa987133468d7d3cae7894d813b852782bf895 (diff) |
Computed the initial lines width using all threads.
Diffstat (limited to 'src/glibext/gwidthtracker.h')
-rw-r--r-- | src/glibext/gwidthtracker.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/glibext/gwidthtracker.h b/src/glibext/gwidthtracker.h index 0832467..2d9aef6 100644 --- a/src/glibext/gwidthtracker.h +++ b/src/glibext/gwidthtracker.h @@ -29,10 +29,14 @@ #include <stdbool.h> +#include "delayed.h" #include "gbufferline.h" +/* ---------------------------- RASSEMBLEMENT DE MESURES ---------------------------- */ + + /* gbuffercache.h : Tampon pour gestion de lignes optimisée (instance) */ typedef struct _GBufferCache GBufferCache; @@ -70,6 +74,9 @@ void g_width_tracker_update_added(GWidthTracker *, size_t, size_t); /* Prend acte de la suppression de lignes pour les largeurs. */ void g_width_tracker_update_deleted(GWidthTracker *, size_t, size_t); +/* Calcule les largeurs requises par un ensemble de lignes. */ +void g_width_tracker_build_initial_cache(GWidthTracker *, wgroup_id_t, GtkStatusStack *); + /* Fournit un bon résumé des largeurs en vigueur. */ const line_width_summary *g_width_tracker_get_width_summary(GWidthTracker *); |