if (DAPopupMenuItem.SEPARATOR == child.getType()) {
newItem = new DACustomButton(shell, SWT.NONE);
newItem.setRenderer(new DAPopupMenuItemButtonRenderer());
- newItem.setColors(ColorResources.POPUP_MENU_SEPARATOR1,
- ColorResources.POPUP_MENU_SEPARATOR1, ColorResources.POPUP_MENU_SEPARATOR1,
- ColorResources.POPUP_MENU_SEPARATOR1);
+ newItem.setColors(ColorResources.WHITE,
+ ColorResources.WHITE, ColorResources.WHITE,
+ ColorResources.WHITE);
newItem.setButtonEnabled(false);
data.height = DAPopupMenuItemButtonRenderer.MARGIN;
itemHeight += DAPopupMenuItemButtonRenderer.MARGIN;
} else {
newItem = new DACustomButton(shell, child.getText());
newItem.setRenderer(new DAPopupMenuItemButtonRenderer());
- newItem.setColors(ColorResources.POPUP_MENU_ITEM_NORMAL,
- ColorResources.POPUP_MENU_ITEM_SELECTED,
- ColorResources.POPUP_MENU_ITEM_SELECTED,
- ColorResources.POPUP_MENU_ITEM_NORMAL);
+ newItem.setColors(ColorResources.WHITE,
+ ColorResources.POINT,
+ ColorResources.POINT,
+ ColorResources.WHITE);
newItem.setFontColors(ColorResources.POPUP_MENU_TEXT_NORMAL,
ColorResources.POPUP_MENU_TEXT_SELECTED,
ColorResources.POPUP_MENU_TEXT_SELECTED,