src/cheat_gui.cpp
changeset 9333 2da01b3b71d8
parent 9317 f14eb8815829
child 9358 2e1e4d2f71dd
equal deleted inserted replaced
9332:9c18d6becd68 9333:2da01b3b71d8
   123 struct CheatWindow : Window {
   123 struct CheatWindow : Window {
   124 	int clicked;
   124 	int clicked;
   125 
   125 
   126 	CheatWindow(const WindowDesc *desc) : Window(desc)
   126 	CheatWindow(const WindowDesc *desc) : Window(desc)
   127 	{
   127 	{
       
   128 		this->FindWindowPlacementAndResize(desc);
   128 	}
   129 	}
   129 
   130 
   130 	virtual void OnPaint()
   131 	virtual void OnPaint()
   131 	{
   132 	{
   132 		this->DrawWidgets();
   133 		this->DrawWidgets();