]> Dogcows Code - chaz/openbox/blob - otk/renderstyle.hh
add most of our style elements
[chaz/openbox] / otk / renderstyle.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __renderstyle_hh
3 #define __renderstyle_hh
4
5 #include "rendertexture.hh"
6
7 namespace otk {
8
9 class RenderStyle {
10 public:
11 enum TextJustify {
12 LeftJustify,
13 RightJustify,
14 CenterJustify
15 };
16
17 private:
18 int _screen;
19
20 RenderColor *_text_focus_color;
21 RenderColor *_text_unfocus_color;
22
23 RenderColor *_frame_border_color;
24 int _frame_border_wirth;
25 RenderColor *_client_border_color_focus;
26 RenderColor *_client_border_color_unfocus;
27 int _client_border_width;
28
29 RenderTexture *_titlebar_focus;
30 RenderTexture *_titlebar_unfocus;
31
32 RenderTexture *_label_focus;
33 RenderTexture *_label_unfocus;
34
35 RenderTexture *_handle_focus;
36 RenderTexture *_handle_unfocus;
37
38 RenderTexture *_button_unpress_focus;
39 RenderTexture *_button_unpress_unfocus;
40 RenderTexture *_button_press_focus;
41 RenderTexture *_button_press_unfocus;
42
43 RenderTexture *_grip_focus;
44 RenderTexture *_grip_unfocus;
45
46 Font *_label_font;
47 TextJustify _label_justify;
48
49 int _handle_width;
50 int _bevel_width;
51 };
52
53 }
54
55 #endif // __rendertexture_hh
This page took 0.040483 seconds and 5 git commands to generate.