mirror of https://github.com/bsnes-emu/bsnes.git
16 lines
304 B
C++
16 lines
304 B
C++
|
auto mProgressBar::allocate() -> pObject* {
|
||
|
return new pProgressBar(*this);
|
||
|
}
|
||
|
|
||
|
//
|
||
|
|
||
|
auto mProgressBar::position() const -> unsigned {
|
||
|
return state.position;
|
||
|
}
|
||
|
|
||
|
auto mProgressBar::setPosition(unsigned position) -> type& {
|
||
|
state.position = position;
|
||
|
signal(setPosition, position);
|
||
|
return *this;
|
||
|
}
|