dh_Textbox:
Same as Lokasenna Textbox except for:
Changed most of the property names for consistency with other dh_Toolkit classes.
Allows all of the color properties to be overridden.
Frame color, by default, uses highlight/lowlight colors that
are automatically calculated from 'col_backdrop' color.
However, the frame can be set to use a single color (specified
by the 'col_frame' property) by setting
'frame_use_outline' property to true. Some themes can call for
single color outlines regardless of the 'frame_use_outline' setting.
Added ability to change the selected text highlight color.
The property 'col_sel_text' specifies the highlight color.
That color is ADDED to the list background color to produce
the highlight.
The GUI color 'sel_txt' is an alpha adjusted color.
If 'sel_txt' color is specified it will use
its alpha and color. Otherwise it will use the
specified color with a default alpha of 0.5.
--------------------------------------------------------
attribute: property_name default value
--------------------------------------------------------
text: * retval ""
undo limit: undo_limit 20
caption: caption ""
caption font: font_caption "sans22"
caption position: cap_pos "top"
caption offset x: cap_pad_x 4
caption offset y: cap_pad_y 4
caption centered: cap_centered false
text font: font_text "mono16"
text padding: pad 4
text align: align "left"
shadow element: shadow false
shadow caption: shadow_caption false
frame outline: frame_use_outline false
frame thickness: frame_thk 2
allow sel.outline: allow_sel_outline false
override sel alpha: use_sel_alpha false
override value: sel_alpha 0.5
-- colors --
box bg: col_bg "elm_bg"
box frame: col_frame "elm_frame"
box text: col_text "elm_txt"
selected text: col_sel_text "sel_txt"
caption text: col_cap_text "txt
elm sel.outline: col_active "elm_active"
backdrop: col_backdrop "wnd_bg"
* Can set text using GUI.Val
----------------------------------------------------------------------------