From 600b6420e2e47bc37316d361dc8c276cfc2c8bd7 Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Sat, 20 Jul 2024 11:48:37 +0200 Subject: [PATCH] reset_all_objects_transparency_to_value < a starting point --- src/widget/state.c | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/src/widget/state.c b/src/widget/state.c index 478a4d3..375a6ba 100644 --- a/src/widget/state.c +++ b/src/widget/state.c @@ -83,6 +83,43 @@ static GtkBox *rec_ZOOM_box() return ZOOM_box; } + + + + + + + + + + + + + + + + + + + + +/* in graphics.h : struct graphics_stack_t { int id; int mode;...} + * extern struct graphics_stack_t *graphics_stack; + * in init.c : struct graphics_stack_t *graphics_stack = NULL; + * graphics_stack = g_malloc0 (sizeof(struct graphics_stack_t)); + * graphics_stack = g_realloc (graphics_stack, + ++graphics_stack_size * + sizeof(struct graphics_stack_t)); + * memset (&graphics_stack[cur_id], 0, + * sizeof(struct graphics_stack_t)); +*/ + + + + + + + #define n_objects 32 static GtkScrollbar *object_bar [n_objects]; static GtkAdjustment *adjust_bar [n_objects];