dial
Dial Class
The Dial class provides:
-
A rotating knob for selecting step values
The Dial class provides the standard 3 common constructors as sown in the Quick Start Guide.
Constructor 1:
/** Parameters:
* Screen screen,
* String UID,
* Vector2f position
*/
Dial dial = new Dial(screen, "dial", new Vector2f(15, 15));
Constructor 2:
/** Additional Parameter:
* Vector2f dimensions */
Dial dial = new Dial(screen, "dial", new Vector2f(15, 15),
new Vector2f(35, 35)
);
Constructor 3:
/** Additional Parameters:
* Vector4f resizeBorders,
* String defaultImg
*/
Dial dial = new Dial(screen, "dial", new Vector2f(15, 15), new Vector2f(35, 35),
new Vector4f(0,0,0,0),
"tonegod/gui/style/def/Dial/dial_x.png"
);