Creation/Dev/Script/Client/GuiControlProfile: Difference between revisions

From Graal Bible
No edit summary
(Added some comments to the variable names)
Line 4: Line 4:
     autosizeheight - boolean
     autosizeheight - boolean
     autosizewidth - boolean
     autosizewidth - boolean
     bitmap - string
     bitmap - string - filename of the image template, ie: "guiblue_window.png"
     border - integer
     border - integer
     bordercolor - string
     bordercolor - string - default border color of the control
     bordercolorhl - string
     bordercolorhl - string - border color when the control is active
     bordercolorna - string
     bordercolorna - string - border color when the control is disabled
     borderthickness - integer
     borderthickness - integer - size of the border (in pixels?)
     cankeyfocus - boolean
     cankeyfocus - boolean - can this control steal key focus? (textboxes must have this set to true)
     cursorcolor - string
     cursorcolor - string - color of the cursor (caret) in a text box ("RR GG BB" format)
     fillcolor - string
     fillcolor - string - default background color
     fillcolorhl - string
     fillcolorhl - string - background color when active
     fillcolorna - string
     fillcolorna - string - background color when disabled
     fontcolor - string
     fontcolor - string - default font color
     fontcolorhl - string
     fontcolorhl - string - font color when highlighted
     fontcolorlink - string
     fontcolorna - string - font color when disabled
     fontcolorlinkhl - string
     fontcolorsel - string - font color of selected text (in a textbox)
     fontcolorna - string
     fontcolorlink - string - default font color of links
     fontcolorsel - string
     fontcolorlinkhl - string - font color of links when active
     fontsize - integer
     fontsize - integer - size of the font (in points?)
     fontstyle - string
     fontstyle - string - combination of font styles, ie: "bc"
     fonttype - string
     fonttype - string - type of font to use, ie: "Tempus Sans ITC"
     justify - string - the same like "align"
     justify - string - the same like "align"
     linespacing - integer
     linespacing - integer - space between lines (in pixels?)
     modal - boolean
     modal - boolean - is this a modal dialog? (is the only window that can be used while it is open, steals all input.  Like a Message Box in Windows)
     mouseoverselected - boolean
     mouseoverselected - boolean - does putting your mouse over this control act as if it was clicked?
     numbersonly - boolean
     numbersonly - boolean - can only numbers be entered in this control?
     opaque - boolean
     opaque - boolean - if set to true, transparency will be ignored
     returntab - boolean
     returntab - boolean
     soundbuttondown - string
     soundbuttondown - string - filename of sound played when the control is clicked
     soundbuttonover - string
     soundbuttonover - string - filename of sound played when the mouse is hovered over the control
     tab - boolean
     tab - boolean
     textoffset - string
     textoffset - string
     transparency - float
     transparency - float - alpha transparenc of the control (from 0 to 1)
</pre>
</pre>

Revision as of 17:04, 4 August 2006

  GuiControlProfile (TGraalVar):
    align - string - "left", "center" or "right"
    autosizeheight - boolean
    autosizewidth - boolean
    bitmap - string - filename of the image template, ie: "guiblue_window.png"
    border - integer
    bordercolor - string - default border color of the control
    bordercolorhl - string - border color when the control is active
    bordercolorna - string - border color when the control is disabled
    borderthickness - integer - size of the border (in pixels?)
    cankeyfocus - boolean - can this control steal key focus? (textboxes must have this set to true)
    cursorcolor - string - color of the cursor (caret) in a text box ("RR GG BB" format)
    fillcolor - string - default background color
    fillcolorhl - string - background color when active
    fillcolorna - string - background color when disabled
    fontcolor - string - default font color
    fontcolorhl - string - font color when highlighted
    fontcolorna - string - font color when disabled
    fontcolorsel - string - font color of selected text (in a textbox)
    fontcolorlink - string - default font color of links
    fontcolorlinkhl - string - font color of links when active
    fontsize - integer - size of the font (in points?)
    fontstyle - string - combination of font styles, ie: "bc"
    fonttype - string - type of font to use, ie: "Tempus Sans ITC"
    justify - string - the same like "align"
    linespacing - integer - space between lines (in pixels?)
    modal - boolean - is this a modal dialog? (is the only window that can be used while it is open, steals all input.  Like a Message Box in Windows)
    mouseoverselected - boolean - does putting your mouse over this control act as if it was clicked?
    numbersonly - boolean - can only numbers be entered in this control?
    opaque - boolean - if set to true, transparency will be ignored
    returntab - boolean
    soundbuttondown - string - filename of sound played when the control is clicked
    soundbuttonover - string - filename of sound played when the mouse is hovered over the control
    tab - boolean
    textoffset - string
    transparency - float - alpha transparenc of the control (from 0 to 1)