mirror of https://github.com/bsnes-emu/bsnes.git
24 lines
416 B
C++
Executable File
24 lines
416 B
C++
Executable File
#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
|