BevelProfileEditorInformation Class Reference

BevelProfileEditorInformation Class Referenceabstract

#include <BevelProfileInterface.h>

Class Description

This class provides information on the Bevel Profile Editor to plugins which want to use the standard editor (initially implemented by TextPlus).

If you wish to use the Bevel Profile Editor, call BevelProfileInterface::GetBevelProfileEditorInformation (see below), which will return a pointer to this object, which you can use to control the editor.

All methods are implemented by the system.

Public Member Functions

virtual HWND GetHWND ()=0
 Returns the window handle of the Bevel Profile Editor. More...
 
virtual bool GetZoom (float &z)=0
 Get the zoom factor of the Bevel Profile Editor. More...
 
virtual bool GetScrolls (int &hs, int &vs)=0
 Get the horizontal and vertical scroll values of the Bevel Profile Editor. More...
 
virtual void SetZoom (float z)=0
 Sets the zoom factor of the curve window. More...
 
virtual void SetScrolls (int hs, int vs)=0
 Get the horizontal and vertical scroll values of the Bevel Profile Editor. More...
 
virtual void Notify (UINT message, WPARAM wParam, LPARAM lParam)=0
 Send a message to the Bevel Profile Editor window. More...
 
virtual void ShowWindow (HWND owningWindow, bool sw=true)=0
 Tells the Bevel Profile Editor to display or hide its window. More...
 
virtual void CloseWindow ()=0
 Tells the Bevel Profile Editor window to close. More...
 
virtual void DeleteMe ()=0
 Deletes the BevelProfileEditorInformation object. More...
 

Member Function Documentation

virtual HWND GetHWND ( )
pure virtual

Returns the window handle of the Bevel Profile Editor.

Returns
The window handle of the Bevel Profile Editor
virtual bool GetZoom ( float &  z)
pure virtual

Get the zoom factor of the Bevel Profile Editor.

Parameters
z[out] - The zoom factor of the window if the return value is true
Returns
true if the zoom factor is valid for use; false if it is not
virtual bool GetScrolls ( int hs,
int vs 
)
pure virtual

Get the horizontal and vertical scroll values of the Bevel Profile Editor.

Parameters
hs[out] - The horizontal scroll value
vs[out] - The vertical scroll value
Returns
true if the scroll values are valid for use; false if they are not
virtual void SetZoom ( float  z)
pure virtual

Sets the zoom factor of the curve window.

Parameters
z- The zoom factor
virtual void SetScrolls ( int  hs,
int  vs 
)
pure virtual

Get the horizontal and vertical scroll values of the Bevel Profile Editor.

Parameters
hs- The horizontal scroll value
vs- The vertical scroll value
virtual void Notify ( UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)
pure virtual

Send a message to the Bevel Profile Editor window.

Parameters
message- The message to send
wParam- Additional message-specific parameter
lParam- Additional message-specific parameter
virtual void ShowWindow ( HWND  owningWindow,
bool  sw = true 
)
pure virtual

Tells the Bevel Profile Editor to display or hide its window.

Parameters
owningWindow- The handle of the window that owns the editor. This is usually the plugin's parameter rollup window.
sw- If true, displays the editor window. If false, hides it.
virtual void CloseWindow ( )
pure virtual

Tells the Bevel Profile Editor window to close.

virtual void DeleteMe ( )
pure virtual

Deletes the BevelProfileEditorInformation object.