Changeset - r11557:32a6000a8201
[Not reviewed]
master
0 1 0
alberth - 15 years ago 2009-04-03 12:38:18
alberth@openttd.org
(svn r15928) -Codechange: Moving statusbar widget numbers outside StatusBarWindow
1 file changed with 6 insertions and 6 deletions:
0 comments (0 inline, 0 general)
src/statusbar_gui.cpp
Show inline comments
 
@@ -63,6 +63,12 @@ static bool DrawScrollingStatusText(cons
 
	return x > 0;
 
}
 

	
 
enum StatusbarWidget {
 
	SBW_LEFT,   ///< left part of the statusbar; date is shown there
 
	SBW_MIDDLE, ///< middle part; current news or company name or *** SAVING *** or *** PAUSED ***
 
	SBW_RIGHT,  ///< right part; bank balance
 
};
 

	
 
struct StatusBarWindow : Window {
 
	bool saving;
 
	int ticker_scroll;
 
@@ -76,12 +82,6 @@ struct StatusBarWindow : Window {
 
		COUNTER_STEP   =     2, ///< this is subtracted from active counters every tick
 
	};
 

	
 
	enum StatusbarWidget {
 
		SBW_LEFT,   ///< left part of the statusbar; date is shown there
 
		SBW_MIDDLE, ///< middle part; current news or company name or *** SAVING *** or *** PAUSED ***
 
		SBW_RIGHT,  ///< right part; bank balance
 
	};
 

	
 
	StatusBarWindow(const WindowDesc *desc) : Window(desc)
 
	{
 
		CLRBITS(this->flags4, WF_WHITE_BORDER_MASK);
0 comments (0 inline, 0 general)