mirror of
https://github.com/libretro/bsnes-libretro.git
synced 2024-11-23 17:09:44 +00:00
903d1e4012
* GB: integrated SameBoy v0.12.1 by Lior Halphon * SFC: added HG51B169 (Cx4) math tables into bsnes binary
43 lines
975 B
C++
Executable File
43 lines
975 B
C++
Executable File
#if defined(Hiro_MessageWindow)
|
|
|
|
MessageWindow::MessageWindow(const string& text) {
|
|
state.text = text;
|
|
}
|
|
|
|
auto MessageWindow::error(Buttons buttons) -> Response {
|
|
state.buttons = buttons;
|
|
return pMessageWindow::error(state);
|
|
}
|
|
|
|
auto MessageWindow::information(Buttons buttons) -> Response {
|
|
state.buttons = buttons;
|
|
return pMessageWindow::information(state);
|
|
}
|
|
|
|
auto MessageWindow::question(Buttons buttons) -> Response {
|
|
state.buttons = buttons;
|
|
return pMessageWindow::question(state);
|
|
}
|
|
|
|
auto MessageWindow::setParent(shared_pointer<mWindow> parent) -> type& {
|
|
state.parent = parent;
|
|
return *this;
|
|
}
|
|
|
|
auto MessageWindow::setText(const string& text) -> type& {
|
|
state.text = text;
|
|
return *this;
|
|
}
|
|
|
|
auto MessageWindow::setTitle(const string& title) -> type& {
|
|
state.title = title;
|
|
return *this;
|
|
}
|
|
|
|
auto MessageWindow::warning(MessageWindow::Buttons buttons) -> Response {
|
|
state.buttons = buttons;
|
|
return pMessageWindow::warning(state);
|
|
}
|
|
|
|
#endif
|