Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000590 [Croquet] Jasmine feature always 12-02-04 22:34 12-03-04 23:13
Reporter elenzil View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0000590: [enh] TDialWidget
Description New class that's an interactive 3D dial.
Useful for 3D interfaces.
See screenshot.

from class docs:
A Simple Dial Widget.

Mouse over it, click & hold,
and then slide the mouse horizontally to rotate the dial.
mouse right -> increase.
mouse left -> decrease.

valueA, valueB - the 'value' of the widget ranges between these. default 0 , 1
thetaA, thetaB - the physical widget will peg between these values. default -170, 170.

fireTarg - an object which will get a message when the value is changed via mouse
fireSelector - the selector of fireTarg to use. This selector may have 0, 1, or 2 arguments.
                 if 0, the selector is simply called.
                 if 1, the selector is called with: the value of the widget.
                 if 2, the selector is called with: the value of the widget and with: fireArg. (see below)
fireArg - an optional second argument to fireSelector.

value - the current value of the widget.
messages to fireTarg.

For an example of usage,
execute this in a workspace, with a transcript available:
TDialWidget example

orion elenzil
Additional Information
Attached Files  dialwidget.png [^] (130,115 bytes) 12-02-04 22:34
 TDialWidget.3.cs [^] (11,771 bytes) 12-03-04 23:13

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
12-02-04 22:34 elenzil New Issue
12-02-04 22:34 elenzil File Added: dialwidget.png
12-03-04 23:13 elenzil File Added: TDialWidget.3.cs

Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
31 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker