newspeoplefor developersdocumentationdownloads

nGuiHoriSliderGroup Script Interface

nguihorislidergroup:

Super Class:

C++ Class:

Info

A horizontal slider group consisting of a label, a horizontal slider, and a text label which displays the current slider's numerical value as a printf-formatted string.

Commands:


setlefttext

Command Input:
s(a printf formatted string)
Command Output:
v
Command Description:
Set text to left of slider.

setrighttext

Command Input:
s(a printf formatted string)
Command Output:
v
Command Description:
Set text to right of slider.

setminvalue

Command Input:
f
Command Output:
v
Command Description:
Sets the slider's minimum value.

setmaxvalue

Command Input:
f
Command Output:
v
Command Description:
Sets the slider's maximum value.

setvalue

Command Input:
f
Command Output:
v
Command Description:
Sets the slider's current value.

getvalue

Command Input:
v
Command Output:
f
Command Description:
Gets the slider's current value.

setleftwidth

Command Input:
f
Command Output:
v
Command Description:
Sets relative width of left text label.

setrightwidth

Command Input:
f
Command Output:
v
Command Description:
Sets relative width of right text label.

setlabelfont

Command Input:
f
Command Output:
v
Command Description:
Sets the font for the left & right labels.

setknobsize

Command Input:
f
Command Output:
v
Command Description:
Sets the width of the thumb/drag button.

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.