TorqueScript Reference
Public Member Functions | List of all members
GuiColorPopupCtrl Class Reference

#include <guiColorPopupCtrl_ScriptBinding.h>

Inherits GuiControl.

Public Member Functions

void closeColorPopup ()"
 
String getColorF ()
 
String getColorI ()
 
void openColorPopup ()"
 
void setBackgroundProfile (GuiControlProfile p)
 
void setPickerProfile (GuiControlProfile p)
 
void setPopupProfile (GuiControlProfile p)
 
void setSelectorProfile (GuiControlProfile p)
 
- Public Member Functions inherited from GuiControl
void addGuiControl (int controlId)
 
Integer findHitControl (int x, int y)
 
String getCenter ()
 
String getExtent (...)
 
String getGlobalCenter ()
 
String getGlobalPosition ()
 
String getMinExtent ()
 
Integer getParent ()
 
String getPosition ()
 
String getText ()
 
Boolean getTextExtend ()
 
Boolean getTextWrap ()
 
String getValue ()
 
Boolean isActive ()
 
Boolean isAwake ()
 
Boolean isVisible ()
 
void makeFirstResponder (isFirst)
 
void performClick ()
 
Boolean pointInControl (int x, int y)
 
void reorderChild (child1, child2)
 
void resize (int x, int y, int w, int h)
 
void setActive (isActive)
 
void setCanSave (bool canSave)
 
void setCenter (int x, int y)
 
void setExtent (int width, int height)
 
void setFirstResponder ()
 
void setPosition (int x, int y)
 
void setPositionGlobal (int x, int y)
 
void setProfile (GuiControlProfile p)
 
void setText (text)
 
void setTextExtend (setting)
 
void setTextID (id)
 
void setTextWrap (setting)
 
void setValue (value)
 
void setVisible (isVisible)
 

Member Function Documentation

◆ closeColorPopup()

void closeColorPopup ( )

Closes the popup. Does nothing if the popup is already closed.

Returns
No return value.

◆ getColorF()

String getColorF ( )

Gets the selected color as floating point values.

Returns
The selected color as four floating point values between 0 and 1.

◆ getColorI()

String getColorI ( )

Gets the selected color as integer values.

Returns
The selected color as four integer values between 0 and 255.

◆ openColorPopup()

void openColorPopup ( )

Opens the popup. Does nothing if the popup is already open.

Returns
No return value.

◆ setBackgroundProfile()

void setBackgroundProfile ( GuiControlProfile  p)

Sets the currently used BackgroundProfile for the GuiControl

Parameters
pThe BackgroundProfile applies to the the entire screen when the list opens.
Returns
No return value

◆ setPickerProfile()

void setPickerProfile ( GuiControlProfile  p)

Sets the currently used PickerProfile for the GuiControl

Parameters
pThe PickerProfile applies to the the entire screen when the list opens.
Returns
No return value

◆ setPopupProfile()

void setPopupProfile ( GuiControlProfile  p)

Sets the currently used PopupProfile for the GuiControl

Parameters
pThe PopupProfile applies to the the entire screen when the list opens.
Returns
No return value

◆ setSelectorProfile()

void setSelectorProfile ( GuiControlProfile  p)

Sets the currently used SelectorProfile for the GuiControl

Parameters
pThe SelectorProfile applies to the the entire screen when the list opens.
Returns
No return value