DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Active]
Link: http://www.fltk.org/str.php?L2161
Version: 1.3-current
Fix Version: 1.3.0 (r6905)
Please see attached patch (flags_r6905.patch) for a preliminary fix.
This fixes the wrong definitions, and FLTK compiles and runs okay, AFAICT.
However, there's still one flag missing: NO_OVERLAY = 128 is still defined
in Fl_Menu_Window.H (and thus the same as CHANGED).
BTW: to test this, please use "make clean" or "make depend" (in all dirs)
to fix missing dependencies.
Link: http://www.fltk.org/str.php?L2161
Version: 1.3-current
Fix Version: 1.3.0 (r6905)
Index: FL/Fl_Widget.H
===================================================================
--- FL/Fl_Widget.H (Revision 6905)
+++ FL/Fl_Widget.H (Arbeitskopie)
@@ -144,21 +144,21 @@
See activate(), output(), visible(), changed(), set_visible_focus()
*/
enum {
- INACTIVE = 1, ///< the widget can't receive focus, and is
disabled but potentially visible
- INVISIBLE, ///< the widget is not drawn but can receive
events
- OUTPUT, ///< for output only
- NOBORDER, ///< don't draw a decoration (Fl_Window)
- FORCE_POSITION, ///< don't let the window manager position thi
window (Fl_Window)
- NON_MODAL, ///< thisis a hovering toolbar window (Fl_Window)
- SHORTCUT_LABEL, ///< the label contains a shortcut we need to
draw
- CHANGED, ///< the widget value changed
- OVERRIDE, ///< position window on top (Fl_Window)
- VISIBLE_FOCUS, ///< accepts keyboard focus navigation if the
widget can have the focus
- COPIED_LABEL, ///< the widget label is internally copied, its
destruction is handled by the widget
- CLIP_CHILDREN, ///< all drawing within this widget will be
clipped (Fl_Group)
- MENU_WINDOW, ///< a temporary popup window, dismissed by
clicking outside (Fl_Window)
- TOOLTIP_WINDOW, ///< a temporary popup, transparent to events,
and dismissed easily (Fl_Window)
- MODAL, ///< a window blocking input to all other winows
(Fl_Window)
+ INACTIVE = 0x00000001, ///< the widget can't receive focus, and
is disabled but potentially visible
+ INVISIBLE = 0x00000002, ///< the widget is not drawn but can
receive events
+ OUTPUT = 0x00000004, ///< for output only
+ NOBORDER = 0x00000008, ///< don't draw a decoration (Fl_Window)
+ FORCE_POSITION = 0x00000010, ///< don't let the window manager
position this window (Fl_Window)
+ NON_MODAL = 0x00000020, ///< this is a hovering toolbar window
(Fl_Window)
+ SHORTCUT_LABEL = 0x00000040, ///< the label contains a shortcut we
need to draw
+ CHANGED = 0x00000080, ///< the widget value changed
+ OVERRIDE = 0x00000100, ///< position window on top (Fl_Window)
+ VISIBLE_FOCUS = 0x00000200, ///< accepts keyboard focus
navigation if the widget can have the focus
+ COPIED_LABEL = 0x00000400, ///< the widget label is internally
copied, its destruction is handled by the widget
+ CLIP_CHILDREN = 0x00000800, ///< all drawing within this
widget will be clipped (Fl_Group)
+ MENU_WINDOW = 0x00001000, ///< a temporary popup window, dismissed
by clicking outside (Fl_Window)
+ TOOLTIP_WINDOW = 0x00002000, ///< a temporary popup, transparent to
events, and dismissed easily (Fl_Window)
+ MODAL = 0x00004000 ///< a window blocking input to
all other winows (Fl_Window)
};
void draw_box() const;
void draw_box(Fl_Boxtype t, Fl_Color c) const;
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs