3DCoat  3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ClassEditorContext Struct Reference

Context for creationg own class editor control. More...

#include <classengine.h>

Public Attributes

void * Ptr
 Ptr to data that corresponds BaseClass, it is equal to class pointer if class supports dicect casting (CheckDirectCasting returs true) More...
 
void * Extra
 pointer to the custom static data used, for example, for _index More...
 
const char * FieldName
 Field name without name modifiers, it is never NULL. More...
 
const char * FullFieldName
 Field name as is after registration, including all name modifiers, it is never NULL. More...
 
const char * HintID
 HintID for the item, may be NULL. More...
 
const char * ParentClassType
 Name of parent class. More...
 
const char * id
 Identifier of the field, used as part of the Name field of the Widget. See CtrlFSlider and CtrlISlider as usage example. More...
 
bool ReadOnly
 The field is read only. More...
 
int DefYSize
 default height of usual controls More...
 
DWORD CurrGlobalColor
 Color of background for the control. More...
 
DWORD CurrGlobalFontColor
 Color of the font for the control. More...
 
bool Lalign
 Control is mandatory left-aligned. More...
 
float LeftRightProportion
 Proportion (0..1) between left and right part of the control if it is two-component, like ComboBox or input line. More...
 
bool ApplyScale
 true if beed to apply additional scale for numerical controls More...
 
float ExScale
 Additional scale for numerical controls. More...
 
BaseWidget * ParentW
 Parent widget. More...
 
int GroupID
 GroupID for checkbox. More...
 
const char * icon
 icon More...
 

Detailed Description

Context for creationg own class editor control.

The structure is passed to BaseClass::OnCreateControlFromScratch

Member Data Documentation

bool ClassEditorContext::ApplyScale

true if beed to apply additional scale for numerical controls

Referenced by CreateControlWithBaseClass().

DWORD ClassEditorContext::CurrGlobalColor

Color of background for the control.

Referenced by CreateControlWithBaseClass().

DWORD ClassEditorContext::CurrGlobalFontColor

Color of the font for the control.

Referenced by CreateControlWithBaseClass().

int ClassEditorContext::DefYSize

default height of usual controls

Referenced by CreateControlWithBaseClass().

float ClassEditorContext::ExScale

Additional scale for numerical controls.

Referenced by CreateControlWithBaseClass().

void* ClassEditorContext::Extra

pointer to the custom static data used, for example, for _index

Referenced by CreateControlWithBaseClass().

const char* ClassEditorContext::FieldName

Field name without name modifiers, it is never NULL.

Referenced by CreateControlWithBaseClass().

const char* ClassEditorContext::FullFieldName

Field name as is after registration, including all name modifiers, it is never NULL.

Referenced by CreateControlWithBaseClass().

int ClassEditorContext::GroupID

GroupID for checkbox.

Referenced by CreateControlWithBaseClass().

const char* ClassEditorContext::HintID

HintID for the item, may be NULL.

Referenced by CreateControlWithBaseClass().

const char* ClassEditorContext::icon

icon

Referenced by CreateControlWithBaseClass().

const char* ClassEditorContext::id

Identifier of the field, used as part of the Name field of the Widget. See CtrlFSlider and CtrlISlider as usage example.

Referenced by CreateControlWithBaseClass().

bool ClassEditorContext::Lalign

Control is mandatory left-aligned.

Referenced by CreateControlWithBaseClass().

float ClassEditorContext::LeftRightProportion

Proportion (0..1) between left and right part of the control if it is two-component, like ComboBox or input line.

Referenced by CreateControlWithBaseClass().

const char* ClassEditorContext::ParentClassType

Name of parent class.

Referenced by CreateControlWithBaseClass().

BaseWidget* ClassEditorContext::ParentW

Parent widget.

Referenced by CreateControlWithBaseClass().

void* ClassEditorContext::Ptr

Ptr to data that corresponds BaseClass, it is equal to class pointer if class supports dicect casting (CheckDirectCasting returs true)

Referenced by CreateControlWithBaseClass().

bool ClassEditorContext::ReadOnly

The field is read only.

Referenced by CreateControlWithBaseClass().


The documentation for this struct was generated from the following file: