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

Custom object for dynamic menus that can change their contents programmatically - NOTE: the number of items can NOT change, only the text strings.
. More...

#include <customviews.h>

Inheritance diagram for VSTGUI::CustomOptionMenu:
ICustomView

Public Member Functions

 CustomOptionMenu (const CRect &size, IControlListener *listener, int32_t tag, CBitmap *background=nullptr, CBitmap *bgWhenClick=nullptr, const int32_t style=0)
 
virtual void updateView () override
 
virtual void valueChanged () 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 ~CustomOptionMenu (void)
 

Protected Attributes

int32_t lastActualEntryIndex = 0
 

Detailed Description

Custom object for dynamic menus that can change their contents programmatically - NOTE: the number of items can NOT change, only the text strings.
.

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

Constructor & Destructor Documentation

◆ ~CustomOptionMenu()

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

virtual D-TOR: just kill the queue

Member Function Documentation

◆ sendMessage()

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

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

Reimplemented from ICustomView.

◆ updateView()

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

ICustomView method: this repaints the control

Implements ICustomView.

◆ valueChanged()

virtual void VSTGUI::CustomOptionMenu::valueChanged ( )
inlineoverridevirtual

Override to check for empty string condition; selects last "good" string


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