equal
deleted
inserted
replaced
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(); |