Re: Special slider widget
Niko Iivari <[email protected]>
| Newsgroups | gmane.comp.graphics.y.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 13 Jun 2004 11:42:28 +0200 Thorsten Wilms <[email protected]> wrote: > On Sun, Jun 13, 2004 at 03:28:24AM +0300, Niko Iivari wrote: > > > > The mockup art looks great. > > Thank you :) > > > > Most of the time having the pointer stop at the edges of the screen is > > a good thing. If going off the screen was only allowed for as long as > > the button is kept pressed then I guess it might be ok. > > > > Where would the pointer appear when the mouse is released with the > > pointer > > out of view? At the edge of the screen, or back on the slider where the > > action started? > > If the screen wasn't left, the pointer shouldn't be moved (stay were > the user released the mouse button). Therefor moving it back to the > slider in case the screen was left would be inconsistent. > Placing it at the closest edge position should be ok. But it would > have to be tested. Ok. > > > Are Y Widgets supposed to be scalable vector graphics? > > > > Hopefully. Or maybe a subset of SVG. Or some other vector thingy like > > OpenGL. > > Oh, the question was if it would scaleable by being vector graphic, > did not mean the format here ... > I think it would be good thing to allow designers to hand in SVG, > if it is used directly or not is not that important. > Is conversion from SVG to Opengl an option? Yes, but OpenGL is more primitive. SVG can have bezier curves and arcs that need to be chopped up into small line segments or polygon edges before drawing with OGL. Or, the SVG can be rendered in software, uploaded to the gfx card's texture memory, and then rendered as a texturemapped quad. I think the first option is better for widgets. -- Niko Iivari http://www.saunalahti.fi/niiiv/eviliivari_pubkey.txt Key fingerprint = 02AB 7262 3531 D531 DBA8 9E0E 79AD C2E1 18D6 92B0