#include <customgui_descproperty.h>
描述
property custom GUI (
CUSTOMGUI_DESCRIPTIONPROPERTY
).
Here are the settings: DESCRIPTIONPROPERTY_CUSTOMGUISETTINGS
The following custom parent message IDs are sent:
BFM_ACTION_DP
私有成员函数 |
|
| DescriptionPropertyCustomGui () | |
| ~DescriptionPropertyCustomGui () | |
|
|
| void SetDescID | ( | const DescID & | id | ) |
Sets the description ID to display.
| [in] | id | The description ID. |
| void SetState | ( | DESCPROP | flags | ) |
Sets the display flags.
| [in] | flags | A combination of these flags: DESCPROP |
| DESCPROP GetState | ( | ) |
Gets the display flags.
| Int32 GetPartCount | ( | ) |
Gets the number of parts. (For instance "Foo . Bar" has 2 parts.)
| void GetPartInfo | ( | Int32 | part , |
| maxon::String & | str , | ||
| DescID & | id , | ||
| Bool & | onoff | ||
| ) |
Gets information for each part.
| [in] | part | The part index: 0 <= part < GetPartCount() |
| [in] | str | The part title. |
| [in] | id | The part ID. |
| [in] | onoff | The selection state. |
| void SetSelection | ( | const DescID & | id , |
| Bool | onoff | ||
| ) |
Sets the selection state.
| [in] | id | The description ID to set the state for. |
| [in] | onoff | The new selection state. |
| void ChangeSettings | ( | const BaseContainer & | settings | ) |
Sets the description property settings.
| [in] | settings | The new settings: DESCRIPTIONPROPERTY_CUSTOMGUISETTINGS |