ngl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ngl-devel] New features and a few changes


From: Peter R. Brinkler
Subject: [ngl-devel] New features and a few changes
Date: Sun, 04 Jan 2004 00:14:21 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114

Hi,
Since we (the moonlight 3d developers) have now decided to try to make the ui for next gen moonlight 3D using nui/ngl I have a few feature requests, most are for functionality which is essential for various components of a 3d modeling application as well as many other types of applications. Some maight already be planned or present in some form.

1: A border widget which creates a border around the contents. With the ability to specify the border using a set of svg for the various border posisions (corner, edge....) .

2: The ability to exclude any number of the subwidgets of nuiWidgetBox from the scaling of the contents. This is important to our project, which includes fairly complex interface, where resize must allow the labels and text to remain same size.

3: n-way paned widget, for the viewport. Fltk (www.fltk.org) provides such a widget which may serve as inspiration to the implementor.

4: Tabbed container.

5: Scrolled container for adding scrollbars around children.

6: Choice widget.

7: Value widgets:
class Value;
+ class InputValue : public Value; // Single line input, with up/down arrows to manipulate value with mouse. Should include precision, range, step...
 + class InputDoubleValue : public Value;
 + class InputStringValue : public Value
 + class InputLongValue : public Value
+ class SliderValue : public Value; // With range, precision, step and current value indicated.
 + class Dial : public SliderValue; // Knobs and such.
 + class Wheel : public SliderValue; // Those sgi wheels
 + class ProgressBar : public SliderValue;

8: Ability to modify the colours (background, border, etc) of the widgets using this->SetColour( 0xff00aaff );

9: Form widget like the one motif defines. The form widget allows:
  Ability to specify resizability.
Ability to specify positions of child widget borders as well as relatively to other child widgets. Ability to lock child widgets borders to edge of container as well as other child widget borders including the ability to lock border positions ( never scale this widget so the border is moved )

10: Ability to specify animation for button press, menu opening etc. events.

11: The ability to specify the images for widgets using svg.

12: Colour chooser widget

13: Ramp widget - A widget which creates a ramp between one or more colours:
|+| <- 0xff0000ff
| |
| | <- colour here is interpolated
| | between 0xff0000ff and 0x00ff0044 including interpolation in the alpha channel
| |
|+| <- 0x00ff0044
The ability to obtain the colour under the cursor when mouse is sclicked on the widget. This widget could be used in the colour chooser.

14: A RAD tool.

15: A tutorial into how to write a custom widget.

16: Demos for each type of functionality/Widget

More to come......

Sincerely,

Peter R. Brinkler aka riishigh





reply via email to

[Prev in Thread] Current Thread [Next in Thread]