progress-bar.hpp 416 B

123456789101112131415161718192021222324
  1. #if defined(Hiro_ProgressBar)
  2. @interface CocoaProgressBar : NSProgressIndicator {
  3. @public
  4. hiro::mProgressBar* progressBar;
  5. }
  6. -(id) initWith:(hiro::mProgressBar&)progressBar;
  7. @end
  8. namespace hiro {
  9. struct pProgressBar : pWidget {
  10. Declare(ProgressBar, Widget)
  11. auto minimumSize() const -> Size override;
  12. auto setPosition(uint position) -> void;
  13. CocoaProgressBar* cocoaProgressBar = nullptr;
  14. };
  15. }
  16. #endif