Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
Resolvido: crash ao mudar o tamanho da tela durante o jogo
Browse files Browse the repository at this point in the history
  • Loading branch information
Alynva committed May 16, 2017
1 parent 39fa0bd commit b9bce43
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Source/include/eventmanager.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class EventManager {
void mouseLeftDown();
void mouseLeftUp();
void addLogo(Textura*);
void clearLogo();
void addStack(PilhaInteligente*);
void clearStacks();
void addButton(Button*);
Expand Down
1 change: 1 addition & 0 deletions Source/include/freecell.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ void FreeCell::menu() {
}

this->event.clearButtons();
this->event.clearLogo();
}

void FreeCell::setupItens() {
Expand Down
3 changes: 3 additions & 0 deletions Source/src/eventmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ void EventManager::mouseLeftUp() {
void EventManager::addLogo(Textura * logo) {
this->logo = logo;
}
void EventManager::clearLogo() {
this->logo = nullptr;
}

void EventManager::addStack(PilhaInteligente * stack) {
this->stacks.push(stack, abc);
Expand Down

0 comments on commit b9bce43

Please sign in to comment.