From 2ed3153670ffba9d43f6033ce89dc33c241de193 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 25 Sep 2021 18:39:15 -0400 Subject: tk: Define colors within local header --- (limited to 'src/tk/style.h') 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 . + */ + +#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_ */ -- cgit v0.9.1