1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 07:14:31 +01:00

Introduce a constant for scrollbar width and height (#11152)

This commit is contained in:
Aaron van Geffen
2020-03-30 22:41:49 +02:00
committed by GitHub
parent 3d223b0843
commit 28d14517e1
3 changed files with 53 additions and 41 deletions

View File

@@ -58,6 +58,8 @@ enum
SCROLL_BOTH = SCROLL_HORIZONTAL | SCROLL_VERTICAL
};
constexpr uint8_t SCROLLBAR_WIDTH = 10;
void widget_scroll_update_thumbs(rct_window* w, rct_widgetindex widget_index);
void widget_draw(rct_drawpixelinfo* dpi, rct_window* w, rct_widgetindex widgetIndex);