(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
#include "transparency.h"
|
||||
#include "sound_func.h"
|
||||
|
||||
#include "widgets/transparency_widget.h"
|
||||
|
||||
#include "table/sprites.h"
|
||||
#include "table/strings.h"
|
||||
|
||||
@@ -22,25 +24,6 @@ TransparencyOptionBits _transparency_lock; ///< Prevent these bits from flipping
|
||||
TransparencyOptionBits _invisibility_opt; ///< The bits that should be invisible.
|
||||
byte _display_opt; ///< What do we want to draw/do?
|
||||
|
||||
/** Widget numbers of the transparency window. */
|
||||
enum TransparencyToolbarWidgets {
|
||||
/* Button row. */
|
||||
TTW_WIDGET_BEGIN, ///< First toggle button.
|
||||
TTW_WIDGET_SIGNS = TTW_WIDGET_BEGIN, ///< Signs background transparency toggle button.
|
||||
TTW_WIDGET_TREES, ///< Trees transparency toggle button.
|
||||
TTW_WIDGET_HOUSES, ///< Houses transparency toggle button.
|
||||
TTW_WIDGET_INDUSTRIES, ///< industries transparency toggle button.
|
||||
TTW_WIDGET_BUILDINGS, ///< Company buildings and structures transparency toggle button.
|
||||
TTW_WIDGET_BRIDGES, ///< Bridges transparency toggle button.
|
||||
TTW_WIDGET_STRUCTURES, ///< Object structure transparency toggle button.
|
||||
TTW_WIDGET_CATENARY, ///< Catenary transparency toggle button.
|
||||
TTW_WIDGET_LOADING, ///< Loading indicators transparency toggle button.
|
||||
TTW_WIDGET_END, ///< End of toggle buttons.
|
||||
|
||||
/* Panel with buttons for invisibility */
|
||||
TTW_WIDGET_BUTTONS, ///< Panel with 'invisibility' buttons.
|
||||
};
|
||||
|
||||
class TransparenciesWindow : public Window
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user