(svn r16016) -Codechange: Moving the TransparencyToolbarWidgets outside the window class.

This commit is contained in:
alberth 2009-04-10 16:24:12 +00:00
parent 5bac7a339f
commit f663b77dbb

View File

@ -15,8 +15,7 @@ TransparencyOptionBits _transparency_opt;
TransparencyOptionBits _transparency_lock;
TransparencyOptionBits _invisibility_opt;
class TransparenciesWindow : public Window
{
/** Widget numbers of the transparency window. */
enum TransparencyToolbarWidgets {
TTW_WIDGET_CLOSEBOX, ///< Closebox
TTW_WIDGET_CAPTION, ///< Titlebar caption
@ -36,6 +35,8 @@ class TransparenciesWindow : public Window
TTW_BUTTONS = 12, ///< Panel with 'invisibility' buttons
};
class TransparenciesWindow : public Window
{
public:
TransparenciesWindow(const WindowDesc *desc, int window_number) : Window(desc, window_number)
{