Mercurial > wgsdk
annotate src/include/config.h @ 6:8ce85aee15c0
update tags
| author | convert-repo |
|---|---|
| date | Sat, 17 Dec 2022 01:48:13 +0000 |
| parents | 59bf702b2b21 |
| children | 42ac054c0231 |
| rev | line source |
|---|---|
| 0 | 1 #ifndef __config_h |
| 2 #define __config_h | |
| 1 | 3 #ifndef WIN32_LEAN_AND_MEAN |
| 4 # define WIN32_LEAN_AND_MEAN | |
| 5 #endif | |
| 6 #include <windows.h> | |
| 4 | 7 struct config { |
| 0 | 8 int display_title; |
| 9 int show_elapsed_time; | |
| 10 }; | |
| 11 | |
| 4 | 12 int cfg_load(struct config* config); |
| 13 int cfg_save(struct config config); | |
| 1 | 14 BOOL CALLBACK cfg_win_proc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); |
| 0 | 15 #endif |
