Make custom 3-choice dialogs always have a default button

This commit is contained in:
2014-04-14 00:18:56 -04:00
parent fccc1a8c54
commit 44044929cc
3 changed files with 13 additions and 0 deletions

View File

@@ -1060,6 +1060,10 @@ void cDialog::setBg(short n){
bg = n;
}
void cDialog::setDefBtn(std::string defBtn) {
defaultButton = defBtn;
}
void cDialog::setDefTextClr(sf::Color clr){
defTextClr = clr;
}