diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-02-06 02:03:12 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-02-06 02:03:12 +0000 |
| commit | f02c5fb4516e6fac11efb142f2f56a8e80baa288 (patch) | |
| tree | d9349cf75ea5957be761924daae28753a9d87218 /src | |
| parent | cb73c932582c359fb7e7dfd06ece0ba7990b0781 (diff) | |
Fl_Menu now draws the arrow more like other toolkits and 2.0
(STR #651)
src/Fl_Menu.cxx:
- Change submenu drawing code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Menu.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_Menu.cxx b/src/Fl_Menu.cxx index 23c09c0f4..470de2f68 100644 --- a/src/Fl_Menu.cxx +++ b/src/Fl_Menu.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Menu.cxx,v 1.18.2.12.2.37 2005/01/04 15:02:57 easysw Exp $" +// "$Id$" // // Menu code for the Fast Light Tool Kit (FLTK). // @@ -396,7 +396,7 @@ void menuwindow::drawentry(const Fl_Menu_Item* m, int n, int eraseit) { int sz = (hh-7)&-2; int y1 = yy+(hh-sz)/2; int x1 = xx+ww-sz-3; - fl_polygon(x1, y1, x1, y1+sz, x1+sz/2, y1+sz/2); + fl_polygon(x1+2, y1, x1+2, y1+sz, x1+sz/2+2, y1+sz/2); } else if (m->shortcut_) { Fl_Font f = m->labelsize_ || m->labelfont_ ? (Fl_Font)m->labelfont_ : button ? button->textfont() : FL_HELVETICA; @@ -832,5 +832,5 @@ const Fl_Menu_Item* Fl_Menu_Item::test_shortcut() const { } // -// End of "$Id: Fl_Menu.cxx,v 1.18.2.12.2.37 2005/01/04 15:02:57 easysw Exp $". +// End of "$Id$". // |
