diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-09-25 18:39:15 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-09-25 18:39:15 (EDT) |
commit | 2ed3153670ffba9d43f6033ce89dc33c241de193 (patch) | |
tree | cd2191e381f72f2938650839962c16fcad6268e2 /src/tk/style.h | |
parent | 15f3d1c8385ac7cc2ed3c04bb1e1fb919ba169d1 (diff) | |
download | mazefight-2ed3153670ffba9d43f6033ce89dc33c241de193.zip mazefight-2ed3153670ffba9d43f6033ce89dc33c241de193.tar.gz mazefight-2ed3153670ffba9d43f6033ce89dc33c241de193.tar.bz2 |
tk: Define colors within local header
Diffstat (limited to 'src/tk/style.h')
-rw-r--r-- | src/tk/style.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/tk/style.h b/src/tk/style.h new file mode 100644 index 0000000..16b4e25 --- /dev/null +++ b/src/tk/style.h @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2021 P. J. McDermott + * + * This file is part of Maze Fight + * + * Maze Fight is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Maze Fight is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Maze Fight. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef MFTK_STYLE_H_ +#define MFTK_STYLE_H_ + +#define MFTK_COLOR_FORM_R 0xDF /* Form background color */ +#define MFTK_COLOR_FORM_G 0xDF +#define MFTK_COLOR_FORM_B 0xDF +#define MFTK_COLOR_FORM_A 0xDF +#define MFTK_COLOR_FORE_R 0x00 /* Text color */ +#define MFTK_COLOR_FORE_G 0x00 +#define MFTK_COLOR_FORE_B 0x00 +#define MFTK_COLOR_FORE_A 0xFF +#define MFTK_COLOR_BUTN_R 0xAF /* Button fill color */ +#define MFTK_COLOR_BUTN_G 0xAF +#define MFTK_COLOR_BUTN_B 0xAF +#define MFTK_COLOR_BUTN_A 0xFF +#define MFTK_COLOR_CHKB_R 0xAF /* Radio button and check box button fill color */ +#define MFTK_COLOR_CHKB_G 0xAF +#define MFTK_COLOR_CHKB_B 0xAF +#define MFTK_COLOR_CHKB_A 0xFF +#define MFTK_COLOR_CHKM_R 0x00 /* Radio button and check box mark fill color */ +#define MFTK_COLOR_CHKM_G 0x00 +#define MFTK_COLOR_CHKM_B 0x00 +#define MFTK_COLOR_CHKM_A 0xFF + +#endif /* MFTK_STYLE_H_ */ |