Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CAUGuiButton.h File Reference

#include "CAUGuiConfig.h"
#include "CAUGui.h"

Go to the source code of this file.

Classes

class  CAUGuiButton
 CAUGuiButton - PushButtons, OnOffButtons, RadioButtons, Inc/DecButtons. More...


Typedefs

typedef void(* buttonUserProcedure )(UInt32 value, CAUGuiButton *from, void *userData)
 Button Callback.


Enumerations

enum  CAUGuiBottonMode {
  kPushButton = 0, kIncButton, kDecButton, kRadioButton,
  kOnOffButton
}


Typedef Documentation

typedef void(* buttonUserProcedure)( UInt32 value, CAUGuiButton* from, void* userData )
 

Button Callback.

An optional C callback function that gets called when a button is pressed

Parameters:
value the value of the CarbonControl (not the Parameter!)
from the actual Button Object
userData an optional pointer to a structure / object

Definition at line 40 of file CAUGuiButton.h.

Referenced by CAUGuiButton::setUserProcedure().


Enumeration Type Documentation

enum CAUGuiBottonMode
 

Enumeration values:
kPushButton  a button that sets MAX value as long as it is pressed, otherwise MIN
kIncButton  Increments a Parameter value
kDecButton  Decrements a Parameter value
kRadioButton  Sets a Parameter to a defined value
kOnOffButton  Switches between MAX and MIN of a Parameter

Definition at line 20 of file CAUGuiButton.h.


(c) 2002 - 2003 by Urs Heckmann www.u-he.com

Generated on Thu May 6 15:13:14 2004 for CAUGui by doxygen 1.3.6