OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef Window_win_DEFINED | 8 #ifndef Window_win_DEFINED |
9 #define Window_win_DEFINED | 9 #define Window_win_DEFINED |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 Window_win() : Window() {} | 24 Window_win() : Window() {} |
25 ~Window_win() override {} | 25 ~Window_win() override {} |
26 | 26 |
27 bool init(HINSTANCE instance); | 27 bool init(HINSTANCE instance); |
28 | 28 |
29 void setTitle(const char*) override; | 29 void setTitle(const char*) override; |
30 void show() override; | 30 void show() override; |
31 | 31 |
32 bool attach(BackendType attachType, const DisplayParams& params) override; | 32 bool attach(BackendType attachType, const DisplayParams& params) override; |
33 | 33 |
34 void inval() override; | 34 void onInval() override; |
35 | 35 |
36 private: | 36 private: |
37 HINSTANCE fHInstance; | 37 HINSTANCE fHInstance; |
38 HWND fHWnd; | 38 HWND fHWnd; |
39 }; | 39 }; |
40 | 40 |
41 } // namespace sk_app | 41 } // namespace sk_app |
42 | 42 |
43 #endif | 43 #endif |
OLD | NEW |