The TextButtonEx object extends the VSTGUI CTextButton object with extra functionality.
It is used in the PluginGUI object for creating custom views.  
 More...
#include <customcontrols.h>
|  | 
|  | TextButtonEx (const CRect &size, IControlListener *listener, int32_t tag, UTF8StringPtr title=0, CTextButton::Style=kKickStyle) | 
|  | TextButtonEx constructor. 
 | 
|  | 
| void | draw (CDrawContext *context) override | 
|  | 
| virtual CMouseEventResult | onMouseDown (CPoint &where, const CButtonState &buttons) override | 
|  | handle mouse down event 
 | 
|  | 
| virtual CMouseEventResult | onMouseMoved (CPoint &where, const CButtonState &buttons) override | 
|  | handle mouse moved event 
 | 
|  | 
| virtual CMouseEventResult | onMouseUp (CPoint &where, const CButtonState &buttons) override | 
|  | handle mouse up event 
 | 
|  | 
| void | setMouseMode (unsigned int uMode) | 
|  | set the mouse behavior (down, up, or down/up) 
 | 
|  | 
The TextButtonEx object extends the VSTGUI CTextButton object with extra functionality.
It is used in the PluginGUI object for creating custom views. 
- Author
- Will Pirkle http://www.willpirkle.com 
- Version
- Revision : 1.0 
- Date
- Date : 2018 / 09 / 7 
◆ TextButtonEx()
      
        
          | VSTGUI::TextButtonEx::TextButtonEx | ( | const CRect & | size, | 
        
          |  |  | IControlListener * | listener, | 
        
          |  |  | int32_t | tag, | 
        
          |  |  | UTF8StringPtr | title = 0, | 
        
          |  |  | CTextButton::Style | = kKickStyle | 
        
          |  | ) |  |  | 
      
 
TextButtonEx constructor. 
- Parameters
- 
  
    | size | - the control rectangle |  | listener | - the control's listener (usuall PluginGUI object) |  | tag | - the control ID value |  | title | - the button text |  | style | - button style (see CTextButton::Style) |  
 
 
 
◆ onMouseDown()
  
  | 
        
          | CMouseEventResult VSTGUI::TextButtonEx::onMouseDown | ( | CPoint & | where, |  
          |  |  | const CButtonState & | buttons |  
          |  | ) |  |  |  | overridevirtual | 
 
handle mouse down event 
- Parameters
- 
  
    | where | - coordinates of mouse event |  | buttons | - button state during mouse event |  
 
 
 
◆ onMouseMoved()
  
  | 
        
          | CMouseEventResult VSTGUI::TextButtonEx::onMouseMoved | ( | CPoint & | where, |  
          |  |  | const CButtonState & | buttons |  
          |  | ) |  |  |  | overridevirtual | 
 
handle mouse moved event 
- Parameters
- 
  
    | where | - coordinates of mouse event |  | buttons | - button state during mouse event |  
 
 
 
◆ onMouseUp()
  
  | 
        
          | CMouseEventResult VSTGUI::TextButtonEx::onMouseUp | ( | CPoint & | where, |  
          |  |  | const CButtonState & | buttons |  
          |  | ) |  |  |  | overridevirtual | 
 
handle mouse up event 
- Parameters
- 
  
    | where | - coordinates of mouse event |  | buttons | - button state during mouse event |  
 
 
 
◆ setMouseMode()
  
  | 
        
          | void VSTGUI::TextButtonEx::setMouseMode | ( | unsigned int | uMode | ) |  |  | inline | 
 
set the mouse behavior (down, up, or down/up) 
- Parameters
- 
  
    | mode | - behavior flag (see mouseAction enumeration) |  
 
 
 
The documentation for this class was generated from the following files:
- C:/RackAFX_v7/ASPIK_Doxygen/PluginTemplate/project_source/source/CustomControls/customcontrols.h
- C:/RackAFX_v7/ASPIK_Doxygen/PluginTemplate/project_source/source/CustomControls/customcontrols.cpp