diff -r e64b518a7b54 -r 35e0224ea8f1 src/window_gui.h --- a/src/window_gui.h Sat May 17 12:26:00 2008 +0000 +++ b/src/window_gui.h Sat May 17 12:48:06 2008 +0000 @@ -245,6 +245,12 @@ uint step_height; ///< Step-size of height resize changes }; +enum SortButtonState { + SBS_OFF, + SBS_DOWN, + SBS_UP, +}; + /** * Data structure for a window viewport */ @@ -322,6 +328,10 @@ void CDECL SetWidgetsLoweredState(bool lowered_stat, int widgets, ...); void InvalidateWidget(byte widget_index) const; + void DrawWidgets() const; + void DrawViewport() const; + void DrawSortButtonState(int widget, SortButtonState state) const; + void SetDirty() const; /*** Event handling ***/ @@ -612,8 +622,6 @@ return new Wcls(desc, window_number); } -void DrawWindowViewport(const Window *w); - void RelocateAllWindows(int neww, int newh); /* misc_gui.cpp */ @@ -625,17 +633,6 @@ /* widget.cpp */ int GetWidgetFromPos(const Window *w, int x, int y); -void DrawWindowWidgets(const Window *w); - -enum SortButtonState { - SBS_OFF, - SBS_DOWN, - SBS_UP, -}; - -void DrawSortButtonState(const Window *w, int widget, SortButtonState state); - - /* window.cpp */ extern Window *_z_windows[];