- "menu.hilite.textColor", &theme->menu_hilite_color))
- theme->menu_hilite_color = RrColorNew(inst, 0, 0, 0);
-
- if (read_mask(inst, "max.xbm", theme, &theme->max_unset_mask)) {
- if (!read_mask(inst, "max_toggled.xbm", theme, &theme->max_set_mask)) {
- theme->max_set_mask = RrPixmapMaskCopy(theme->max_unset_mask);
+ "menu.selected.textColor", &theme->menu_selected_color))
+ theme->menu_selected_color = RrColorNew(inst, 0, 0, 0);
+ if (!read_color(db, inst,
+ "menu.bullet.imageColor",
+ &theme->menu_bullet_normal_color))
+ theme->menu_bullet_normal_color = RrColorNew(inst,
+ theme->menu_color->r,
+ theme->menu_color->g,
+ theme->menu_color->b);
+ if (!read_color(db, inst,
+ "menu.bullet.selected.imageColor",
+ &theme->menu_bullet_selected_color))
+ theme->menu_bullet_selected_color =
+ RrColorNew(inst,
+ theme->menu_selected_color->r,
+ theme->menu_selected_color->g,
+ theme->menu_selected_color->b);
+
+
+ if (read_mask(inst, "max.xbm", theme, &theme->max_mask)) {
+ if (!read_mask(inst, "max_pressed.xbm", theme,
+ &theme->max_pressed_mask)) {
+ theme->max_pressed_mask = RrPixmapMaskCopy(theme->max_mask);
+ }
+ if (!read_mask(inst, "max_toggled.xbm", theme,
+ &theme->max_toggled_mask)) {
+ theme->max_toggled_mask =
+ RrPixmapMaskCopy(theme->max_pressed_mask);