#include <customgui_linkbox.h>
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) |
![]() |
|
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 () |
![]() |
|
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 () |
|
|
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. |
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. |
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. |