bsnes/hiro/core/status-bar.cpp
byuu 903d1e4012 v107.8
* GB: integrated SameBoy v0.12.1 by Lior Halphon
* SFC: added HG51B169 (Cx4) math tables into bsnes binary
2019-07-17 21:11:46 +09:00

24 lines
432 B
C++
Executable file

#if defined(Hiro_StatusBar)
auto mStatusBar::allocate() -> pObject* {
return new pStatusBar(*this);
}
//
auto mStatusBar::remove() -> type& {
if(auto window = parentWindow()) window->remove(window->statusBar());
return *this;
}
auto mStatusBar::setText(const string& text) -> type& {
state.text = text;
signal(setText, text);
return *this;
}
auto mStatusBar::text() const -> string {
return state.text;
}
#endif