26using namespace VSTGUI;
27using namespace Params;
64 void draw(CDrawContext *iContext)
override;
67 CMouseEventResult
onMouseDown(CPoint &where,
const CButtonState &buttons)
override;
69 CMouseEventResult
onMouseUp(CPoint &where,
const CButtonState &buttons)
override;
73 int32_t
onKeyDown(VstKeyCode &keyCode)
override;
75 int32_t
onKeyUp(VstKeyCode &keyCode)
override;
200 explicit Creator(
char const *iViewName =
nullptr,
char const *iDisplayName =
nullptr) :
CustomDiscreteControlView(const CRect &iSize)
Definition CustomControlView.h:157
CustomViewCreator(char const *iViewName=nullptr, char const *iDisplayName=nullptr, char const *iBaseViewName=VSTGUI::UIViewCreator::kCView)
Definition CustomViewCreator.h:1318
void markDirty()
Marks this view dirty which will (at the appropriate time in the rendering lifecycle) trigger a call ...
Definition CustomView.h:178
CColor fBackColor
Definition CustomView.h:230
int32 getControlValue() const
Definition CustomControlView.h:196
virtual void setControlValue(int32 const &iControlValue)
Definition CustomControlView.h:205
void registerColorAttribute(std::string const &iName, typename ColorAttribute::Getter iGetter, typename ColorAttribute::Setter iSetter)
Definition CustomViewCreator.h:952
void registerIntAttribute(std::string const &iName, typename IntegerAttribute< int32_t >::Getter iGetter, typename IntegerAttribute< int32_t >::Setter iSetter)
Definition CustomViewCreator.h:1070
void registerBitmapAttribute(std::string const &iName, typename BitmapAttribute::Getter iGetter, typename BitmapAttribute::Setter iSetter)
Definition CustomViewCreator.h:972
void registerIntegerAttribute(std::string const &iName, typename IntegerAttribute< TInt >::Getter iGetter, typename IntegerAttribute< TInt >::Setter iSetter)
Definition CustomViewCreator.h:1060
void registerBooleanAttribute(std::string const &iName, typename BooleanAttribute::Getter iGetter, typename BooleanAttribute::Setter iSetter)
Definition CustomViewCreator.h:1100
constexpr auto ZERO_INT32
Definition Constants.h:25
Definition CustomController.h:25
CBitmap * BitmapPtr
Definition Types.h:50
SharedPointer< CBitmap > BitmapSPtr
Definition Types.h:51