openttd updated to 1.5.0-beta2
--HG-- branch : openttd
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: settings_gui.h 24311 2012-06-01 14:41:47Z frosch $ */
|
||||
/* $Id: settings_gui.h 26959 2014-10-04 20:34:43Z peter1138 $ */
|
||||
|
||||
/*
|
||||
* This file is part of OpenTTD.
|
||||
@@ -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