src/main_gui.cpp
changeset 10438 51bff16a04c9
parent 10382 5d680d4296e1
equal deleted inserted replaced
10437:6d64230b9fb9 10438:51bff16a04c9
   193 
   193 
   194 struct MainWindow : Window
   194 struct MainWindow : Window
   195 {
   195 {
   196 	MainWindow(int width, int height) : Window(0, 0, width, height, WC_MAIN_WINDOW, NULL)
   196 	MainWindow(int width, int height) : Window(0, 0, width, height, WC_MAIN_WINDOW, NULL)
   197 	{
   197 	{
   198 		InitializeWindowViewport(this, 0, 0, width, height, TileXY(32, 32), ZOOM_LVL_VIEWPORT);
   198 		InitializeWindowViewport(this, 0, 0, width, height, TileXY(1, 1), ZOOM_LVL_VIEWPORT);
   199 	}
   199 	}
   200 
   200 
   201 	virtual void OnPaint()
   201 	virtual void OnPaint()
   202 	{
   202 	{
   203 		this->DrawViewport();
   203 		this->DrawViewport();