mirror of https://github.com/bsnes-emu/bsnes.git
22 lines
475 B
C++
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();
|
|
};
|
|
|
|
}
|