Improvements to button menu and keyboard controls

This commit is contained in:
2011-07-04 02:00:43 -04:00
parent 67cbd43740
commit 7d1ceb396b
2 changed files with 29 additions and 25 deletions

View File

@ -23,13 +23,13 @@ void MenuButton::set_hover(bool is_hovering)
void MenuButton::draw(SDL_Surface* display, int colour, int background_colour)
{
SDL_Rect pen = {x, y, 100, 40};
SDL_Rect pen = {x, y, 80, 20};
SDL_FillRect(display, &pen, background_colour);
int temp_colour = 0x000000;
DrawUtils::draw_text(display, text, x + 50, y + 20, font, colour, 1, 1);
DrawUtils::draw_text(display, text, x + 40, y + 10, font, colour, 1, 1);
}