2013-03-15 13:11:33 +00:00
|
|
|
@interface CocoaProgressBar : NSProgressIndicator {
|
|
|
|
@public
|
2013-05-02 11:25:45 +00:00
|
|
|
phoenix::ProgressBar* progressBar;
|
2013-03-15 13:11:33 +00:00
|
|
|
}
|
2013-03-21 12:59:01 +00:00
|
|
|
-(id) initWith:(phoenix::ProgressBar&)progressBar;
|
2013-03-15 13:11:33 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
namespace phoenix {
|
|
|
|
|
|
|
|
struct pProgressBar : public pWidget {
|
2013-05-02 11:25:45 +00:00
|
|
|
ProgressBar& progressBar;
|
|
|
|
CocoaProgressBar* cocoaProgressBar = nullptr;
|
2013-03-15 13:11:33 +00:00
|
|
|
|
|
|
|
void setPosition(unsigned position);
|
|
|
|
|
2013-05-02 11:25:45 +00:00
|
|
|
pProgressBar(ProgressBar& progressBar) : pWidget(progressBar), progressBar(progressBar) {}
|
2013-03-15 13:11:33 +00:00
|
|
|
void constructor();
|
|
|
|
void destructor();
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|