You.i Engine
YiProgressBarView.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2020. All rights reserved.
2 #ifndef _YI_PROGRESS_BAR_VIEW_H_
3 #define _YI_PROGRESS_BAR_VIEW_H_
4 
5 #include "view/YiSceneView.h"
6 
7 class CYIProgressBarViewPriv;
8 
28 {
29  friend class CYIProgressBarViewPriv;
30 
31 public:
33  virtual ~CYIProgressBarView();
34 
35  virtual bool Init() override;
36 
40  virtual void SetProgress(float percentage);
41 
45  virtual float GetProgress() const;
46 
50  virtual const CYISceneView::AssetRequirement *GetAssetRequirements(uint32_t *pRequirementCount) override;
51 
52 private:
53  std::unique_ptr<CYIProgressBarViewPriv> m_pPriv;
54 
57 };
58 
61 #endif // _YI_PROGRESS_BAR_VIEW_H_
friend class CYIProgressBarViewPriv
Definition: YiProgressBarView.h:29
#define YI_DISALLOW_COPY_AND_ASSIGN(TypeName)
Delete the copy constructor and assignment operator (and consequently the move constructor as well) ...
Definition: YiPredef.h:122
Template for a After Effects composition representing a progress bar.
Definition: YiProgressBarView.h:27
virtual bool Init() override
The base class for all view types. Views are containers of renderable elements that often define inte...
Definition: YiSceneView.h:47
Definition: YiSceneView.h:76
virtual ~CYIProgressBarView()
virtual float GetProgress() const
virtual const CYISceneView::AssetRequirement * GetAssetRequirements(uint32_t *pRequirementCount) override
#define YI_TYPE_BASES(CLASS, BASES...)
Definition: YiRtti.h:257
virtual void SetProgress(float percentage)