(svn r26959) -Codechange: GUI-scale for settings window.
This commit is contained in:
@@ -14,8 +14,10 @@
|
||||
|
||||
#include "gfx_type.h"
|
||||
|
||||
static const int SETTING_BUTTON_WIDTH = 20; ///< Width of setting buttons
|
||||
static const int SETTING_BUTTON_HEIGHT = 10; ///< Height of setting buttons
|
||||
/** Width of setting buttons */
|
||||
#define SETTING_BUTTON_WIDTH ((int)NWidgetScrollbar::GetHorizontalDimension().width * 2)
|
||||
/** Height of setting buttons */
|
||||
#define SETTING_BUTTON_HEIGHT ((int)NWidgetScrollbar::GetHorizontalDimension().height)
|
||||
|
||||
void DrawArrowButtons(int x, int y, Colours button_colour, byte state, bool clickable_left, bool clickable_right);
|
||||
void DrawDropDownButton(int x, int y, Colours button_colour, bool state, bool clickable);
|
||||
|
Reference in New Issue
Block a user