You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my system, GTK seems to be configured to not show icons in menus. (I haven't figured out how o enable those), so while the submenu contains six entries that result in highlights with different colors, visually it appears to be entirely empty.
I suggest adding a text representation to the menu. The following is too simple because it ends up producing rgb(x, y, z) entries for everything but "red" on my system.
index d106dea..844ef85 100644
--- a/src/Tab.cpp+++ b/src/Tab.cpp@@ -1003,10 +1003,10 @@ void REHex::Tab::OnDataRightClick(wxCommandEvent &event)
for(int i = 0; i < Palette::NUM_HIGHLIGHT_COLOURS; ++i)
{
- wxMenuItem *itm = new wxMenuItem(hlmenu, wxID_ANY, " ");-
wxColour bg_colour = active_palette->get_highlight_bg(i);
+ wxMenuItem *itm = new wxMenuItem(hlmenu, wxID_ANY, bg_colour.GetAsString());+
/* TODO: Get appropriate size for menu bitmap.
* TODO: Draw a character in image using foreground colour.
*/
The text was updated successfully, but these errors were encountered:
On my system, GTK seems to be configured to not show icons in menus. (I haven't figured out how o enable those), so while the submenu contains six entries that result in highlights with different colors, visually it appears to be entirely empty.
I suggest adding a text representation to the menu. The following is too simple because it ends up producing
rgb(x, y, z)
entries for everything but "red" on my system.The text was updated successfully, but these errors were encountered: