BBGadTools

BBRotateButton(ID,X,Y,Scale,Height,Pos,Color)


Description:

With this Command can you define a RotateButton with the ID-Number "ID" on the
Coordinaates "X,Y" of Current Window. "Scale" is the Scale from 2-255. "Height" is
the height of the Button. (Value must be >19) With "Pos" can you set the Positon
of the Button. And with "Color" can you choose the Color for the Button.
Before you define later a new RotateButton with the same "ID", you must first
remove the old Button with BBRemoveRotateButton() from Window & GadgetList.

Parameter:

ID = ID-Number of the Button. [Max. 9999 :-) ]
X = X-Position of the Button.
Y = Y-Position of the Button.
Scale = Scale [2-255] At the moment must be 255.
Height = Height of the Button [20-XX]
Pos = Position of the Button [0-255]
Color = Color of the Button [0-4]

Example:

BBRotateButton(10,50,255,80,0,0) ; Define a RotateButton.

Back to the Menu

Code by TFT (der Falke) at 2001