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

CAUGui.h File Reference

#include <Carbon/Carbon.h>
#include "AUCarbonViewBase.h"
#include "AUCarbonViewControl.h"
#include "CAUGuiConfig.h"
#include "CAUGuiTools.h"
#include "CAUGuiControl.h"

Go to the source code of this file.

Classes

class  CAUGuiMan
 CAUGui Manager object. More...

class  CAUGuiCtrl
 CAUGuiCtrl - The Control objects that define mousing behaviour. More...


Enumerations

enum  CAUGuiResolution {
  kCAUGui_res_0 = 0, kCAUGui_res_1 = 1, kCAUGui_res_10 = 10, kCAUGui_res_100 = 100,
  kCAUGui_res_50 = 50
}

Functions

pascal OSStatus CAUGuiControlHandler (EventHandlerCallRef, EventRef, void *)
 The main control handler callback.

void TimerProc (EventLoopTimerRef inTimer, void *inUserData)
 The timer callback.


Enumeration Type Documentation

enum CAUGuiResolution
 

Enumeration values:
kCAUGui_res_0  no values
kCAUGui_res_1  indexed / integer only
kCAUGui_res_10  one decimal, i.e. 33.4
kCAUGui_res_100  two decimals, i.e. 41.22
kCAUGui_res_50  fifty steps, i.e. for Cent tuning

Definition at line 42 of file CAUGui.h.

Referenced by CAUGuiCtrl::getResolution().


Function Documentation

pascal OSStatus CAUGuiControlHandler EventHandlerCallRef  ,
EventRef  ,
void * 
[static]
 

The main control handler callback.

This function gets called whenever one of our custom CarbonControls get a mouse or draw event.

The userdata field is the CAUGuiMan who then determines which Control object has to take action and passes the reference back to the handler who distributes the work.

void TimerProc EventLoopTimerRef  inTimer,
void *  inUserData
[static]
 

The timer callback.

this function gets called by an CarbonRunLoopTimer. It gets passed the CAUGuiMan who then calls each Control object's idle() function subsequently.

Definition at line 166 of file CAUGui.cpp.

Referenced by CAUGuiMan::initialize().


(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