#include <icurvctl.h>
Public Member Functions |
|
virtual BOOL | IsActive ()=0 |
virtual void | SetActive (BOOL sw)=0 |
virtual HWND | GetHWND ()=0 |
virtual void | SetNumCurves (int iNum, BOOL doUndo=FALSE)=0 |
Sets the number of curves used in this
control. |
|
virtual void | DeleteAllCurves ()=0 |
Deletes all curves associated with the curve
control. |
|
virtual int | GetNumCurves ()=0 |
virtual void | SetXRange (float min, float max, BOOL rescaleKeys=TRUE)=0 |
virtual void | SetYRange (float min, float max)=0 |
virtual Point2 | GetXRange ()=0 |
virtual Point2 | GetYRange ()=0 |
virtual void | RegisterResourceMaker (ReferenceMaker *rmak)=0 |
virtual BOOL | GetZoomValues (float *h, float *v)=0 |
virtual void | SetZoomValues (float h, float v)=0 |
virtual BOOL | GetScrollValues (int *h, int *v)=0 |
virtual void | SetScrollValues (int h, int v)=0 |
virtual void | ZoomExtents ()=0 |
virtual void | SetTitle (MCHAR *str)=0 |
virtual ICurve * | GetControlCurve (int numCurve)=0 |
virtual void | SetDisplayMode (BitArray &mode)=0 |
virtual BitArray | GetDisplayMode ()=0 |
virtual void | SetCCFlags (DWORD flags)=0 |
virtual DWORD | GetCCFlags ()=0 |
virtual void | SetCustomParentWnd (HWND hParent)=0 |
virtual void | SetMessageSink (HWND hWnd)=0 |
virtual void | SetCommandMode (int ID)=0 |
virtual int | GetCommandMode ()=0 |
virtual void | Redraw ()=0 |
virtual Interval | GetValidity (TimeValue t)=0 |
virtual void | Update (TimeValue t, Interval &valid)=0 |
virtual void | SetCurrentXValue (float val)=0 |
virtual void | EnableDraw (BOOL enable)=0 |
virtual void | DeleteCurve (int index)=0 |
virtual BOOL IsActive | ( | ) | [pure virtual] |
virtual void SetActive | ( | BOOL | sw | ) | [pure virtual] |
virtual HWND GetHWND | ( | ) | [pure virtual] |
virtual void SetNumCurves | ( | int | iNum, |
BOOL | doUndo =
FALSE |
||
) | [pure virtual] |
Sets the number of curves used in this control.
Note, that this method actually create the curves, which means, that the NewCurveCreatedCallback method will be called. However, this happens only if a ResourceMakerCallback is registered already. Thus it is important,that the ResourceMakerCallback is registered BEFORE this method is called.
iNum | - The number of curves to use. |
doUndo | - This will cause the function to register an Restore Object if set to TRUE. |
virtual void DeleteAllCurves | ( | ) | [pure virtual] |
Deletes all curves associated with the curve control.
virtual int GetNumCurves | ( | ) | [pure virtual] |
virtual void SetXRange | ( | float | min, |
float | max, | ||
BOOL | rescaleKeys =
TRUE |
||
) | [pure virtual] |
virtual void SetYRange | ( | float | min, |
float | max | ||
) | [pure virtual] |
virtual Point2 GetXRange | ( | ) | [pure virtual] |
virtual Point2 GetYRange | ( | ) | [pure virtual] |
virtual void RegisterResourceMaker | ( | ReferenceMaker * | rmak | ) | [pure virtual] |
virtual BOOL GetZoomValues | ( | float * | h, |
float * | v | ||
) | [pure virtual] |
virtual void SetZoomValues | ( | float | h, |
float | v | ||
) | [pure virtual] |
virtual BOOL GetScrollValues | ( | int * | h, |
int * | v | ||
) | [pure virtual] |
virtual void SetScrollValues | ( | int | h, |
int | v | ||
) | [pure virtual] |
virtual void ZoomExtents | ( | ) | [pure virtual] |
virtual void SetTitle | ( | MCHAR * | str | ) | [pure virtual] |
virtual ICurve* GetControlCurve | ( | int | numCurve | ) | [pure virtual] |
virtual void SetDisplayMode | ( | BitArray & | mode | ) | [pure virtual] |
virtual BitArray GetDisplayMode | ( | ) | [pure virtual] |
virtual void SetCCFlags | ( | DWORD | flags | ) | [pure virtual] |
virtual DWORD GetCCFlags | ( | ) | [pure virtual] |
virtual void SetCustomParentWnd | ( | HWND | hParent | ) | [pure virtual] |
virtual void SetMessageSink | ( | HWND | hWnd | ) | [pure virtual] |
virtual void SetCommandMode | ( | int | ID | ) | [pure virtual] |
virtual int GetCommandMode | ( | ) | [pure virtual] |
virtual void Redraw | ( | ) | [pure virtual] |
virtual Interval GetValidity | ( | TimeValue | t | ) | [pure virtual] |
virtual void Update | ( | TimeValue | t, |
Interval & | valid | ||
) | [pure virtual] |
virtual void SetCurrentXValue | ( | float | val | ) | [pure virtual] |
virtual void EnableDraw | ( | BOOL | enable | ) | [pure virtual] |
virtual void DeleteCurve | ( | int | index | ) | [pure virtual] |