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

22 lines
475 B
C++

@interface CocoaProgressBar : NSProgressIndicator {
@public
phoenix::ProgressBar* progressBar;
}
-(id) initWith:(phoenix::ProgressBar&)progressBar;
@end
namespace phoenix {
struct pProgressBar : public pWidget {
ProgressBar& progressBar;
CocoaProgressBar* cocoaProgressBar = nullptr;
void setPosition(unsigned position);
pProgressBar(ProgressBar& progressBar) : pWidget(progressBar), progressBar(progressBar) {}
void constructor();
void destructor();
};
}