CAUCarbonViewEditor Class Reference

#include <AUCarbonViewEditor.h>

Collaboration diagram for CAUCarbonViewEditor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CAUCarbonViewEditor (CAUCarbonViewNib *view)
virtual ~CAUCarbonViewEditor ()
bool HandleEvent (EventHandlerCallRef inHandlerRef, EventRef event)
 In Edit Mode, we can move and resize controls.
bool HandleEvent (EventRef event)
void ShowHide (bool show)
bool IsValid () const
void UpdatePropertiesList ()

Protected Member Functions

virtual void WantEventTypes (EventTargetRef target, UInt32 inNumTypes, const EventTypeSpec *inList)
virtual void RemoveEventTypes (EventTargetRef target, UInt32 inNumTypes, const EventTypeSpec *inList)
virtual OSStatus SetUpTracking (TCarbonEvent &inEvent)
 Install handler for MouseUp and MouseDragged (for mouse tracking).
virtual OSStatus StillTracking (TCarbonEvent &inEvent)
 Called whenever the mouse is moving during tracking.
virtual OSStatus StopTracking (TCarbonEvent &inEvent)
 Called at the end of tracking.
virtual OSStatus WindowContextual (TCarbonEvent &inEvent, EventHandlerCallRef inHandlerRef)
virtual OSStatus CommandProcess (TCarbonEvent &inEvent, EventHandlerCallRef inHandlerRef)
virtual OSStatus DrawControl (TCarbonEvent &inEvent, EventHandlerCallRef inHandlerRef)
virtual OSStatus ClickControl (TCarbonEvent &inEvent, EventHandlerCallRef inHandlerRef)
 Called at the beginning of tracking.

Constructor & Destructor Documentation

CAUCarbonViewEditor::CAUCarbonViewEditor CAUCarbonViewNib view  ) 
 

CAUCarbonViewEditor::~CAUCarbonViewEditor  )  [virtual]
 


Member Function Documentation

OSStatus CAUCarbonViewEditor::ClickControl TCarbonEvent &  inEvent,
EventHandlerCallRef  inHandlerRef
[protected, virtual]
 

Called at the beginning of tracking.

OSStatus CAUCarbonViewEditor::CommandProcess TCarbonEvent &  inEvent,
EventHandlerCallRef  inHandlerRef
[protected, virtual]
 

OSStatus CAUCarbonViewEditor::DrawControl TCarbonEvent &  inEvent,
EventHandlerCallRef  inHandlerRef
[protected, virtual]
 

bool CAUCarbonViewEditor::HandleEvent EventRef  event  )  [inline]
 

bool CAUCarbonViewEditor::HandleEvent EventHandlerCallRef  inHandlerRef,
EventRef  event
 

In Edit Mode, we can move and resize controls.

bool CAUCarbonViewEditor::IsValid  )  const
 

void CAUCarbonViewEditor::RemoveEventTypes EventTargetRef  target,
UInt32  inNumTypes,
const EventTypeSpec *  inList
[protected, virtual]
 

OSStatus CAUCarbonViewEditor::SetUpTracking TCarbonEvent &  inEvent  )  [protected, virtual]
 

Install handler for MouseUp and MouseDragged (for mouse tracking).

void CAUCarbonViewEditor::ShowHide bool  show  ) 
 

OSStatus CAUCarbonViewEditor::StillTracking TCarbonEvent &  inEvent  )  [protected, virtual]
 

Called whenever the mouse is moving during tracking.

OSStatus CAUCarbonViewEditor::StopTracking TCarbonEvent &  inEvent  )  [protected, virtual]
 

Called at the end of tracking.

Our default implementation calls the HitTest() method to determine which part of the control the mouse was over when the button was released. This part code is set in inEvent.

void CAUCarbonViewEditor::UpdatePropertiesList  ) 
 

void CAUCarbonViewEditor::WantEventTypes EventTargetRef  target,
UInt32  inNumTypes,
const EventTypeSpec *  inList
[protected, virtual]
 

OSStatus CAUCarbonViewEditor::WindowContextual TCarbonEvent &  inEvent,
EventHandlerCallRef  inHandlerRef
[protected, virtual]
 


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




Generated on Sat Jul 8 13:07:01 2006 for AUGUI Framework by doxygen1.4.6

hosted on SourceForge.net Logo