List Info

Thread: Canvas Rubberband Selection




Canvas Rubberband Selection
user name
2006-10-13 14:03:14
Hi,
I'm porting a QtRuby (4.1) app over to FxRuby cause I need
the
cross-platform compatibility and was wondering if there was
a
Rubberband (http://
doc.trolltech.com/4.1/qrubberband.html) type class
for Fox or if I will have to roll my own.

Thanks,

Steven Davidovitz
_______________________________________________
fxruby-users mailing list
fxruby-usersrubyforge.org
ht
tp://rubyforge.org/mailman/listinfo/fxruby-users
Canvas Rubberband Selection
user name
2006-10-13 15:53:51
On Friday 13 October 2006 09:03, Steve D. wrote:
> Hi,
> I'm porting a QtRuby (4.1) app over to FxRuby cause I
need the
> cross-platform compatibility and was wondering if there
was a
> Rubberband (http://
doc.trolltech.com/4.1/qrubberband.html) type class
> for Fox or if I will have to roll my own.

There are only two widgets which have
"rubberband-style" selection: FXGLViewer
and FXIconList.  Both have built-in selection, but its
implemented differently;
the FXGLViewer implements the drawing using OpenGL, whereas
the FXIconList does
it using 2D drawing API's.

If it appears generally useful, we could implement
FXRubberBand; perhaps you
just give an example of how you would use such a thing in
your code [assuming
you need it outside of the FOX widgets which have this
already built in]...



	- Jeroen


_______________________________________________
fxruby-users mailing list
fxruby-usersrubyforge.org
ht
tp://rubyforge.org/mailman/listinfo/fxruby-users
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )