DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2243
Version: 1.3-current


After some discussion in fltk.development, there is a proposal for a patch
written by Andreas Ekstrand (andek), based on some ideas discussed
today[1]. Andreas wrote in fltk.development[2]:

"In Fl_Menu_Item.H, I changed the find_shortcut declaration to:
const Fl_Menu_Item* find_shortcut(int *ip=0, const bool &require_alt =
false) const;

In Fl_Widget.H, I changed the test_shortcut declaration to:
static int test_shortcut(const char*, const bool &require_alt = false);

In FL_Menu.cxx, I propagate the require_alt parameter in
Fl_Menu_Item::find_shortcut to Fl_Widget::test_shortcut.

In Fl_Menu_Bar.cxx, I send (0, true) as parameters to find_shortcut.

In fl_shortcut.cxx, I only check the FL_ALT state if require_alt is true
(still only for WIN32)."

For more info please check the links [1] and [2] below.

I tried to translate the description into a diff/patch file and uploaded
it to this STR for reference [3]. More comments to follow...

[1]
http://www.fltk.org/newsgroups.php?gfltk.development+Q%22STR+%232243%22
[2] http://www.fltk.org/newsgroups.php?gfltk.development+v:10668
[3] http://www.fltk.org/strfiles/2243/str_2243_v1.patch


Link: http://www.fltk.org/str.php?L2243
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to