LinkBoxGui Class Reference

#include <customgui_linkbox.h>

Inheritance diagram for LinkBoxGui:

详细描述

Link box custom GUI ( CUSTOMGUI_LINKBOX ) for the BaseLink data.
Here are the settings: LINKBOX_CUSTOMGUISETTINGS
The following is sent with the MSG_DESCRIPTION_CHECKDRAGANDDROP parent message: (Normally packed into a DescriptionCheckDragAndDrop structure.)
LINKBOX_ACCEPT_MESSAGE

公共成员函数

BaseList2D GetLink (const BaseDocument *doc)
Bool   SetLink (const BaseList2D *obj)
BaseList2D GetLink (const BaseDocument *doc, Int32 instance)
-  Public Member Functions inherited from BaseCustomGui< 1009415 >
Int32   GetWidth ()
Int32   GetHeight ()
void  Redraw ()
Bool   LayoutChanged ()
Bool   激活 ()
Bool   SetDefaultForResEdit ()
Bool   SetData (const TriState < GeData > &tristate)
TriState < GeData GetData ()
void  SetLayoutMode ( Int32 mode)
Int32   GetLayoutMode ()
Bool   SupportLayoutSwitch ()
-  Public Member Functions inherited from _BaseCustomGui
Int32   GetWidth ( Int32 plugid)
Int32   GetHeight ( Int32 plugid)
void  Redraw ( Int32 plugid)
Bool   LayoutChanged ( Int32 plugid)
Bool   激活 ( Int32 plugid)
Bool   SetDefaultForResEdit ( Int32 plugid)
Bool   SetData ( Int32 plugid, const TriState < GeData > &tristate)
TriState < GeData GetData ( Int32 plugid)
void  SetLayoutMode ( Int32 plugid, Int32 mode)
Int32   GetLayoutMode ( Int32 plugid)
Bool   SupportLayoutSwitch ( Int32 plugid)

私有成员函数

  LinkBoxGui ()
  ~LinkBoxGui ()

构造函数 & 析构函数文档编制

◆  LinkBoxGui()

LinkBoxGui () private

◆  ~LinkBoxGui()

~ LinkBoxGui () private

成员函数文档编制

◆  GetLink() [1/2]

BaseList2D * GetLink ( const BaseDocument doc )

Evaluates the link in the specified document.

参数
[in] doc The document to evaluate the link in. The caller owns the pointed document.
返回
The linked object, or nullptr if the link is broken. The document owns the pointed object.

◆  SetLink()

Bool SetLink ( const BaseList2D obj )

Sets the link to point to obj .

参数
[in] obj The object to link to. The caller owns the pointed object.
返回
true if successful, otherwise false .

◆  GetLink() [2/2]

BaseList2D * GetLink ( const BaseDocument doc ,
Int32   instance  
)

Evaluates the link in doc , returning nullptr if the linked object is not an instance of instance .

参数
[in] doc The document to evaluate the link in. The caller owns the pointed document.
[in] instance The type to check.
返回
The linked object, or nullptr if the link is broken or of the wrong type. The document owns the pointed object.