Showing the changes to interface/src/Menu.cpp (1 of 3 files). Show all
Unified · Split
| @@ -20,8 +20,9 @@ const int LINE_HEIGHT = 30; · 19 unmodified lines | |||
| 20 | const int MENU_HEIGHT = 30; | 20 | const int MENU_HEIGHT = 30; |
| 21 | 21 | ||
| 22 | #ifdef _WIN32 | 22 | #ifdef _WIN32 |
| 23 | const 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=0 | 23 | const 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 | #else | 26 | #else |
| 26 | const int MENU_Y_OFFSET = 0; | 27 | const int MENU_Y_OFFSET = 0; |
| 27 | #endif | 28 | #endif |