GTAdhocAPI
Gran Turismo (6) Adhoc API Documentation
Loading...
Searching...
No Matches
menu::MListBox Class Reference

Represents a listbox widget. More...

Inheritance diagram for menu::MListBox:
menu::MScrollRange menu::MScrollRange menu::MScroller menu::MScroller menu::MComposite menu::MComposite menu::MComposite menu::MComposite menu::MWidget menu::MWidget menu::MWidget menu::MWidget menu::MNode menu::MNode menu::MNode menu::MNode System::Module System::Module System::Module System::Module System::Object System::Object System::Object System::Object

Public Member Functions

 MListBox ()
 constructor taking no param More...
 
void incIndex (Int count=1)
 Increments the listbox item index. More...
 
void decIndex (Int count=1)
 Decrements the listbox item index. More...
 
void setItemTemplate (MRenderContext context, MWidget item)
 
Int getItemCount ()
 
void setItemCount (Int count)
 
MWidget getItemWidget (Int index, MRenderContext=nil)
 
void setItemWidget (Int index, MRenderContext context, MWidget widget)
 
Bool getItemVisible (Int index)
 
void setItemVisible (Int index, Bool visible)
 
Bool getItemVisibleValue (Int index)
 
void setItemVisibleValue (Int index, Bool value)
 
Bool getItemVisibleEvent (Int index)
 
void setItemVisibleEvent (Int index, Bool value)
 
Int getItemUpdate (Int index)
 
void setItemUpdate (Int index, Int value)
 
Bool getItemActive (Int index)
 
void setItemActive (Int index, Bool active)
 
Bool getItemInsensitive (Int index)
 
void setItemInsensitive (Int index, Bool insensitive)
 
void enterDragMode (MRenderContext context, MWidget widget)
 
void leaveDragMode (MRenderContext context)
 
void postRedraw ()
 
 MListBox ()
 constructor taking no param More...
 
void incIndex (Int count=1)
 Increments the listbox item index. More...
 
void decIndex (Int count=1)
 Decrements the listbox item index. More...
 
MWidget getItemWidget (Int index, MRenderContext=nil)
 
void setItemWidget (Int index, MRenderContext context, MWidget widget)
 
void setItemWidgets (MRenderContext context, Array< MWidget > widgets)
 
void appendItemWidget (MRenderContext context, MWidget widget)
 
void appendItemWidgets (MRenderContext context, Array< MWidget > widgets)
 
void removeItemWidget (MRenderContext context, MWidget widget)
 
void removeItemWidgets (MRenderContext context, Array< MWidget > widgets)
 
void clearItemWidget ()
 
Bool getItemVisible (Int index)
 
void setItemVisible (Int index, Bool visible)
 
Bool getItemActive (Int index)
 
void setItemActive (Int index, Bool active)
 
Bool getItemInsensitive (Int index)
 
void setItemInsensitive (Int index, Bool insensitive)
 
void postRedraw ()
 
- Public Member Functions inherited from menu::MScroller
 MScroller ()
 constructor taking no param More...
 
- Public Member Functions inherited from menu::MComposite
 MComposite ()
 constructor taking no param More...
 
void clearWindow ()
 
void clearWindow (MRenderContext context)
 
void clearChild ()
 
void clearChild (MRenderContext context)
 
void insertChild (MWidget unk, MWidget unk2)
 
void insertChild (MRenderContext context, MWidget unk, MWidget unk2)
 
void appendChild (MWidget widget)
 
void appendChild (MRenderContext context, MWidget widget)
 
void removeChild (MWidget widget)
 
void removeChild (MRenderContext context, MWidget widget)
 
void replaceChild (MWidget unk, MWidget unk2)
 
void replaceChild (MRenderContext context, MWidget unk, MWidget unk2)
 
Int countChild ()
 
void moveToLast (MWidget widget)
 
void arrangeColAuto (Int unk, Float unk2, Float unk3)
 
void arrangeRowAuto (Int unk, Float unk2, Float unk3)
 
MWidget getChild (Int index)
 
void clearChildren ()
 Same as clearChild() More...
 
void adjustSize ()
 
MRectangle getChildrenRegion ()
 
void reorderChild (Array< MNode > order_list)
 
Array< MNodegetChildList ()
 
void reorderActiveLast ()
 
- Public Member Functions inherited from menu::MWidget
 MWidget ()
 constructor taking no param More...
 
void clearActor (MRenderContext context=nil)
 Clears all the actors from this widget. More...
 
void insertActor (MActor unk, MActor unk2)
 
void insertActor (MRenderContext context, MActor unk, MActor unk2)
 
void appendActor (MActor actor)
 Appends an actor to actors of this widget. More...
 
void appendActor (MRenderContext context, MActor actor)
 Appends an actor to actors of this widget (with context). More...
 
void removeActor (MActor actor)
 Removes an actor from the list of actors of this widget. More...
 
void removeActor (MRenderContext context, MActor actor)
 Removes an actor from the list of actors of this widget. (with context) More...
 
void replaceActor (MActor src, MActor target)
 Replace a specific actor of this widget. More...
 
void replaceActor (MRenderContext context, MActor src, MActor target)
 Replace a specific actor of this widget. (with context) More...
 
Int countActor ()
 Gets the count of actors for this widget. More...
 
void clearEffect (MRenderContext context=nil)
 Clears all the effects from this widget. More...
 
void insertEffect (MEffect unk, MEffect unk2)
 
void insertEffect (MRenderContext context, MEffect unk, MEffect unk2)
 
void appendEffect (MEffect effect)
 Appends an effect to effects of this widget. More...
 
void appendEffect (MRenderContext context, MEffect effect)
 Appends an effect to effects of this widget (with context). More...
 
void removeEffect (MEffect effect)
 Removes an effect from the list of effects of this widget. More...
 
void removeEffect (MRenderContext context, MEffect effect)
 Removes an effect from the list of effects of this widget. (with context) More...
 
void replaceEffect (MEffect src, MEffect target)
 Replace a specific effect of this widget. More...
 
void replaceEffect (MRenderContext context, MEffect src, MEffect target)
 Replace a specific effect of this widget. (with context) More...
 
Int countEffect ()
 Gets the count of effects for this widget. More...
 
MRectangle getBoundingBox ()
 
Array< FloatgetRequestSize ()
 
Array< FloatgetAllocateSize ()
 
void resetCoord (Bool unk=false)
 
MWidget getNavigateWidget ()
 
- Public Member Functions inherited from menu::MNode
MNode doCopy ()
 Makes a copy of this node. More...
 
String getNodePath (MNode relative_to=nil, String module_separator=nil)
 Gets this node's path. More...
 
void doInitialize (MRenderContext context)
 Initializes this node. More...
 
void doFinalize (MRenderContext context)
 Finalizes (destroys) this node. More...
 
- Public Member Functions inherited from System::Module
 Module ()
 constructor taking no param More...
 
 Module (String name)
 Constructs. More...
 
Bool load (String scriptName)
 Loads all modules from the specified script. More...
 
void defineModule (Module module)
 Defines a new module within this module. More...
 
void defineModule (Object symbol, Module module)
 Defines a new module within this module. More...
 
void defineClass (Class class)
 Defines a new class within this module. More...
 
void defineClass (Object symbol, Class class)
 Defines a new class within this module. More...
 
void defineStatic (String staticName, Object staticValue)
 Defines a new static within this module. More...
 
void defineAttribute (String attributeName, Object attributeValue)
 Defines a new attribute within this module. More...
 
void import (Module module, Object symbol)
 Imports a module onto this one. More...
 
void import (Module module, Object symbol, Object alias)
 Imports a module onto this one with the specified alias. More...
 
void removeStatic (String staticName)
 Removes a specific static member from the module by name. More...
 
void clearStatic ()
 Clears all static members from the module. More...
 
void each_attribute (FunctionObject< Array > func)
 Performs a callback on each attribute in the module. More...
 
void map_attribute (FunctionObject< Array > func)
 Creates a new array populated with the results of calling a provided function on every element in the calling array. More...
 
Array find_all (FunctionObject func)
 Finds all static members that matches the precondition. More...
 
Object find_static (FunctionObject precondition)
 Finds a static member that matches the precondition. More...
 
String getModulePath ()
 Gets the module's path name. More...
 
Object getModuleAttribute (String path)
 
void setModuleAttribute (String path, Object value)
 
Object getScopeAttribute (String path)
 
void setScopeAttribute (String path, Object value)
 
- Public Member Functions inherited from System::Object
 Object ()
 constructor taking no param More...
 
Bool isInstanceOf (Class classType)
 Returns whether an object is of a specific class/type. More...
 
Object getDeepCopy ()
 Gets a deep copy of this object. More...
 
void setDeepCopy (Object obj)
 Unk. More...
 
String dump ()
 Dumps all info about an object. More...
 
Object getObjectAttribute (string path)
 
void setObjectAttribute (string path, Object value)
 
Bool hasPrimitiveInterface ()
 Returns whether this object has a primitive interface. More...
 
Bool toBool ()
 Casts this object to Bool. More...
 
Byte toByte ()
 Casts this object to Byte. More...
 
Short toShort ()
 Casts this object to Short. More...
 
Int toInt ()
 Casts this object to Int. More...
 
Long toLong ()
 Casts this object to Long. More...
 
UByte toUByte ()
 Casts this object to UByte. More...
 
UShort toUShort ()
 Casts this object to UShort. More...
 
UInt toUInt ()
 Casts this object to UInt. More...
 
ULong toULong ()
 Casts this object to ULong. More...
 
Float toFloat ()
 Casts this object to Float. More...
 
Double toDouble ()
 Casts this object to Double. More...
 
String toString ()
 Casts this object to String. More...
 
Symbol toSymbol ()
 Casts this object to Symbol. More...
 
Bool hasArrayInterface ()
 Returns whether this object has an Array interface. More...
 
Int getArrayCount ()
 Gets the Array item count for this object. More...
 
void setArrayCount ()
 Sets the Array item count for this object. More...
 
Object getArrayElement (Object arg0)
 Gets an Array item for this object. More...
 
void setArrayElement (Object arg0, Object arg1)
 Sets the Array item for this object. More...
 
Bool hasMapInterface ()
 Returns whether this object has a Map interface. More...
 
int getMapCount ()
 Returns the count of items in the map. More...
 
void setMapElement (Object arg0, Object arg1)
 Returns whether the Map has a specific object key. Bool hasMapElement(Object arg0);. More...
 
Object getMapElement (Object arg0)
 Gets a Map element by key. More...
 
void hasGeneratorInterface ()
 Returns whether this object has a generator interface. More...
 
Iterator generator ()
 Returns generator (?) More...
 
void hasIteratorInterface ()
 Returns whether this object has an iterator. More...
 
Iterator iterator ()
 Gets the iterator for this object. More...
 
void hasVariableInterface ()
 Returns whether this object is a variable. More...
 
void hasFunctionInterface ()
 Returns whether this object has a function interface. More...
 
Object call ()
 Calls this object as a function. More...
 
Bool hasByteDataInterface ()
 Returns whether this object has a byte data interface. More...
 
Int getByteDataCount ()
 Returns the ByteData size for this object. More...
 
void setByteDataCount (Int count)
 Sets the ByteData size for this object. More...
 
Int getByteDataCapacity ()
 Returns the ByteData capacity for this object. More...
 
void setByteDataCapacity (Int capacity)
 Sets the ByteData capacity for this object. More...
 
ByteData getByteData ()
 Gets the underlaying ByteData. More...
 
void setByteData (ByteData bytedata)
 Sets the underlaying ByteData. More...
 
void hasObjectSelectorInterface ()
 Returns whether this object has an object selector interface. More...
 
void self ()
 Gets the get for this object if it has a get interface. More...
 
void getArchiveTree ()
 
void setArchiveTree ()
 
ByteData serialize ()
 Serializes this object. More...
 
void deserialize (ByteData serializedData)
 Deserializes this object. More...
 
void defined (Object obj)
 Returns whether a certain object is defined within this object. More...
 
Array find_all (FunctionObject func)
 Finds all the elements in this object that matches the predicates. More...
 
void each_all (FunctionObject func)
 Applies callback to all elements in this object. More...
 
Array map_all (FunctionObject< Object > func)
 Maps all the elements in this object. More...
 
Bool operator!= ()
 Returns whether this object is not equal to another. More...
 
Bool operator== ()
 Returns whether this object is equal to another. More...
 

Public Attributes

Int focus_index
 Item index currently being focused. More...
 
Int real_focus_index
 Getter-only. More...
 
Int save_index
 
Int drag_index
 
Int step_min
 Defaults to 1. More...
 
Int step_max
 Defaults to 1. More...
 
Float interpolate_ratio
 Interpolate Ratio. Defaults to 0.2. More...
 
Float h_focus_magnify
 Horizontal magnification on focus. Defaults to 1.0. More...
 
Float v_focus_magnify
 Vertical magnification on focus. Defaults to 1.0. More...
 
Float h_item_magnify
 Horizontal item magnification. Defaults to 1.0. More...
 
Float v_item_magnify
 Vertical item magnification. Defaults to 1.0. More...
 
Bool focus_active
 Whether focusing is active. Defaults to true. More...
 
Bool repeat
 Whether to repeat at the start or end of the listbox. Defaults to false. More...
 
Bool ring
 Defaults to false. More...
 
Bool adjust_scale
 Whether to adjust scale. Defaults to false. More...
 
Bool linear_interpolate
 Linear interpolation. Defaults to false. More...
 
String magnify_type_name
 Magnification type. Defaults to "square". More...
 
Bool pseudo_magnify
 Defaults to false. More...
 
Bool stop_key_event
 Whether to stop firing key events. Defaults to false. More...
 
Bool elastic_mode
 Defaults to false. More...
 
Bool keep_scroll_point
 Defaults to false. More...
 
Float scroll_point
 Defaults to 0.5. More...
 
Float x_alignment
 Defaults to 0.0. More...
 
Float y_alignment
 Defaults to 0.0. More...
 
String navigate_sound
 Sound name to play when navigating. Defaults to "". More...
 
MethodObject update_notify
 
MethodObject visible_notify
 
MethodObject focus_notify
 
Float h_magnify
 Horizontal magnification. Defaults to 1.0. More...
 
Float v_magnify
 Vertical magnification. Defaults to 1.0. More...
 
Float magnify_ratio
 Magnification ratio. Defaults to 1.0. More...
 
Float h_justify
 Horizontal justification. Defaults to 0.0. More...
 
Float v_justify
 Vertical justification. Defaults to 0.0. More...
 
Float list_justify
 Same as h_justify. More...
 
Float item_justify
 Same as v_justify. More...
 
Float justify
 Same as v_justify. More...
 
Bool keep_alignment
 Same as keep_scroll_point. More...
 
Bool alignment
 Same as scroll_point. More...
 
MethodObject visible_callback
 Callback for when an item is visible. More...
 
MethodObject focus_callback
 Callback for when an item is focused. More...
 
Int max_item_count
 
Int first_index
 
Int last_index
 
Bool auto_focus_last
 Defaults to true. More...
 
- Public Attributes inherited from menu::MScrollRange
MAdjustment adjustment
 
Float spacing
 Scroll spacing. Defaults to 0.0. More...
 
- Public Attributes inherited from menu::MScroller
Int inner_pad_left
 
Int inner_pad_right
 
Int inner_pad_top
 
Int inner_pad_bottom
 
Int h_scacing
 Typo is intended. More...
 
Int v_scacing
 Typo is intended. More...
 
MAdjustment h_adjustment
 
MAdjustment v_adjustment
 
- Public Attributes inherited from menu::MComposite
Int inner_pad_left
 Getter-only. Default 0. More...
 
Int inner_pad_right
 Getter-only. Default 0. More...
 
Int inner_pad_top
 Getter-only. Default 0. More...
 
Int inner_pad_bottom
 Getter-only. Default 0. More...
 
Bool render_clip
 Default false. More...
 
Bool navigate_group
 Default false. More...
 
String mask_path
 
Bool mask_cache
 Default true. More...
 
Bool mask_from_disk
 Default false. More...
 
Bool mask_block
 Default false. More...
 
MNode first
 
MNode last
 
MNode first_window
 
MNode last_window
 
- Public Attributes inherited from menu::MWidget
MWidget next_widget
 Getter-only. More...
 
MWidget prev_widget
 Getter-only. More...
 
MRootWindow next_window
 Getter-only. More...
 
MRootWindow prev_window
 Getter-only. More...
 
MWidget first_actor
 Getter-only. More...
 
MWidget last_actor
 Getter-only. More...
 
MWidget first_effect
 Getter-only. More...
 
MWidget last_effect
 Getter-only. More...
 
Bool active
 
Bool focus
 
Bool prelight
 
Bool insensitive
 
Bool active0
 
Bool active1
 
Bool active2
 
Bool active3
 
Bool visible
 
Int x
 
Int y
 
Int w
 
Int h
 
Bool has_depth
 
Float depth
 Also zoom. More...
 
Float sx
 
Float sy
 
Float opacity
 Opacity from 0.0 to 1.0. 0 is transparent. More...
 
String blend_func_name
 Name of the blending function. Can be "mix", "add", "disable", "screen", "hard_light", "multiply". More...
 
Bool post_render
 Whether to post-render. Defaults to false. More...
 
Bool cursor_target
 Defaults to true. More...
 
Bool can_focus
 Whether the widget can be focused. Defaults to false. More...
 
Bool can_navigate
 Whether the widget can be navigated to. Defaults to true. More...
 
Bool is_face
 Whether this widget is a facing/displaying content. Defaults to false. More...
 
Bool is_mask
 Whether this widget is a mask. Defaults to false. More...
 
Bool wrap_text_target
 Whether to wrap text in the target. Defaults to false. More...
 
Int wrap_text_margin
 Text wraping margin. Defaults to 4. More...
 
Bool has_tooltip
 Whether this widget has a tooltip. Defaults to false. More...
 
String tooltip_key
 String key for the tooltip. More...
 
Float center_x
 Center would be 0.5. More...
 
Float center_y
 Center would be 0.5. More...
 
Float scale_x
 Normal is 1.0. More...
 
Float scale_y
 Normal is 1.0. More...
 
Float rotate
 Rotation in degrees. No rotation is 0.0, 180 = flipped. More...
 
Float skew_x
 
Float skew_y
 
Float translate_x
 
Float translate_y
 
Float offset_x
 
Float offset_y
 
Float navigate_source_x0
 
Float navigate_source_y0
 
Float navigate_source_x1
 
Float navigate_source_y1
 
Bool follow_navigate_source
 
Float navigate_target_x0
 
Float navigate_target_y0
 
Float navigate_target_x1
 
Float navigate_target_y1
 
Bool follow_navigate_target
 
Float cx
 
Float cy
 
Bool is_composite
 Getter-only. More...
 
MRectangle window_geometry
 
MRectangle screen_geometry
 
Array< Floatwindow_position
 
Array< Floatwindow_size
 
Array< Floatscreen_position
 
MActor actor
 
Array< Floatcenter
 
Array< Floatscale
 
Array< Floatskew
 
Array< Floattranslate
 
Array< Floatoffset
 
Array< Floatnavigate_source
 
Array< Floatnavigate_target
 
Array< Floatnavigate_box
 
Float cursor_align_x
 Normal is 0.5. More...
 
Float cursor_align_y
 Normal is 0.5. More...
 
Float cursor_angle
 Normal is -22.5
More...
 
Bool adaptive_cursor_align_x
 
Bool adaptive_cursor_align_y
 
Bool need_update
 
Bool packing
 
Bool packable
 Whether this object is allowed to be packed. Parent object must allow packing, such as any MBox. More...
 
Bool pack_children
 Whether to allow children to be packed within this widget. This is normally used to allow MRootWindow to pack its children, or prevent any MBox from packing. More...
 
Array< Intpack_pad
 Pad for each side. [pack_pad_left, pack_pad_right, pack_pad_top, pack_pad_bottom]. More...
 
Int pack_pad_left
 If packing enabled, Padding while packing on the left in pixels. More...
 
Int pack_pad_right
 If packing enabled, Padding while packing on the right in pixels. More...
 
Int pack_pad_top
 If packing enabled, Padding while packing at the top in pixels. More...
 
Int pack_pad_bottom
 If packing enabled, Padding while packing on the bottom in pixels. More...
 
Bool pack_allocate_x
 
Bool pack_allocate_y
 
Bool pack_allocate_w
 
Bool pack_allocate_h
 
Int pack_side
 
Bool pack_expand_x
 
Bool pack_expand_y
 
Bool pack_fill_x
 Whether to fill X while packing. Defaults to false. More...
 
Bool pack_fill_y
 Whether to fill Y while packing. Defaults to false. More...
 
Bool pack_shrink_x
 
Bool pack_shrink_y
 
Float pack_alignment_x
 Normal is 0.5. More...
 
Float pack_alignment_y
 Normal is 0.5. More...
 
Float minimum_width
 
Float minimum_height
 
Bool time_out
 
MethodObject interpolateX
 Getter-only. More...
 
MethodObject interpolateY
 Getter-only. More...
 
MethodObject toNormalCoord
 Getter-only. More...
 
MethodObject toWindowCoord
 Getter-only. More...
 
MethodObject toScreenCoord
 Getter-only. More...
 
Bool tooltip
 
- Public Attributes inherited from menu::MNode
MNode parent
 Gets or sets the parent node for this node. More...
 
MNode next
 Getter-only. Gets the next node for this node. More...
 
MNode prev
 Getter-only. Gets the previous node for this node. More...
 
MNode next_node
 Getter-only. Gets the next node for this node. Same as next. More...
 
MNode prev_node
 Getter-only. Gets the previous node for this node. Same as prev. More...
 
String class_name
 Getter-only. Gets the class name of this node. i.e "MRootWindow". More...
 
String prototype_name
 Getter-only. Gets the prototype name of this node. i.e "RootWindow". More...
 
String node_name
 Getter-only. Gets the name of this node. i.e "TopRoot". More...
 
String node_path
 Getter-only. Gets the path of this node. i.e "RunViewerProject::TopRoot". More...
 
Bool has_alias_name
 Getter-only. More...
 
String alias_name
 Alias name. Returns "nil" if not set (use has_alias_name) More...
 
Bool has_script
 Whether this node is linked to a script. More...
 
Bool is_enable
 Whether this node is enabled. More...
 
Bool package_ref
 
MRootWindow root_window
 Getter-only. Returns the root window linked to this node. More...
 
MProject project
 Getter-only. Returns the project linked to this node. More...
 
Object reset_script_check
 
Bool has_alias
 Getter-only. More...
 
Bool is_component
 
- Public Attributes inherited from System::Module
String name
 Returns the module name. More...
 
- Public Attributes inherited from System::Object
Int rc_size
 Getter-only. Reference counter size of this object. More...
 
Object rc_class
 Getter-only. Type name of the object. More...
 
Int rc_count
 Getter-only. Reference count of this object. More...
 
Int weak_count
 Getter-only. Weak reference count of this object. More...
 
Class class_id
 Class (type) object for this object. More...
 

Additional Inherited Members

- Static Public Attributes inherited from menu::MNode
static String GT4_compatible_name
 Setter-only. Unknown, sets an engine singleton. May not be used. More...
 

Detailed Description

Represents a listbox widget.

Represents a queuebox widget.

Definition at line 6 of file MListBox.cpp.

Constructor & Destructor Documentation

◆ MListBox() [1/2]

menu::MListBox::MListBox ( )
inline

constructor taking no param

Definition at line 10 of file MListBox.cpp.

◆ MListBox() [2/2]

menu::MListBox::MListBox ( )
inline

constructor taking no param

Definition at line 10 of file MQueueBox.cpp.

Member Function Documentation

◆ appendItemWidget()

void menu::MListBox::appendItemWidget ( MRenderContext  context,
MWidget  widget 
)

◆ appendItemWidgets()

void menu::MListBox::appendItemWidgets ( MRenderContext  context,
Array< MWidget widgets 
)

◆ clearItemWidget()

void menu::MListBox::clearItemWidget ( )

◆ decIndex() [1/2]

void menu::MListBox::decIndex ( Int  count = 1)

Decrements the listbox item index.

◆ decIndex() [2/2]

void menu::MListBox::decIndex ( Int  count = 1)

Decrements the listbox item index.

◆ enterDragMode()

void menu::MListBox::enterDragMode ( MRenderContext  context,
MWidget  widget 
)

◆ getItemActive() [1/2]

Bool menu::MListBox::getItemActive ( Int  index)

◆ getItemActive() [2/2]

Bool menu::MListBox::getItemActive ( Int  index)

◆ getItemCount()

Int menu::MListBox::getItemCount ( )

◆ getItemInsensitive() [1/2]

Bool menu::MListBox::getItemInsensitive ( Int  index)

◆ getItemInsensitive() [2/2]

Bool menu::MListBox::getItemInsensitive ( Int  index)

◆ getItemUpdate()

Int menu::MListBox::getItemUpdate ( Int  index)

◆ getItemVisible() [1/2]

Bool menu::MListBox::getItemVisible ( Int  index)

◆ getItemVisible() [2/2]

Bool menu::MListBox::getItemVisible ( Int  index)

◆ getItemVisibleEvent()

Bool menu::MListBox::getItemVisibleEvent ( Int  index)

◆ getItemVisibleValue()

Bool menu::MListBox::getItemVisibleValue ( Int  index)

◆ getItemWidget() [1/2]

MWidget menu::MListBox::getItemWidget ( Int  index,
MRenderContext  = nil 
)

◆ getItemWidget() [2/2]

MWidget menu::MListBox::getItemWidget ( Int  index,
MRenderContext  = nil 
)

◆ incIndex() [1/2]

void menu::MListBox::incIndex ( Int  count = 1)

Increments the listbox item index.

◆ incIndex() [2/2]

void menu::MListBox::incIndex ( Int  count = 1)

Increments the listbox item index.

◆ leaveDragMode()

void menu::MListBox::leaveDragMode ( MRenderContext  context)

◆ postRedraw() [1/2]

void menu::MListBox::postRedraw ( )

◆ postRedraw() [2/2]

void menu::MListBox::postRedraw ( )

◆ removeItemWidget()

void menu::MListBox::removeItemWidget ( MRenderContext  context,
MWidget  widget 
)

◆ removeItemWidgets()

void menu::MListBox::removeItemWidgets ( MRenderContext  context,
Array< MWidget widgets 
)

◆ setItemActive() [1/2]

void menu::MListBox::setItemActive ( Int  index,
Bool  active 
)

◆ setItemActive() [2/2]

void menu::MListBox::setItemActive ( Int  index,
Bool  active 
)

◆ setItemCount()

void menu::MListBox::setItemCount ( Int  count)

◆ setItemInsensitive() [1/2]

void menu::MListBox::setItemInsensitive ( Int  index,
Bool  insensitive 
)

◆ setItemInsensitive() [2/2]

void menu::MListBox::setItemInsensitive ( Int  index,
Bool  insensitive 
)

◆ setItemTemplate()

void menu::MListBox::setItemTemplate ( MRenderContext  context,
MWidget  item 
)

◆ setItemUpdate()

void menu::MListBox::setItemUpdate ( Int  index,
Int  value 
)

◆ setItemVisible() [1/2]

void menu::MListBox::setItemVisible ( Int  index,
Bool  visible 
)

◆ setItemVisible() [2/2]

void menu::MListBox::setItemVisible ( Int  index,
Bool  visible 
)

◆ setItemVisibleEvent()

void menu::MListBox::setItemVisibleEvent ( Int  index,
Bool  value 
)

◆ setItemVisibleValue()

void menu::MListBox::setItemVisibleValue ( Int  index,
Bool  value 
)

◆ setItemWidget() [1/2]

void menu::MListBox::setItemWidget ( Int  index,
MRenderContext  context,
MWidget  widget 
)

◆ setItemWidget() [2/2]

void menu::MListBox::setItemWidget ( Int  index,
MRenderContext  context,
MWidget  widget 
)

◆ setItemWidgets()

void menu::MListBox::setItemWidgets ( MRenderContext  context,
Array< MWidget widgets 
)

Member Data Documentation

◆ adjust_scale

Bool menu::MListBox::adjust_scale

Whether to adjust scale. Defaults to false.

Definition at line 52 of file MListBox.cpp.

◆ alignment

Bool menu::MListBox::alignment

Same as scroll_point.

Definition at line 148 of file MListBox.cpp.

◆ auto_focus_last

Bool menu::MListBox::auto_focus_last

Defaults to true.

Definition at line 40 of file MQueueBox.cpp.

◆ drag_index

Int menu::MListBox::drag_index

Definition at line 19 of file MListBox.cpp.

◆ elastic_mode

Bool menu::MListBox::elastic_mode

Defaults to false.

Definition at line 71 of file MListBox.cpp.

◆ first_index

Int menu::MListBox::first_index

Definition at line 17 of file MQueueBox.cpp.

◆ focus_active

Bool menu::MListBox::focus_active

Whether focusing is active. Defaults to true.

Definition at line 43 of file MListBox.cpp.

◆ focus_callback

MethodObject menu::MListBox::focus_callback

Callback for when an item is focused.

Definition at line 154 of file MListBox.cpp.

◆ focus_index

Int menu::MListBox::focus_index

Item index currently being focused.

Definition at line 13 of file MListBox.cpp.

◆ focus_notify

MethodObject menu::MListBox::focus_notify

Definition at line 90 of file MListBox.cpp.

◆ h_focus_magnify

Float menu::MListBox::h_focus_magnify

Horizontal magnification on focus. Defaults to 1.0.

Definition at line 31 of file MListBox.cpp.

◆ h_item_magnify

Float menu::MListBox::h_item_magnify

Horizontal item magnification. Defaults to 1.0.

Definition at line 37 of file MListBox.cpp.

◆ h_justify

Float menu::MListBox::h_justify

Horizontal justification. Defaults to 0.0.

Definition at line 130 of file MListBox.cpp.

◆ h_magnify

Float menu::MListBox::h_magnify

Horizontal magnification. Defaults to 1.0.

Definition at line 121 of file MListBox.cpp.

◆ interpolate_ratio

Float menu::MListBox::interpolate_ratio

Interpolate Ratio. Defaults to 0.2.

Definition at line 28 of file MListBox.cpp.

◆ item_justify

Float menu::MListBox::item_justify

Same as v_justify.

Definition at line 139 of file MListBox.cpp.

◆ justify

Float menu::MListBox::justify

Same as v_justify.

Definition at line 142 of file MListBox.cpp.

◆ keep_alignment

Bool menu::MListBox::keep_alignment

Same as keep_scroll_point.

Definition at line 145 of file MListBox.cpp.

◆ keep_scroll_point

Bool menu::MListBox::keep_scroll_point

Defaults to false.

Definition at line 74 of file MListBox.cpp.

◆ last_index

Int menu::MListBox::last_index

Definition at line 18 of file MQueueBox.cpp.

◆ linear_interpolate

Bool menu::MListBox::linear_interpolate

Linear interpolation. Defaults to false.

Definition at line 55 of file MListBox.cpp.

◆ list_justify

Float menu::MListBox::list_justify

Same as h_justify.

Definition at line 136 of file MListBox.cpp.

◆ magnify_ratio

Float menu::MListBox::magnify_ratio

Magnification ratio. Defaults to 1.0.

Definition at line 127 of file MListBox.cpp.

◆ magnify_type_name

String menu::MListBox::magnify_type_name

Magnification type. Defaults to "square".

Available options:

  • "square"
  • "triangle"

Definition at line 62 of file MListBox.cpp.

◆ max_item_count

Int menu::MListBox::max_item_count

Definition at line 12 of file MQueueBox.cpp.

◆ navigate_sound

String menu::MListBox::navigate_sound

Sound name to play when navigating. Defaults to "".

Definition at line 86 of file MListBox.cpp.

◆ pseudo_magnify

Bool menu::MListBox::pseudo_magnify

Defaults to false.

Definition at line 65 of file MListBox.cpp.

◆ real_focus_index

Int menu::MListBox::real_focus_index

Getter-only.

Definition at line 16 of file MListBox.cpp.

◆ repeat

Bool menu::MListBox::repeat

Whether to repeat at the start or end of the listbox. Defaults to false.

Whether to repeat at the start or end. Defaults to false.

Definition at line 46 of file MListBox.cpp.

◆ ring

Bool menu::MListBox::ring

Defaults to false.

Definition at line 49 of file MListBox.cpp.

◆ save_index

Int menu::MListBox::save_index

Definition at line 18 of file MListBox.cpp.

◆ scroll_point

Float menu::MListBox::scroll_point

Defaults to 0.5.

Definition at line 77 of file MListBox.cpp.

◆ step_max

Int menu::MListBox::step_max

Defaults to 1.

Definition at line 25 of file MListBox.cpp.

◆ step_min

Int menu::MListBox::step_min

Defaults to 1.

Definition at line 22 of file MListBox.cpp.

◆ stop_key_event

Bool menu::MListBox::stop_key_event

Whether to stop firing key events. Defaults to false.

Definition at line 68 of file MListBox.cpp.

◆ update_notify

MethodObject menu::MListBox::update_notify

Definition at line 88 of file MListBox.cpp.

◆ v_focus_magnify

Float menu::MListBox::v_focus_magnify

Vertical magnification on focus. Defaults to 1.0.

Definition at line 34 of file MListBox.cpp.

◆ v_item_magnify

Float menu::MListBox::v_item_magnify

Vertical item magnification. Defaults to 1.0.

Definition at line 40 of file MListBox.cpp.

◆ v_justify

Float menu::MListBox::v_justify

Vertical justification. Defaults to 0.0.

Definition at line 133 of file MListBox.cpp.

◆ v_magnify

Float menu::MListBox::v_magnify

Vertical magnification. Defaults to 1.0.

Definition at line 124 of file MListBox.cpp.

◆ visible_callback

MethodObject menu::MListBox::visible_callback

Callback for when an item is visible.

Definition at line 151 of file MListBox.cpp.

◆ visible_notify

MethodObject menu::MListBox::visible_notify

Definition at line 89 of file MListBox.cpp.

◆ x_alignment

Float menu::MListBox::x_alignment

Defaults to 0.0.

Definition at line 80 of file MListBox.cpp.

◆ y_alignment

Float menu::MListBox::y_alignment

Defaults to 0.0.

Definition at line 83 of file MListBox.cpp.


The documentation for this class was generated from the following files: