Make custom 3-choice dialogs always have a default button
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user