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];