summaryrefslogtreecommitdiff
path: root/otk/renderstyle.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-23 02:08:04 +0000
committerDana Jansens <danakj@orodu.net>2003-01-23 02:08:04 +0000
commitb99508df011eaf8a264bf5725ac8849f0782ec7b (patch)
tree25d9ec430c8cbf9ac2cc139cda0da32948fd4810 /otk/renderstyle.cc
parente64d90be4d5b86a497ed8f03c6ba40512765e239 (diff)
bitmap masks return!
Diffstat (limited to 'otk/renderstyle.cc')
-rw-r--r--otk/renderstyle.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/otk/renderstyle.cc b/otk/renderstyle.cc
index 7e8b6446..9123b367 100644
--- a/otk/renderstyle.cc
+++ b/otk/renderstyle.cc
@@ -57,8 +57,8 @@ RenderStyle::RenderStyle(int screen, const std::string &stylefile)
true,
RenderTexture::Vertical,
false,
- 0x858687,
- 0x373a3f,
+ 0x96ba86,
+ 0x5a724c,
0x181f24,
0x0);
_label_unfocus = new RenderTexture(_screen,
@@ -174,7 +174,7 @@ RenderStyle::RenderStyle(int screen, const std::string &stylefile)
_max_mask->w = _max_mask->h = 8;
{
char data[] = { 0x7e, 0xff, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0x7e };
- _max_mask->mask=
+ _max_mask->mask =
XCreateBitmapFromData(**display,
display->screenInfo(_screen)->rootWindow(),
data, 8, 8);
@@ -183,18 +183,18 @@ RenderStyle::RenderStyle(int screen, const std::string &stylefile)
_icon_mask = new PixmapMask();
_icon_mask->w = _icon_mask->h = 8;
{
- char data[] = { 0x00, 0x00, 0xc3, 0xe7, 0x7e, 0x3c, 0x18, 0x00 };
- _icon_mask->mask=
+ unsigned char data[] = { 0x00, 0x00, 0xc3, 0xe7, 0x7e, 0x3c, 0x18, 0x00 };
+ _icon_mask->mask =
XCreateBitmapFromData(**display,
display->screenInfo(_screen)->rootWindow(),
- data, 8, 8);
+ (char*)data, 8, 8);
}
_stick_mask = new PixmapMask();
_stick_mask->w = _stick_mask->h = 8;
{
char data[] = { 0x00, 0x00, 0x18, 0x3c, 0x3c, 0x18, 0x00, 0x00 };
- _icon_mask->mask=
+ _stick_mask->mask =
XCreateBitmapFromData(**display,
display->screenInfo(_screen)->rootWindow(),
data, 8, 8);
@@ -204,7 +204,7 @@ RenderStyle::RenderStyle(int screen, const std::string &stylefile)
_close_mask->w = _close_mask->h = 8;
{
char data[] = { 0xc3, 0xe7, 0x7e, 0x3c, 0x3c, 0x7e, 0xe7, 0xc3 };
- _icon_mask->mask=
+ _close_mask->mask =
XCreateBitmapFromData(**display,
display->screenInfo(_screen)->rootWindow(),
data, 8, 8);