reset_all_objects_transparency_to_value < a starting point

This commit is contained in:
Jean Sirmai 2024-07-20 11:48:37 +02:00
parent 46915ed62f
commit 600b6420e2
Signed by: jean
GPG Key ID: FB3115C340E057E3
1 changed files with 37 additions and 0 deletions

View File

@ -83,6 +83,43 @@ static GtkBox *rec_ZOOM_box()
return 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 #define n_objects 32
static GtkScrollbar *object_bar [n_objects]; static GtkScrollbar *object_bar [n_objects];
static GtkAdjustment *adjust_bar [n_objects]; static GtkAdjustment *adjust_bar [n_objects];