dh_Button:
Same as Lokasenna Button but with some renamed properties and default colors.
Properties:
text:
The text that appears on the Button face.
font:
The font for the text.
shadow_text:
If true draws the text with a shadow.
func:
The name of a function which is to be called when clicking the button.
params:
Any parameters to be passed to the function.
Note:
The element shadow is always on. That is because it is used as a
visual cue when the Button is clicked.
--------------------------------------------------------
attribute: property_name default value
--------------------------------------------------------
text: text "Button"
font: font "sans22"
text shadow: shadow_text false
function: func function()end
parameters: params {...}
allow sel.outline: allow_sel_outline false
-- colors --
face: col_bg "btn_face"
outline: col_outline "btn_outline"
text: col_text "btn_txt"
elm sel.outline: col_active "elm_active"
--------------------------------------------------------