diff options
| author | Greg Ercolano <erco@seriss.com> | 2018-03-31 17:17:37 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2018-03-31 17:17:37 +0000 |
| commit | 309d9a61b9759ad2ecc1c85458d3b9a8b97c575b (patch) | |
| tree | 458433893f733e012aee2685b845b24ca2b623f3 /FL | |
| parent | 69584dda96eeae60dbb4fe70a1b452e0effce224 (diff) | |
Added Fl::menu_linespacing() to solve STR# 2927.
Method name follows Fl_Tree::linespacing().
Implemented similarly to Fl::scrollbar_size(), since its use crosses Fl_Menu_Item and 'menuwindow' classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12815 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl.H | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -294,6 +294,7 @@ public: static int e_original_keysym; // late addition static int scrollbar_size_; + static int menu_linespacing_; // STR #2927 #endif @@ -407,6 +408,8 @@ public: static int reload_scheme(); // platform dependent static int scrollbar_size(); static void scrollbar_size(int W); + static int menu_linespacing(); + static void menu_linespacing(int H); // execution: static int wait(); |
