bitmaps/UIPainter.xbm
author Claus Gittinger <cg@exept.de>
Sun, 01 Feb 2015 14:16:33 +0100
changeset 3178 58100b56595d
parent 273 f5284b712b5f
permissions -rw-r--r--
class: MenuEditor fixed the following redraw bug in ModelListView (which is already fixed in SelectionInListView): if a colored item is shown with selection, the color attribute should be removed (or relaxed), to avoid drawing the label invisible. I.e. if the text color is blue or grey, and the selection bg is blue. we should draw white-on-blue, instead of blue/grey on blue. For this to work, the info whether drawing a selection must be passed down through the renderer to the item's draw routine.

#define Builder_width 48
#define Builder_height 48
static unsigned char Builder_bits[] = {
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0xff, 0xff, 0xff, 0xff, 0x3f,
   0x04, 0x00, 0x00, 0x00, 0x00, 0x20, 0x84, 0x0f, 0x00, 0x00, 0x00, 0x20,
   0x84, 0x0f, 0xf0, 0xf0, 0xff, 0x21, 0x84, 0x0f, 0x90, 0xf0, 0xff, 0x27,
   0x84, 0x0f, 0x90, 0xf0, 0xff, 0x2f, 0x84, 0x0f, 0x90, 0xf0, 0xff, 0x27,
   0x84, 0x0f, 0x90, 0xf0, 0xff, 0x21, 0x84, 0x0f, 0x60, 0x00, 0x15, 0x20,
   0x84, 0x0f, 0x60, 0x00, 0x1b, 0x20, 0x84, 0x0f, 0x60, 0x00, 0x15, 0x20,
   0x84, 0x0f, 0x60, 0x00, 0x1b, 0x20, 0x84, 0x0f, 0x60, 0x00, 0x15, 0x20,
   0x84, 0x0f, 0x60, 0x00, 0x1b, 0x20, 0x84, 0x0f, 0x60, 0x00, 0x15, 0x20,
   0x84, 0x0f, 0x60, 0x00, 0x1b, 0x20, 0x84, 0x0f, 0x60, 0x00, 0x15, 0x20,
   0x84, 0x0f, 0x60, 0x00, 0x1b, 0x20, 0x84, 0x0f, 0x60, 0x00, 0x15, 0x20,
   0x84, 0x0f, 0xf8, 0x01, 0x1b, 0x20, 0x84, 0x0f, 0x04, 0x02, 0x15, 0x20,
   0x84, 0x0f, 0x94, 0x02, 0x1b, 0x20, 0x84, 0x0f, 0x94, 0x02, 0x15, 0x20,
   0x84, 0x0f, 0x94, 0x02, 0x1b, 0x20, 0xc4, 0x1f, 0x94, 0x02, 0x15, 0x20,
   0xe4, 0x3f, 0x94, 0x02, 0x1b, 0x20, 0xf4, 0x7f, 0x94, 0x02, 0x15, 0x20,
   0xf4, 0x78, 0x94, 0x02, 0x1b, 0x20, 0x74, 0x70, 0x94, 0x02, 0x15, 0x20,
   0x34, 0x60, 0x94, 0x02, 0x1b, 0x20, 0x34, 0x60, 0x04, 0x02, 0x0e, 0x20,
   0x34, 0x60, 0xf8, 0x01, 0x00, 0x20, 0x04, 0x00, 0x00, 0x00, 0x00, 0x20,
   0x04, 0x00, 0x00, 0x00, 0x00, 0x20, 0xfc, 0xff, 0xff, 0xff, 0xff, 0x3f,
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c, 0x42, 0x12, 0x1c, 0x9e, 0x03,
   0x24, 0x42, 0x12, 0x24, 0x82, 0x04, 0x44, 0x42, 0x12, 0x44, 0x82, 0x08,
   0x24, 0x42, 0x12, 0x44, 0x82, 0x08, 0x1c, 0x42, 0x12, 0x44, 0x82, 0x04,
   0x24, 0x42, 0x12, 0x44, 0x8e, 0x03, 0x44, 0x42, 0x12, 0x44, 0x82, 0x02,
   0x44, 0x42, 0x12, 0x44, 0x82, 0x04, 0x24, 0x24, 0x12, 0x24, 0x82, 0x08,
   0x1c, 0x18, 0xf2, 0x1c, 0x9e, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};