1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
4 # include "../config.h"
5 #endif // HAVE_CONFIG_H
7 #include "renderstyle.hh"
8 #include "rendercolor.hh"
9 #include "rendertexture.hh"
13 RenderStyle(int screen
, const std::string
&stylefile
)
17 _text_focus_color
= new RenderColor(_screen
, 0x272a2f);
18 _text_unfocus_color
= new RenderColor(_screen
, 0x676869);
20 _frame_border_color
= new RenderColor(_screen
, 0x181f24);
21 _frame_border_width
= 1;
23 _client_border_color_focus
= new RenderColor(_screen
, 0x858687);
24 _client_border_color_unfocus
= new RenderColor(_screen
, 0x555657);
25 _client_border_width
= 1;
27 _titlebar_focus
= new RenderTexture(false,
29 RenderTexture::Bevel1
,
31 RenderTexture::Vertical
,
39 _titlebar_unfocus
= new RenderTexture(false,
41 RenderTexture::Bevel1
,
43 RenderTexture::Vertical
,
52 _label_focus
= new RenderTexture(false,
54 RenderTexture::Bevel1
,
56 RenderTexture::Vertical
,
64 _label_unfocus
= new RenderTexture(false,
65 RenderTexture::Sunken
,
66 RenderTexture::Bevel1
,
68 RenderTexture::CrossDiagonal
,
78 _handle_focus
= new RenderTexture(false,
80 RenderTexture::Bevel1
,
82 RenderTexture::Vertical
,
90 _handle_unfocus
= new RenderTexture(false,
92 RenderTexture::Bevel1
,
94 RenderTexture::Vertical
,
105 virtual ~RenderStyle()