src/window.cpp
changeset 8268 5027ad5e70a0
parent 8264 b1e85998c7d3
child 8270 e7c342f6b14c
equal deleted inserted replaced
8267:ea6dbc5b2148 8268:5027ad5e70a0
    25 static Point _drag_delta;
    25 static Point _drag_delta;
    26 
    26 
    27 static Window _windows[MAX_NUMBER_OF_WINDOWS];
    27 static Window _windows[MAX_NUMBER_OF_WINDOWS];
    28 Window *_z_windows[lengthof(_windows)];
    28 Window *_z_windows[lengthof(_windows)];
    29 Window **_last_z_window; ///< always points to the next free space in the z-array
    29 Window **_last_z_window; ///< always points to the next free space in the z-array
       
    30 
       
    31 Point _cursorpos_drag_start;
       
    32 
       
    33 int _scrollbar_start_pos;
       
    34 int _scrollbar_size;
       
    35 byte _scroller_click_timeout;
       
    36 
       
    37 bool _scrolling_scrollbar;
       
    38 bool _scrolling_viewport;
       
    39 bool _popup_menu_active;
       
    40 
       
    41 byte _special_mouse_mode;
       
    42 
    30 
    43 
    31 void CDECL Window::SetWidgetsDisabledState(bool disab_stat, int widgets, ...)
    44 void CDECL Window::SetWidgetsDisabledState(bool disab_stat, int widgets, ...)
    32 {
    45 {
    33 	va_list wdg_list;
    46 	va_list wdg_list;
    34 
    47