(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

@@ -27,6 +27,8 @@
#include "window_func.h"
#include "window_gui.h"
#include "widgets/bootstrap_widget.h"
#include "table/strings.h"
/** Widgets for the background window to prevent smearing. */
@@ -100,13 +102,6 @@ public:
}
};
/** Widgets in the query window. */
enum BootstrapAskForDownloadWidgets {
BAFDW_QUESTION, ///< The question whether to download.
BAFDW_YES, ///< An affirmative answer to the question.
BAFDW_NO, ///< An negative answer to the question.
};
/** The widgets for the query. It has no close box as that sprite does not exist yet. */
static const NWidgetPart _bootstrap_query_widgets[] = {
NWidget(NWID_HORIZONTAL),