Btk
themes.hpp
1 #if !defined(_BTK_THEME_HPP_)
2 #define _BTK_THEME_HPP_
3 #include <string_view>
4 #include "pixels.hpp"
5 #include "font.hpp"
6 #include "defs.hpp"
7 //A file of themes
8 namespace Btk{
9  struct BTKAPI Theme{
20  //Text Color
21  Color text_color;
22  //Default font
23  Font font;
24  //Border Color
25  Color border_color;
26  //Hight light Color
27  Color high_light;
28  //Hight light Text
29  Color high_light_text;
30  //The color of button background
31  Color button_color;
38  static Theme Parse(std::string_view txt);
39  static Theme ParseFile(std::string_view txt);
40  };
41  namespace Themes{
42  BTKAPI void SetDefault(const Theme &);
43  BTKAPI Theme GetDefault();
44  };
45 };
46 
47 
48 #endif // _BTK_THEME_HPP_
Color window_color
Windows background.
Definition: themes.hpp:14
This header include many useful containers.
Definition: async.hpp:7
Definition: themes.hpp:9
Font Class.
Definition: font.hpp:26
Color background_color
TextBox.
Definition: themes.hpp:19
Color structure.
Definition: pixels.hpp:19