oops, went too fast on that one
This commit is contained in:
parent
a077c6c2ea
commit
6795d5c8b0
1 changed files with 1 additions and 1 deletions
|
@ -2149,7 +2149,7 @@ void display::create_buttons()
|
|||
|
||||
const std::vector<theme::menu>& buttons = theme_.menus();
|
||||
for(std::vector<theme::menu>::const_iterator i = buttons.begin(); i != buttons.end(); ++i) {
|
||||
gui::button b(screen_,i->title(),gui::button::TYPE_PRESS,i->image());
|
||||
gui::button b(*this,i->title(),gui::button::TYPE_PRESS,i->image());
|
||||
const SDL_Rect& loc = i->location(screen_area());
|
||||
b.set_location(loc.x,loc.y);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue