(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h

This commit is contained in:
truebrain
2011-12-15 22:22:55 +00:00
parent fd559171b4
commit 2aa774e831
111 changed files with 3165 additions and 1624 deletions

View File

@@ -26,6 +26,8 @@
#include "statusbar_gui.h"
#include "core/geometry_func.hpp"
#include "widgets/statusbar_widget.h"
#include "table/strings.h"
#include "table/sprites.h"
@@ -71,12 +73,6 @@ static bool DrawScrollingStatusText(const NewsItem *ni, int scroll_pos, int left
return (_current_text_dir == TD_RTL) ? (pos < right - left) : (pos + width > 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;