usbdmx.com Home of the opto isolated, bus powered, DMX512 interface with both in and out universes. Cheap and simple to build. USBDMX logo

NSObject(LODimmerCurveViewDelegate) Class Reference

Informal protocol for delegates of the LODimmerCurveView. More...

#import <LODimmerCurveViewDelegate.h>


Public Member Functions

(BOOL) - shouldDimmerCurve:selectControlPoint:
 Check to see if the user should be able to select a specific control point for editing.
(void) - didStartEditingDimmerCurve:
 Called when editing of the dimmer curve started.
(void) - didUpdateDuringDimmerCurveEdit:
 Called when the dimmer curve changes during the edit.
(void) - didFinishEditingDimmerCurve:
 Called then the editing of the dimmer curve finished editing.
(void) - drawDimmerCurve:controlPoint:inContext:
 Draw a dimmer curves control point.
(void) - drawDimmerCurve:highlightedControlPoint:inContext:
 Draw a dimmer curves control point in highlighted mode.
(void) - drawDimmerCurve:backgroundRectangle:inContext:
 Draw the dimmer curve background.
(void) - drawDimmerCurve:inContext:
 Draw the dimmer curve.


Detailed Description

Informal protocol for delegates of the LODimmerCurveView.

See also:
LODimmerCurveView

Member Function Documentation

- (void) didFinishEditingDimmerCurve: (LODimmerCurve *)  theCurve  

Called then the editing of the dimmer curve finished editing.

Parameters:
theCurve The dimemr curve being editied

- (void) didStartEditingDimmerCurve: (LODimmerCurve *)  theCurve  

Called when editing of the dimmer curve started.

Parameters:
theCurve The dimemr curve being editied

- (void) didUpdateDuringDimmerCurveEdit: (LODimmerCurve *)  theCurve  

Called when the dimmer curve changes during the edit.

Parameters:
theCurve The dimemr curve being editied

- (void) drawDimmerCurve: (LODimmerCurve *)  theCurve
backgroundRectangle: (NSRect)  aRect
inContext: (NSGraphicsContext *)  theContext 

Draw the dimmer curve background.

If implemented this function will be called instead of the default drawing function.

Parameters:
theCurve The dimemr curve being drawn
aRect The bounds of the dimemr curve view
theContext The graphics context to draw the control point in

- (void) drawDimmerCurve: (LODimmerCurve *)  theCurve
controlPoint: (NSPoint)  aPoint
inContext: (NSGraphicsContext *)  theContext 

Draw a dimmer curves control point.

If implemented this function will be called instead of the default drawing function.

Parameters:
theCurve The dimemr curve being drawn
aPoint The control points coordinates
theContext The graphics context to draw the control point in

- (void) drawDimmerCurve: (LODimmerCurve *)  theCurve
highlightedControlPoint: (NSPoint)  aPoint
inContext: (NSGraphicsContext *)  theContext 

Draw a dimmer curves control point in highlighted mode.

If implemented this function will be called instead of the default drawing function.

Parameters:
theCurve The dimemr curve being drawn
aPoint The control points coordinates
theContext The graphics context to draw the control point in

- (void) drawDimmerCurve: (LODimmerCurve *)  theCurve
inContext: (NSGraphicsContext *)  theContext 

Draw the dimmer curve.

If implemented this function will be called instead of the default drawing function.

Parameters:
theCurve The dimemr curve being drawn
theContext The graphics context to draw the control point in

- (BOOL) shouldDimmerCurve: (LODimmerCurve *)  theCurve
selectControlPoint: (LODimmerCurveCPType)  theType 

Check to see if the user should be able to select a specific control point for editing.

Parameters:
theCurve The dimemr curve about to be editied
theType The control point type
Returns:
YES if the slection should take place


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