src/transparency_gui.cpp
changeset 10525 da5bc725cda4
parent 10519 01baa7f48690
child 10595 7957c71b0dfe
equal deleted inserted replaced
10524:82b909f4bc5e 10525:da5bc725cda4
    34 		/* Panel with buttons for invisibility */
    34 		/* Panel with buttons for invisibility */
    35 		TTW_BUTTONS = 12,        ///< Panel with 'invisibility' buttons
    35 		TTW_BUTTONS = 12,        ///< Panel with 'invisibility' buttons
    36 	};
    36 	};
    37 
    37 
    38 public:
    38 public:
    39 	TransparenciesWindow(const WindowDesc *desc, void *data, int window_number) : Window(desc, data, window_number)
    39 	TransparenciesWindow(const WindowDesc *desc, int window_number) : Window(desc, window_number)
    40 	{
    40 	{
    41 		this->FindWindowPlacementAndResize(desc);
    41 		this->FindWindowPlacementAndResize(desc);
    42 	}
    42 	}
    43 
    43 
    44 	virtual void OnPaint()
    44 	virtual void OnPaint()