}
if (dooppsel && item->isSelected()) {
+#ifdef BITMAPBUTTONS
if ( style->tick_image.mask != None) {
XSetClipOrigin(blackbox->getXDisplay(), pen.gc(),
oppsel_x, item_y + menu.item_h/2 - style->tick_image.h/2);
XSetClipOrigin(blackbox->getXDisplay(), pen.gc(),
0, 0);
} else {
+#endif // BITMAPBUTTONS
XPoint pts[6];
pts[0].x = oppsel_x + 0;
XFillPolygon(display, menu.frame, pen.gc(), pts, 6, Nonconvex,
CoordModePrevious);
+#ifdef BITMAPBUTTONS
}
+#endif // BITMAPBUTTONS
}
if (dotext && text) {
}
if (dosel && item->submenu()) {
+#ifdef BITMAPBUTTONS
if ( style->bullet_image.mask != None) {
XSetClipOrigin(blackbox->getXDisplay(), pen.gc(),
sel_x, item_y + menu.item_h/2 - style->bullet_image.h/2);
XSetClipOrigin(blackbox->getXDisplay(), pen.gc(),
0, 0);
} else {
+#endif // BITMAPBUTTONS
const int bullet_size = 3;
switch (screen->getMenuStyle()->bullet) {
CoordModePrevious);
break;
}
+#ifdef BITMAPBUTTONS
}
+#endif // BITMAPBUTTONS
}
}