ASPiK SDK
Loading...
Searching...
No Matches
VSTGUI::CustomTextLabel Class Reference

Custom object for dynamic lables that can change their text programmatically.
. More...

#include <customviews.h>

Inheritance diagram for VSTGUI::CustomTextLabel:
ICustomView

Public Member Functions

 CustomTextLabel (const CRect &size, CHoriTxtAlign horizTA=CHoriTxtAlign::kCenterText, UTF8StringPtr txt=0, CBitmap *background=0, const int32_t style=0)
 
virtual void updateView () override
 
void draw (CDrawContext *pContext) override
 
virtual void sendMessage (void *data) override
 
- Public Member Functions inherited from ICustomView
virtual void updateView ()=0
 
virtual void pushDataValue (double data)
 
virtual void sendMessage (void *data)
 

Protected Member Functions

virtual ~CustomTextLabel (void)
 

Protected Attributes

CHoriTxtAlign textAlignment = CHoriTxtAlign::kCenterText
 

Detailed Description

Custom object for dynamic lables that can change their text programmatically.
.

Author
Will Pirkle http://www.willpirkle.com
Version
Revision : 1.0
Date
Date : 2020 / 12/ 4

Constructor & Destructor Documentation

◆ ~CustomTextLabel()

virtual VSTGUI::CustomTextLabel::~CustomTextLabel ( void  )
inlineprotectedvirtual

virtual D-TOR: just kill the queue

Member Function Documentation

◆ sendMessage()

virtual void VSTGUI::CustomTextLabel::sendMessage ( void *  data)
inlineoverridevirtual

ICustomView method: send a message to the object (!)

Reimplemented from ICustomView.

◆ updateView()

virtual void VSTGUI::CustomTextLabel::updateView ( )
inlineoverridevirtual

ICustomView method: this repaints the control

Implements ICustomView.


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