: _screen(screen),
_file(stylefile)
{
+ _root_color = new RenderColor(_screen, 0x272a2f);
+
_text_color_focus = new RenderColor(_screen, 0x272a2f);
_text_color_unfocus = new RenderColor(_screen, 0x676869);
false,
RenderTexture::Flat,
RenderTexture::Bevel1,
- true,
+ false,
RenderTexture::Vertical,
false,
0x858687,
_max_mask = new PixmapMask();
_max_mask->w = _max_mask->h = 8;
{
- char data[] = { 0x7e, 0xff, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0x7e };
+ //char data[] = { 0x7e, 0xff, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0x7e };
+ char data [] = {0x00, 0x00, 0x18, 0x3c, 0x66, 0x42, 0x00, 0x00 };
_max_mask->mask =
XCreateBitmapFromData(**display,
display->screenInfo(_screen)->rootWindow(),
_icon_mask = new PixmapMask();
_icon_mask->w = _icon_mask->h = 8;
{
- unsigned char data[] = { 0x00, 0x00, 0xc3, 0xe7, 0x7e, 0x3c, 0x18, 0x00 };
+ //char data[] = { 0x00, 0x00, 0xc3, 0xe7, 0x7e, 0x3c, 0x18, 0x00 };
+ char data[] = { 0x00, 0x00, 0x42, 0x66, 0x3c, 0x18, 0x00, 0x00 };
_icon_mask->mask =
XCreateBitmapFromData(**display,
display->screenInfo(_screen)->rootWindow(),
- (char*)data, 8, 8);
+ data, 8, 8);
}
- _stick_mask = new PixmapMask();
- _stick_mask->w = _stick_mask->h = 8;
+ _alldesk_mask = new PixmapMask();
+ _alldesk_mask->w = _alldesk_mask->h = 8;
{
- char data[] = { 0x00, 0x00, 0x18, 0x3c, 0x3c, 0x18, 0x00, 0x00 };
- _stick_mask->mask =
+ //char data[] = { 0x00, 0x00, 0x18, 0x3c, 0x3c, 0x18, 0x00, 0x00 };
+ char data[] = { 0x00, 0x66, 0x66, 0x00, 0x00, 0x66, 0x66, 0x00 };
+ _alldesk_mask->mask =
XCreateBitmapFromData(**display,
display->screenInfo(_screen)->rootWindow(),
data, 8, 8);
_close_mask = new PixmapMask();
_close_mask->w = _close_mask->h = 8;
{
- char data[] = { 0xc3, 0xe7, 0x7e, 0x3c, 0x3c, 0x7e, 0xe7, 0xc3 };
+ //char data[] = { 0xc3, 0xe7, 0x7e, 0x3c, 0x3c, 0x7e, 0xe7, 0xc3 };
+ char data[] = { 0x00, 0xc3, 0x66, 0x3c, 0x3c, 0x66, 0xc3, 0x00 };
_close_mask->mask =
XCreateBitmapFromData(**display,
display->screenInfo(_screen)->rootWindow(),
RenderStyle::~RenderStyle()
{
+ delete _root_color;
+
delete _text_color_focus;
delete _text_color_unfocus;
delete _max_mask;
delete _icon_mask;
- delete _stick_mask;
+ delete _alldesk_mask;
delete _close_mask;
}