maxscript/UI/rollouts.h File Reference

rollouts.h File Reference
#include "../kernel/value.h"
#include "../foundation/streams.h"
#include "../../custcont.h"
#include "../../control.h"
#include "../../maxapi.h"

Classes

struct  layout_data
 
class  Rollout
 
class  RolloutFloater
 
class  RolloutControl
 
class  AnimatableRolloutControl
 
class  AnimatableRolloutControl::ControllerHolder
 
class  PB2Param
 
class  LabelControl
 
class  ButtonControl
 
class  CheckButtonControl
 
class  EditTextControl
 
class  ComboBoxControl
 
class  ListBoxControl
 
class  SpinnerControl
 
class  SliderControl
 
class  PickerControlFilter
 
class  PickerControlMode
 
class  PickerControl
 
class  ColorPickerControl
 
class  RadioControl
 
class  CheckBoxControl
 
class  BitmapControl
 
class  MapButtonControl
 
class  MtlButtonControl
 
class  GroupStartControl
 
class  GroupEndControl
 
class  RolloutChangeCallback
 
class  MXSToolTipExtender
 

Macros

#define TOP_MARGIN   2
 
#define SIDE_MARGIN   4
 
#define RADIO_DOT_WIDTH   23
 
#define CHECK_BOX_WIDTH   24
 
#define LEFT_ALIGN   13
 
#define RIGHT_ALIGN   13
 
#define GROUP_BOX_Y_MARGIN   6
 
#define GROUP_BOX_X_MARGIN   4
 
#define SPACING_BEFORE   5
 
#define is_rollout(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(Rollout))
 
#define RO_NO_CLOSEBUTTON   0x0001
 
#define RO_HIDDEN   0x0002
 
#define RO_ROLLED_UP   0x0004
 
#define RO_IN_FLOATER   0x0008
 
#define RO_INSTALLED   0x0010
 
#define RO_UTIL_MASTER   0x0020
 
#define RO_SILENT_ERRORS   0x0040
 
#define RO_HIDDEN2   0x0080
 
#define RO_PLUGIN_OWNED   0x0100
 
#define RO_CONTROLS_INSTALLED   0x0200
 
#define RO_AUTO_LAYOUT_ON_RESIZE_ENABLED   0x0400
 
#define ROF_LOCK_WIDTH   0x0001
 
#define ROF_LOCK_HEIGHT   0x0002
 
#define ROF_AUTO_LAYOUT_ON_RESIZE   0x0004
 
#define is_rolloutfloater(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(RolloutFloater))
 
#define is_rolloutcontrol(v)   ((v)->_is_rolloutcontrol())
 
#define ROC_FIXED_WIDTH   0x0001
 
#define ROC_MAKING_EDIT   0x0002
 
#define ROC_INVISIBLE   0x0004
 
#define ROC_VAL_CHANGED   0x0008
 
#define ROC_EDITTEXT_MULTILINE   0x0010
 
#define ROC_COLORSWATCH_POINT4   0x0010
 
#define ROC_PICKBUTTON_AUTODISP   0x0010
 
#define ROC_SPINNER_KEYBRACKETS   0x0010
 
#define ROC_IN_HANDLER   0x0020
 
#define ROC_HANDLER_REENTRANT   0x0040
 
#define ROC_EDITTEXT_READONLY   0x0080
 
#define ROC_DELETE_TOOLTIP   0x0100
 
#define CBF_EDIT_FIELD_CHANGING   0x0001
 
#define control_param(key)   _get_control_param(keyparms, keyparm_count, n_##key)
 
#define control_param_or_default(key, def)   _get_control_param_or_default(keyparms, keyparm_count, n_##key##, def)
 
#define int_control_param(key, var, def)   ((var = _get_control_param(keyparms, keyparm_count, n_##key)) == &unsupplied ? def : var->to_int())
 
#define float_control_param(key, var, def)   ((var = _get_control_param(keyparms, keyparm_count, n_##key)) == &unsupplied ? def : var->to_float())
 
#define bool_control_param(key, var, def)   ((var = _get_control_param(keyparms, keyparm_count, n_##key)) == &unsupplied ? def : var->to_bool())
 

Enumerations

enum  MXSScrollBarPolicy { kScrollBarAsNeeded, kScrollBarAlwaysOff, kScrollBarAlwaysOn }
 

Functions

ScripterExport Value_get_control_param (Value **keyparms, int count, Value *key_name)
 
ScripterExport Value_get_control_param_or_default (Value **keyparms, int count, Value *key_name, Value *def)
 

Variables

LPCMSTR cust_button_class
 

Macro Definition Documentation

#define TOP_MARGIN   2
#define SIDE_MARGIN   4
#define RADIO_DOT_WIDTH   23
#define CHECK_BOX_WIDTH   24
#define LEFT_ALIGN   13
#define RIGHT_ALIGN   13
#define GROUP_BOX_Y_MARGIN   6
#define GROUP_BOX_X_MARGIN   4
#define SPACING_BEFORE   5
#define is_rollout (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(Rollout))
#define RO_NO_CLOSEBUTTON   0x0001
#define RO_HIDDEN   0x0002
#define RO_ROLLED_UP   0x0004
#define RO_IN_FLOATER   0x0008
#define RO_INSTALLED   0x0010
#define RO_UTIL_MASTER   0x0020
#define RO_SILENT_ERRORS   0x0040
#define RO_HIDDEN2   0x0080
#define RO_PLUGIN_OWNED   0x0100
#define RO_CONTROLS_INSTALLED   0x0200
#define RO_AUTO_LAYOUT_ON_RESIZE_ENABLED   0x0400
#define ROF_LOCK_WIDTH   0x0001
#define ROF_LOCK_HEIGHT   0x0002
#define ROF_AUTO_LAYOUT_ON_RESIZE   0x0004
#define is_rolloutfloater (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(RolloutFloater))
#define is_rolloutcontrol (   v)    ((v)->_is_rolloutcontrol())
#define ROC_FIXED_WIDTH   0x0001
#define ROC_MAKING_EDIT   0x0002
#define ROC_INVISIBLE   0x0004
#define ROC_VAL_CHANGED   0x0008
#define ROC_EDITTEXT_MULTILINE   0x0010
#define ROC_COLORSWATCH_POINT4   0x0010
#define ROC_PICKBUTTON_AUTODISP   0x0010
#define ROC_SPINNER_KEYBRACKETS   0x0010
#define ROC_IN_HANDLER   0x0020
#define ROC_HANDLER_REENTRANT   0x0040
#define ROC_EDITTEXT_READONLY   0x0080
#define ROC_DELETE_TOOLTIP   0x0100
#define CBF_EDIT_FIELD_CHANGING   0x0001
#define control_param (   key)    _get_control_param(keyparms, keyparm_count, n_##key)
#define control_param_or_default (   key,
  def 
)    _get_control_param_or_default(keyparms, keyparm_count, n_##key##, def)
#define int_control_param (   key,
  var,
  def 
)    ((var = _get_control_param(keyparms, keyparm_count, n_##key)) == &unsupplied ? def : var->to_int())
#define float_control_param (   key,
  var,
  def 
)    ((var = _get_control_param(keyparms, keyparm_count, n_##key)) == &unsupplied ? def : var->to_float())
#define bool_control_param (   key,
  var,
  def 
)    ((var = _get_control_param(keyparms, keyparm_count, n_##key)) == &unsupplied ? def : var->to_bool())

Enumeration Type Documentation

Function Documentation

ScripterExport Value* _get_control_param ( Value **  keyparms,
int  count,
Value key_name 
)
ScripterExport Value* _get_control_param_or_default ( Value **  keyparms,
int  count,
Value key_name,
Value def 
)

Variable Documentation

LPCMSTR cust_button_class