From 97587996ee9db30ce00190bdcedd8210490b99f5 Mon Sep 17 00:00:00 2001 From: pepper Date: Sat, 31 Jan 2015 21:41:28 -0800 Subject: backup vst 2.4 --- .../Documentation/html/class_c_on_off_button.html | 363 +++++++++++++++++++++ 1 file changed, 363 insertions(+) create mode 100644 vstgui.sf/vstgui/Documentation/html/class_c_on_off_button.html (limited to 'vstgui.sf/vstgui/Documentation/html/class_c_on_off_button.html') diff --git a/vstgui.sf/vstgui/Documentation/html/class_c_on_off_button.html b/vstgui.sf/vstgui/Documentation/html/class_c_on_off_button.html new file mode 100644 index 0000000..12fd296 --- /dev/null +++ b/vstgui.sf/vstgui/Documentation/html/class_c_on_off_button.html @@ -0,0 +1,363 @@ + + +VSTGUI: COnOffButton Class Reference + + + + +
+
+
+
+

COnOffButton Class Reference

a button control with 2 states +More... +

+#include <vstcontrols.h> +

+

Inheritance diagram for COnOffButton: +

+ +CControl +CView +CReferenceCounter +CTabButton + +List of all members. + + + + + + + + + + + + + + + + + + + + + + +

Public Types

enum  { kPreListenerUpdate, +kPostListenerUpdate + }

Public Member Functions

 COnOffButton (const CRect &size, CControlListener *listener, long tag, CBitmap *background, long style=kPreListenerUpdate)
virtual ~COnOffButton ()
virtual void draw (CDrawContext *)
 called if the view should draw itself
virtual void mouse (CDrawContext *pContext, CPoint &where, long button=-1)
 called if a mouse click event occurs
virtual long getStyle () const
virtual void setStyle (long newStyle)

Protected Attributes

long style
+

Detailed Description

+a button control with 2 states +

+Define a button with 2 positions. The pixmap includes the 2 subpixmaps (i.e the rectangle used for the display of this button is half-height of the pixmap). When its value changes, the listener is called. +

+


Member Enumeration Documentation

+

+ + + + +
+ + + + +
anonymous enum
+
+ + + + + +
+   + + +

+

Enumerator:
+ + + +
kPreListenerUpdate  +listener will be called after doIdleStuff was called
kPostListenerUpdate  +listener will be called before doIdleStuff is called
+
+
+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
COnOffButton::COnOffButton const CRect size,
CControlListener listener,
long  tag,
CBitmap background,
long  style = kPreListenerUpdate
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + +
COnOffButton::~COnOffButton  )  [virtual]
+
+ + + + + +
+   + + +

+

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
void COnOffButton::draw CDrawContext  )  [virtual]
+
+ + + + + +
+   + + +

+called if the view should draw itself +

+ +

+Implements CControl. +

+Reimplemented in CTabButton.

+

+ + + + +
+ + + + + + + + +
virtual long COnOffButton::getStyle  )  const [inline, virtual]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void COnOffButton::mouse CDrawContext pContext,
CPoint where,
long  button = -1
[virtual]
+
+ + + + + +
+   + + +

+called if a mouse click event occurs +

+ +

+Reimplemented from CView. +

+Reimplemented in CTabButton.

+

+ + + + +
+ + + + + + + + + +
virtual void COnOffButton::setStyle long  newStyle  )  [inline, virtual]
+
+ + + + + +
+   + + +

+

+


Member Data Documentation

+

+ + + + +
+ + + + +
long COnOffButton::style [protected]
+
+ + + + + +
+   + + +

+

+


The documentation for this class was generated from the following files: + + + + Empty + + + + + + +
+
+
+Copyright ©2006 Steinberg Media Technologies. +All Rights Reserved. +
+ + + -- cgit v1.2.3-70-g09d2