GuiHelpers contain a few functions to aid application development. Can be accessed via GH as well.
adds Checkbox to frame.
Parameters table contains:
creates a color button which on execution pops up a colormenu dialog. returns a function, which
can be used to change preview button color, and new y value which is y + h.
Function: setcolor(table colorRGBA, [boolean noevent]. Returned button contains .lbl
Parameters table contains:
creates a slider with leading description label (slider.lbl) and following value label (slider.lblval). New y value which is y + h.
slidervalue = sliderpos * scale + offset
Parameters table contains:
creates a button "Hide"/"Show" which sets bounds based on the returns of fnmaxbounds and fnminbounds, which use fninput as input. All functions return x,y,w,h. If fninput is not specified current window dimensions are taken. When minimized all children are removed. Once minimized btn.oldcomponents will be set and hold all temporarily removed Components. When spaceable is set, focus and space bar will not cause the button to act.
returns a function that computes new rectangles according to
rescaling / repositioning behavior. x,y,w,h returned by fnlayouter (nx,ny,nw,nh).
On call of makeLayoutFunc the current Rectangles and their relative
positions to refbounds are stored.
The params table contains: