mirror of https://github.com/OpenTTD/OpenTTD
(svn r16016) -Codechange: Moving the TransparencyToolbarWidgets outside the window class.
parent
5bac7a339f
commit
f663b77dbb
|
@ -15,9 +15,8 @@ TransparencyOptionBits _transparency_opt;
|
|||
TransparencyOptionBits _transparency_lock;
|
||||
TransparencyOptionBits _invisibility_opt;
|
||||
|
||||
class TransparenciesWindow : public Window
|
||||
{
|
||||
enum TransparencyToolbarWidgets{
|
||||
/** Widget numbers of the transparency window. */
|
||||
enum TransparencyToolbarWidgets {
|
||||
TTW_WIDGET_CLOSEBOX, ///< Closebox
|
||||
TTW_WIDGET_CAPTION, ///< Titlebar caption
|
||||
TTW_WIDGET_STICKYBOX, ///< Stickybox
|
||||
|
@ -34,8 +33,10 @@ class TransparenciesWindow : public Window
|
|||
|
||||
/* Panel with buttons for invisibility */
|
||||
TTW_BUTTONS = 12, ///< Panel with 'invisibility' buttons
|
||||
};
|
||||
};
|
||||
|
||||
class TransparenciesWindow : public Window
|
||||
{
|
||||
public:
|
||||
TransparenciesWindow(const WindowDesc *desc, int window_number) : Window(desc, window_number)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue