annotate src/include/config.h @ 10:42ac054c0231

*: huge refactoring dirtools now uses wchar (wayyy overdue) the timer doesn't have a stupid design anymore we don't use windows.h at all now ...
author Paper <paper@paper.us.eu.org>
date Sun, 11 Feb 2024 19:43:31 -0500
parents 59bf702b2b21
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d91dfd53b8b4 Initial commit
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
1 #ifndef __config_h
d91dfd53b8b4 Initial commit
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
2 #define __config_h
10
42ac054c0231 *: huge refactoring
Paper <paper@paper.us.eu.org>
parents: 4
diff changeset
3
42ac054c0231 *: huge refactoring
Paper <paper@paper.us.eu.org>
parents: 4
diff changeset
4 #include <windef.h>
42ac054c0231 *: huge refactoring
Paper <paper@paper.us.eu.org>
parents: 4
diff changeset
5
4
59bf702b2b21 *: stylistic changes
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
6 struct config {
0
d91dfd53b8b4 Initial commit
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
7 int display_title;
d91dfd53b8b4 Initial commit
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
8 int show_elapsed_time;
d91dfd53b8b4 Initial commit
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
9 };
d91dfd53b8b4 Initial commit
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
10
4
59bf702b2b21 *: stylistic changes
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
11 int cfg_load(struct config* config);
59bf702b2b21 *: stylistic changes
Paper <mrpapersonic@gmail.com>
parents: 1
diff changeset
12 int cfg_save(struct config config);
1
7abb5d8b20ea Initial commit: part 2
Paper <mrpapersonic@gmail.com>
parents: 0
diff changeset
13 BOOL CALLBACK cfg_win_proc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
10
42ac054c0231 *: huge refactoring
Paper <paper@paper.us.eu.org>
parents: 4
diff changeset
14 #endif