History

Tweaks to menu to have right position under Mac, always on, slightly smaller font

Philip Rosedale committed 13 years ago

Commit 85990321 parent 8b54b523 files · +5 −5Browse files

Showing the changes to interface/src/Menu.cpp (1 of 3 files). Show all

Unified · Split

interface/src/Menu.cpp+3−2
@@ -20,8 +20,9 @@ const int LINE_HEIGHT = 30; · 19 unmodified lines
20const int MENU_HEIGHT = 30;20const int MENU_HEIGHT = 30;
21 21
22#ifdef _WIN3222#ifdef _WIN32
23const int MENU_Y_OFFSET = 8; // under windows we have 8 vertical pixels offset. In 2D an object with y=8, the object is displayed at y=023const int MENU_Y_OFFSET = 8; // under windows we have 8 vertical pixels offset.
24 // change the value in the other platforms (if required).24 // In 2D an object with y=8, the object is displayed at y=0
25 // change the value in the other platforms (if required).
25#else26#else
26const int MENU_Y_OFFSET = 0;27const int MENU_Y_OFFSET = 0;
27#endif28#endif