|
From: Stephen D. <st...@da...> - 2002-09-17 17:22:00
|
On Tue, 17 Sep 2002, Stephen Davies wrote:
> Once only slightly connected question - is there a way to make the arrows
> for sub-menus a little more subtle?
I think I can answer that myself (Use the source, Luke)
Fl_Menu.cxx:
> if (m->submenu()) {
> int sz = (hh-5)&-2;
> int y1 = yy+(hh-sz)/2;
> int x1 = xx+ww-sz-3;
> fl_polygon(x1, y1, x1, y1+sz, x1+sz, y1+sz/2);
> } else if (m->shortcut_) {
Looks like its hardcoded in fltk itself, though this could be tweaked I
guess.
Steve
|