bsnes/hiro/cocoa/widget/progress-bar.hpp

24 lines
416 B
C++

#if defined(Hiro_ProgressBar)
@interface CocoaProgressBar : NSProgressIndicator {
@public
hiro::mProgressBar* progressBar;
}
-(id) initWith:(hiro::mProgressBar&)progressBar;
@end
namespace hiro {
struct pProgressBar : pWidget {
Declare(ProgressBar, Widget)
auto minimumSize() const -> Size override;
auto setPosition(uint position) -> void;
CocoaProgressBar* cocoaProgressBar = nullptr;
};
}
#endif