|
|
In FLTK 1.4, "highlighted" menu bar items (and submenu items) are indicated with either an up box or a light background:
I much prefer the stronger contrast of using the FL_SELECTION_COLOR in FLTK 1.3:
I took a look at Fl_Menu_Item::draw() in Fl_Menu.cxx but it didn't seem clear how to customize a Fl_Menu_Bar to get the same effect.
Using test/editor.cxx as an example, I can add app_menu_bar->box(FL_FLAT_BOX); to replace the up box with a flat box, but I can't figure out how to always use FL_SELECTION_COLOR as the selected background color. ( app_menu_bar->selection_color(FL_SELECTION_COLOR); as no affect and app_menu_bar->color(FL_SELECTION_COLOR); makes every non-selected menu item use the selection color.) I also think the new style of the submenu arrows is a bit exaggerated:
And I think the more modest look of FLTK 1.3 arrows was more appropriate:
Is it possible to customize this?
Thanks for any advice.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/6a0339e0-6b13-4a6b-b7f8-9e274ba369f4n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |