On Tue, Sep 28, 2010 at 10:18 AM, Wim Dumon <[email protected]> wrote: > 2010/9/28 Mohammed Rashad <[email protected]>: >> yes exactly like that but lines/points should appear as we draw without >> reloading. >> where can i get the source code. > > examples/widgetgallery/PaintBrush.C > >> and please tell where to modify to draw without reloading? > > That is not an easy task, certainly not if you want it to work > cross-browser, and also on IE6. I'd recommend to start with a mostly > server-side approach, and then optimize the annoying parts afterward, > when you have a good understanding of how Wt works. We usually use > clever tricks to minimize the amount of (possibly non-portable) > JavaScript we have to write.
Yeah, you will need to write client-side javascript to 'interpolate' it, problem is, some browsers make this next to impossible (still possible just extraordinarily difficult in some browsers), plus you have to customize it for *each* possible render type. Blame the lack of standardization between browsers. :) ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
