Last active
January 29, 2019 01:27
-
-
Save Azaezel/079f5ae73419f42055d71bb513dfef02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Class: GuiSwatchButtonCtrl | |
Static Fields: | |
string accelerator = "" | |
bool active = "1" | |
string altCommand = "" | |
GuiButtonType buttonType = "PushButton" | |
bool canSave = "1" | |
bool canSaveDynamicFields = "0" | |
LinearColorF color = "1 1 1 1" | |
string command = "18808.onInspectorPreFieldModification(\"color\",\"(null)\"); GetColorI(ColorFloatToInt( 20209.color ), \"18808.onInspectorPostFieldModification(); 20207.applyWithoutUndo\", 20207.getRoot(), \"20207.applyWithoutUndo\", \"18808.onInspectorDiscardFieldModification(); %unused=\");" | |
Point2I extent = "14 14" | |
string gridBitmap = "ic\c1Gl\c0" | |
int groupNum = "-1" | |
bool hidden = "0" | |
GuiHorizontalSizing horizSizing = "right" | |
int hovertime = "1000" | |
bool isContainer = "0" | |
string langTableMod = "" | |
bool locked = "0" | |
Point2I minExtent = "8 2" | |
SimObject parentGroup = "GuiGroup" | |
pid persistentId = "" | |
Point2I position = "0 0" | |
GuiControlProfile profile = "GuiInspectorSwatchButtonProfile" | |
caseString text = "" | |
string textID = "" | |
string tooltip = "" | |
GuiControlProfile tooltipProfile = "GuiToolTipProfile" | |
bool useMouseEvents = "1" | |
string variable = "" | |
GuiVerticalSizing vertSizing = "bottom" | |
bool visible = "1" | |
Dynamic Fields: | |
string dragSourceControl = "20209" | |
Methods: | |
bool acceptsAsChild( SimObject obj ) | |
void add( SimObject objects... ) | |
void addGuiControl( GuiControl control ) | |
void assignFieldsFrom( SimObject fromObject ) | |
void assignPersistentId() | |
void bringToFront( SimObject obj ) | |
string call( string method, string args... ) | |
void callOnChildren( string method, string args... ) | |
void callOnChildrenNoRecurse( string method, string args... ) | |
void clear() | |
void clearFirstResponder( bool ignored=false ) | |
string clone() | |
bool controlIsChild( GuiControl control ) | |
string deepClone() | |
void delete() | |
void deleteAllObjects() | |
void dump( bool detailed=false ) | |
void dumpClassHierarchy() | |
void dumpGroupHierarchy() | |
string dumpMethods() | |
string findHitControl( int x, int y ) | |
string findHitControls( int x, int y, int width, int height ) | |
string findObjectByInternalName( string internalName, bool searchChildren=false ) | |
float getAspect() | |
bool getCanSave() | |
string getCenter() | |
string getClassName() | |
string getClassNamespace() | |
int getCount() | |
string getDebugInfo() | |
int getDeclarationLine() | |
string getDynamicField( int index ) | |
int getDynamicFieldCount() | |
string getExtent() | |
string getField( int index ) | |
int getFieldCount() | |
string getFieldType( string fieldName ) | |
string getFieldValue( string fieldName, int index=-1 ) | |
string getFilename() | |
string getFirstResponder() | |
int getFullCount() | |
string getGlobalCenter() | |
string getGlobalPosition() | |
string getGroup() | |
getHelpPage( string this ) | |
int getId() | |
string getInternalName() | |
string getMinExtent() | |
string getName() | |
string getObject( uint index ) | |
int getObjectIndex( SimObject obj ) | |
string getParent() | |
string getPosition() | |
string getRandom() | |
string getRoot() | |
string getSuperClassNamespace() | |
string getText() | |
string getValue() | |
bool isActive() | |
bool isAwake() | |
bool isChildOfGroup( SimGroup group ) | |
bool isEditorOnly() | |
bool isExpanded() | |
bool isField( string fieldName ) | |
bool isFirstResponder() | |
bool isInNamespaceHierarchy( string name ) | |
bool isMember( SimObject obj ) | |
bool isMemberOfClass( string className ) | |
bool isMethod( string methodName ) | |
bool isMouseLocked() | |
bool isNameChangeAllowed() | |
bool isSelected() | |
bool isVisible() | |
void listObjects() | |
void makeFirstResponder( bool isFirst ) | |
onControlDropped( string this, string payload, string position ) | |
onDefineFieldTypes( string this ) | |
onMouseDragged( string this ) | |
void performClick() | |
bool pointInControl( int x, int y ) | |
void pushToBack( SimObject obj ) | |
void remove( SimObject objects... ) | |
void reorderChild( SimObject child1, SimObject child2 ) | |
void resetState() | |
void resize( int x, int y, int width, int height ) | |
bool save( string fileName, bool selectedOnly=false, string preAppendString="" ) | |
int schedule( float time, string method, string args... ) | |
void setActive( bool state=true ) | |
void setCanSave( bool value=true ) | |
void setCenter( int x, int y ) | |
void setClassNamespace( string name ) | |
void setColor( string newColor ) | |
void setEditorOnly( bool value=true ) | |
void setExtent( string extOrX, string y="" ) | |
void setFieldType( string fieldName, string type ) | |
bool setFieldValue( string fieldName, string value, int index=-1 ) | |
void setFilename( string fileName ) | |
void setFirstResponder() | |
void setHidden( bool value=true ) | |
void setInternalName( string newInternalName ) | |
void setIsExpanded( bool state=true ) | |
void setIsSelected( bool state=true ) | |
void setLocked( bool value=true ) | |
void setName( string newName ) | |
void setNameChangeAllowed( bool value=true ) | |
void setPosition( int x, int y ) | |
void setPositionGlobal( int x, int y ) | |
void setProfile( GuiControlProfile profile ) | |
void setStateOn( bool isOn=true ) | |
void setSuperClassNamespace( string name ) | |
void setText( string text ) | |
void setTextID( string id ) | |
void setValue( string value ) | |
void setVisible( bool state=true ) | |
void sort( string callbackFunction ) | |
Callbacks: | |
onAction() | |
onActive( bool state ) | |
onAdd() | |
onClick() | |
onControlDragEnter( GuiControl control, Point2I dropPoint ) | |
onControlDragExit( GuiControl control, Point2I dropPoint ) | |
onControlDragged( GuiControl control, Point2I dropPoint ) | |
onControlDropped( GuiControl control, Point2I dropPoint ) | |
onDialogPop() | |
onDialogPush() | |
onDoubleClick() | |
onGainFirstResponder() | |
onLoseFirstResponder() | |
onMouseDown() | |
onMouseDragged() | |
onMouseEnter() | |
onMouseLeave() | |
onMouseUp() | |
onObjectAdded( SimObject object ) | |
onObjectRemoved( SimObject object ) | |
onRemove() | |
onRightClick() | |
onSleep() | |
onVisible( bool state ) | |
onWake() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment