diff options
Diffstat (limited to 'src/transparency_gui.cpp')
-rw-r--r-- | src/transparency_gui.cpp | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/src/transparency_gui.cpp b/src/transparency_gui.cpp index d7fcf082e..77247fa12 100644 --- a/src/transparency_gui.cpp +++ b/src/transparency_gui.cpp @@ -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: |