diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/cheatMenu.cpp | 3 | ||||
-rw-r--r-- | src/gui/cheatMenu.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/cheatMenu.cpp b/src/gui/cheatMenu.cpp index 600625537..3d5273108 100644 --- a/src/gui/cheatMenu.cpp +++ b/src/gui/cheatMenu.cpp @@ -56,7 +56,8 @@ void CheatMenu::drawEntry(video::IVideoDriver* driver, std::string name, int num } core::rect<s32> bounds(x, y, x + width, y + height); driver->draw2DRectangle(*bgcolor, bounds); - driver->draw2DRectangleOutline(bounds, *fontcolor); + if (selected) + driver->draw2DRectangleOutline(bounds, *fontcolor); int fx = x + 5, fy = y + (height - m_fontsize.Y) / 2; core::rect<s32> fontbounds(fx, fy, fx + m_fontsize.X * name.size(), fy + m_fontsize.Y); m_font->draw(name.c_str(), fontbounds, *fontcolor, false, false); diff --git a/src/gui/cheatMenu.h b/src/gui/cheatMenu.h index c69c2c37e..9d1263980 100644 --- a/src/gui/cheatMenu.h +++ b/src/gui/cheatMenu.h @@ -61,7 +61,8 @@ private: video::SColor m_bg_color = video::SColor(192, 255, 175, 191); video::SColor m_active_bg_color = video::SColor(192, 255, 32, 76); - video::SColor m_font_color = video::SColor(255, 89, 0, 65); + //video::SColor m_font_color = video::SColor(255, 89, 0, 65); + video::SColor m_font_color = video::SColor(255, 0, 0, 0); video::SColor m_selected_font_color = video::SColor(255, 87, 0, 242); Client *m_client; |