mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Remove the now-unused SPINNER_WIDGETS macro
This commit is contained in:
@@ -43,15 +43,6 @@ enum class WindowWidgetType : uint8_t
|
||||
constexpr const auto WIDGETS_END = rct_widget{ WindowWidgetType::Last, 0, 0, 0, 0, 0, 0, 0 };
|
||||
#define BAR_BLINK (1u << 31)
|
||||
|
||||
#define SPINNER_INCREASE(l, r, t, b) (r) - 12, (r)-1, (t) + 1, (b)-1
|
||||
#define SPINNER_DECREASE(l, r, t, b) (r) - 25, (r)-13, (t) + 1, (b)-1
|
||||
#define SPINNER_WIDGETS(colour, left, right, top, bottom, text, tooltip) \
|
||||
{ WindowWidgetType::Spinner, colour, left, right, top, bottom, text, tooltip }, \
|
||||
{ WindowWidgetType::Button, colour, SPINNER_INCREASE(left, right, top, bottom), STR_NUMERIC_UP, STR_NONE }, \
|
||||
{ \
|
||||
WindowWidgetType::Button, colour, SPINNER_DECREASE(left, right, top, bottom), STR_NUMERIC_DOWN, STR_NONE \
|
||||
}
|
||||
|
||||
enum
|
||||
{
|
||||
SCROLL_HORIZONTAL = (1 << 0),
|
||||
|
||||
Reference in New Issue
Block a user