old-hiro/core/widget/progress-bar.cpp

20 lines
343 B
C++
Raw Normal View History

2016-05-15 12:45:15 +02:00
#if defined(Hiro_ProgressBar)
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;
}
#endif