ASPiK SDK
Mandelbrot::ViewController Struct Reference
Inheritance diagram for Mandelbrot::ViewController:
VSTGUI::DelegationController VSTGUI::IViewListenerAdapter Mandelbrot::IModelChangeListener VSTGUI::IScaleFactorChangedListener VSTGUI::ReferenceCounted< T > VSTGUI::IController VSTGUI::IViewListener VSTGUI::IReference VSTGUI::IControlListener

Public Member Functions

 ViewController (IController *parent, Model::Ptr model, ValuePtr progressValue)
 
CViewcreateView (const UIAttributes &attributes, const IUIDescription *description) override
 
void viewSizeChanged (CView *view, const CRect &oldSize) override
 
void viewAttached (CView *view) override
 
void viewRemoved (CView *view) override
 
void viewWillDelete (CView *view) override
 
void onScaleFactorChanged (CFrame *frame, double newScaleFactor) override
 
void modelChanged (const Model &model) override
 
void updateMandelbrot ()
 
void saveBitmap (OutputStream &stream)
 
- Public Member Functions inherited from VSTGUI::DelegationController
 DelegationController (IController *controller)
 
void valueChanged (CControl *pControl) override
 
int32_t controlModifierClicked (CControl *pControl, CButtonState button) override
 return 1 if you want the control to not handle it, otherwise 0
 
void controlBeginEdit (CControl *pControl) override
 
void controlEndEdit (CControl *pControl) override
 
void controlTagWillChange (VSTGUI::CControl *pControl) override
 
void controlTagDidChange (VSTGUI::CControl *pControl) override
 
int32_t getTagForName (UTF8StringPtr name, int32_t registeredTag) const override
 
IControlListenergetControlListener (UTF8StringPtr name) override
 
CViewcreateView (const UIAttributes &attributes, const IUIDescription *description) override
 
CViewverifyView (CView *view, const UIAttributes &attributes, const IUIDescription *description) override
 
IControllercreateSubController (IdStringPtr name, const IUIDescription *description) override
 
- Public Member Functions inherited from VSTGUI::IViewListenerAdapter
void viewLostFocus (CView *view) override
 
void viewTookFocus (CView *view) override
 
- Public Member Functions inherited from VSTGUI::ReferenceCounted< T >
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
void forget () override
 decrease refcount and delete object if refcount == 0
 
void remember () override
 increase refcount
 
virtual int32_t getNbReference () const
 get refcount
 
virtual void beforeDelete ()
 

Public Attributes

Model::Ptr model
 
ValuePtr progressValue
 
CViewmandelbrotView {nullptr}
 
double scaleFactor {1.}
 
std::atomic< uint32_t > taskID {0}
 

Additional Inherited Members

- Protected Attributes inherited from VSTGUI::DelegationController
IControllercontroller
 

The documentation for this struct was generated from the following file: