bsnes/higan/phoenix/cocoa/widget/progress-bar.hpp

22 lines
475 B
C++
Raw Normal View History

@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();
};
}