X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Frenderstyle.cc;h=330870c6c7ad04212a741b9eebfe73449608131c;hb=d11291df3e9ef0173139a97bf6c77471ab3a4119;hp=e81bf685c9daa33de94814b1096470fc96056dc8;hpb=6ab3dc5cb43d3b9345c64a6fbc60c0686d4b1373;p=chaz%2Fopenbox diff --git a/otk/renderstyle.cc b/otk/renderstyle.cc index e81bf685..330870c6 100644 --- a/otk/renderstyle.cc +++ b/otk/renderstyle.cc @@ -382,13 +382,12 @@ RenderStyle::RenderStyle(int screen, const std::string &stylefile) 0x0, 0x0); - _label_font = new Font(_screen, "Arial,Sans-9", true, 1, 0x3e); + _label_font = new Font(_screen, "Arial,Sans-8", true, 1, 0x3e); _label_justify = CenterJustify; _max_mask = new PixmapMask(); _max_mask->w = _max_mask->h = 7; { - //char data[] = { 0x7e, 0xff, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0x7e }; char data [] = {0x7c, 0x44, 0x47, 0x47, 0x7f, 0x1f, 0x1f }; _max_mask->mask = XCreateBitmapFromData(**display, @@ -399,7 +398,6 @@ RenderStyle::RenderStyle(int screen, const std::string &stylefile) _icon_mask = new PixmapMask(); _icon_mask->w = _icon_mask->h = 7; { - //char data[] = { 0x00, 0x00, 0xc3, 0xe7, 0x7e, 0x3c, 0x18, 0x00 }; char data[] = {0x00, 0x00, 0x00, 0x00, 0x3e, 0x3e, 0x3e }; _icon_mask->mask = XCreateBitmapFromData(**display, @@ -410,7 +408,6 @@ RenderStyle::RenderStyle(int screen, const std::string &stylefile) _alldesk_mask = new PixmapMask(); _alldesk_mask->w = _alldesk_mask->h = 7; { - //char data[] = { 0x00, 0x00, 0x18, 0x3c, 0x3c, 0x18, 0x00, 0x00 }; char data[] = {0x00, 0x36, 0x36, 0x00, 0x36, 0x36, 0x00 }; _alldesk_mask->mask = XCreateBitmapFromData(**display, @@ -421,7 +418,6 @@ RenderStyle::RenderStyle(int screen, const std::string &stylefile) _close_mask = new PixmapMask(); _close_mask->w = _close_mask->h = 7; { - //char data[] = { 0xc3, 0xe7, 0x7e, 0x3c, 0x3c, 0x7e, 0xe7, 0xc3 }; char data[] = { 0x22, 0x77, 0x3e, 0x1c, 0x3e, 0x77, 0x22 }; _close_mask->mask = XCreateBitmapFromData(**display,