comparison lwlib/xlwmenuP.h @ 75017:977e9b2fe72d

(_XlwMenu_part): Add enter/leave callbacks and inside_entry.
author Jan Djärv <jan.h.d@swipnet.se>
date Mon, 01 Jan 2007 15:19:58 +0000
parents e8a3fb527b77
children 6d19c76d81c5 e4e4a56ef723
comparison
equal deleted inserted replaced
75016:6a01460d75ba 75017:977e9b2fe72d
62 Pixmap top_shadow_pixmap; 62 Pixmap top_shadow_pixmap;
63 Pixmap bottom_shadow_pixmap; 63 Pixmap bottom_shadow_pixmap;
64 Cursor cursor_shape; 64 Cursor cursor_shape;
65 XtCallbackList open; 65 XtCallbackList open;
66 XtCallbackList select, highlight; 66 XtCallbackList select, highlight;
67 XtCallbackList enter, leave;
67 widget_value* contents; 68 widget_value* contents;
68 int horizontal; 69 int horizontal;
69 70
70 /* True means top_shadow_color and/or bottom_shadow_color must be freed. */ 71 /* True means top_shadow_color and/or bottom_shadow_color must be freed. */
71 unsigned free_top_shadow_color_p : 1; 72 unsigned free_top_shadow_color_p : 1;
74 /* State of the XlwMenu */ 75 /* State of the XlwMenu */
75 int top_depth; 76 int top_depth;
76 int old_depth; 77 int old_depth;
77 widget_value** old_stack; 78 widget_value** old_stack;
78 int old_stack_length; 79 int old_stack_length;
80 widget_value* inside_entry;
79 81
80 /* New state after the user moved */ 82 /* New state after the user moved */
81 int new_depth; 83 int new_depth;
82 widget_value** new_stack; 84 widget_value** new_stack;
83 int new_stack_length; 85 int new_stack_length;