mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-26 20:32:07 -05:00
fix widget index size & size for consistency
This commit is contained in:
parent
f4f07ae5bb
commit
50eaa99eac
3 changed files with 3 additions and 2 deletions
|
@ -224,7 +224,7 @@ static void input_scroll_drag_begin(int x, int y, rct_window* w, rct_widget* wid
|
|||
*/
|
||||
static void input_scroll_drag_continue(int x, int y, rct_window* w)
|
||||
{
|
||||
uint8 widgetIndex = _dragWidget.widget_index;
|
||||
rct_widgetindex widgetIndex = _dragWidget.widget_index;
|
||||
uint8 scrollIndex = _dragScrollIndex;
|
||||
|
||||
rct_widget* widget = &w->widgets[widgetIndex];
|
||||
|
|
|
@ -69,7 +69,7 @@ enum {
|
|||
typedef struct {
|
||||
rct_windowclass window_classification;
|
||||
rct_windownumber window_number;
|
||||
uint8 widget_index;
|
||||
rct_widgetindex widget_index;
|
||||
} widget_ref;
|
||||
|
||||
extern uint8 gInputState;
|
||||
|
|
|
@ -43,6 +43,7 @@ typedef void wndproc(struct rct_window*, union rct_window_event*);
|
|||
|
||||
typedef uint8 rct_windowclass;
|
||||
typedef uint16 rct_windownumber;
|
||||
typedef sint16 rct_widgetindex;
|
||||
|
||||
typedef struct {
|
||||
rct_windowclass classification;
|
||||
|
|
Loading…
Add table
Reference in a new issue