Rhino C++ API
8.13
|
#include <IRhRdkSectionHolder.h>
Public Types | |
enum | : unsigned int { updv_DisplayData = 0x0001, updv_EnableDisable = 0x0002, updv_UpdateLayout = 0x0004 } |
Public Member Functions | |
virtual CRhinoCommandOptionName | CommandOptionName (void) const =0 |
virtual bool | EnableHeaderButton (int index, bool bEnable)=0 |
virtual ON_Color | GetBackgroundColor (void) const =0 |
virtual int | GetHeight (void) const =0 |
virtual bool | IsCollapsible (void) const =0 |
virtual bool | IsHidden (void) const =0 |
virtual bool | IsInitiallyExpanded (void) const =0 |
virtual IRhRdkHeaderButtonHandler * | NewHeaderButtonHandler (void)=0 |
virtual void | OnAttachedToHolder (IRhinoUiHolder &h)=0 |
virtual void | OnAttachingToHolder (IRhinoUiHolder &h)=0 |
virtual void | OnDetachedFromHolder (IRhinoUiHolder &h)=0 |
virtual void | OnDetachingFromHolder (IRhinoUiHolder &h)=0 |
virtual void | OnExpandSection (bool bExpanding)=0 |
virtual UUID | PlugInId (void) const =0 |
virtual CRhinoCommand::result | RunScript (CRhRdkControllerPtr con)=0 |
virtual void | SetBackgroundColor (const ON_Color &col)=0 |
virtual ON_wString | SettingsTag (void) const =0 |
virtual bool | ShowHeaderButton (int index, bool bShow)=0 |
virtual void | UpdateView (unsigned int flags)=0 |
virtual UUID | Uuid (void) const =0 |
Public Member Functions inherited from IRhinoUiWithController | |
virtual std::shared_ptr< IRhinoUiController > | Controller (void) const =0 |
virtual ON_UUID | ControllerId (void) const =0 |
virtual void | SetController (std::shared_ptr< IRhinoUiController > con)=0 |
Public Member Functions inherited from IRhinoUiWindow | |
virtual ON_wString | Caption (bool bAlwaysEnglish=false) const =0 |
virtual void | Delete (void)=0 |
virtual void | Enable (bool bEnable)=0 |
virtual void * | EVF (const wchar_t *wszFunc, void *pvData)=0 |
virtual void | GetScreenCoords (ON_4iRect &rectOut) const =0 |
virtual HWND | GetWindow (void)=0 |
virtual bool | IsCreated (void) const =0 |
virtual bool | IsEnabled (void) const =0 |
virtual bool | IsShown (void) const =0 |
virtual void | Move (const ON_4iRect &rect, bool bRepaint=false, bool bRepaintBorder=false)=0 |
virtual HWND | Parent (void) const =0 |
virtual void | Refresh (bool bImmediate=false)=0 |
virtual void | SetFocus (void)=0 |
virtual void | SetParent (HWND parent)=0 |
virtual void | Show (bool bShow)=0 |
Public Member Functions inherited from IRhinoUiControllerEventWatcher | |
virtual void * | EVF (const wchar_t *wszFunc, void *pvData)=0 |
virtual void | OnControllerActivatedEvent (IRhinoUiController &con)=0 |
virtual void | OnEvent (IRhinoUiController &con, const UUID &uuidData, IRhinoUiController::EventPriority ep, const IRhinoUiEventInfo *pInfo)=0 |
Protected Member Functions | |
virtual | ~IRhinoUiSection () |
Protected Member Functions inherited from IRhinoUiWithController | |
virtual | ~IRhinoUiWithController () |
Protected Member Functions inherited from IRhinoUiWindow | |
virtual | ~IRhinoUiWindow () |
Protected Member Functions inherited from IRhinoUiControllerEventWatcher | |
virtual | ~IRhinoUiControllerEventWatcher () |
|
inlineprotectedvirtual |
|
pure virtual |
Implement this method to return the command option name for scripting. Used by Sun and RenderSettings sections. Should return L"" if no-scripting support.
|
pure virtual |
Enable or disable a header button.
index | is the index of the button. |
bEnable | is the enable state. |
|
pure virtual |
|
pure virtual |
|
pure virtual |
If this method returns false, the holder will not allow the user to collapse the section.
|
pure virtual |
|
pure virtual |
|
pure virtual |
If you want to create buttons on the header, you should override this method to return a pointer to a new instance of an object that implements IRhRdkHeaderButtonHandler.
|
pure virtual |
Optionally implement this method to handle just after the section is attached to a holder. If you don't want to handle this, just implement the method to do nothing.
|
pure virtual |
Optionally implement this method to handle just before the section is attached to a holder. If you don't want to handle this, just implement the method to do nothing.
|
pure virtual |
Optionally implement this method to handle just after the section is detached from a holder. If you don't want to handle this, just implement the method to do nothing.
|
pure virtual |
Optionally implement this method to handle just before the section is detached from a holder. If you don't want to handle this, just implement the method to do nothing.
|
pure virtual |
Optionally implement this method to handle when the section is expanded or closed-up. This happens when the user clicks the section header. If you don't want to handle this, just implement the method to do nothing.
|
pure virtual |
Implement this method to return your plug-in id. Determines visibility for Sun and RenderSettings sections based on the current renderer.
|
pure virtual |
Implement this method to do scripting.
con | is the controller to use to get and set your data items. Used by Sun and RenderSettings sections. |
|
pure virtual |
OBSOLETE. Always uses Rhino compliant colors.
|
pure virtual |
Implement this method to return a unique string used to identify the section when loading and saving the section's state. This can usually be implemented to return a string version of the section's Uuid() unless something special is needed.
|
pure virtual |
Show or hide a header button.
index | is the index of the button. |
bShow | is the show state. |
|
pure virtual |
Updates the 'view' of the section according to the specified flags.
flags | specifies what to update. See the enum above. |
|
pure virtual |
Implement this method to return the section's unique identifier.