That is why I explained I was using GWTCanvas from the gwt-incubator project. Supposedly, it works with IE, at least, for what I need, I've even been able to see it work in IE8 with their demo (of GWTCanvas working in the gwt-incubator project). But for the life of me, I can't get it to work myself in my own code...
On Sep 2, 11:49 am, Alexander Cherednichenko <[email protected]> wrote: > IE does not support canvas well. You may use wrapper libraries, which > dispatch output to canvas if possible, and for IE try to emulate it > with VML. > > Here's blog posting about > this:http://lexaux.blogspot.com/2009/08/gwt-canvas-widget-drawing-in-brows... > > You can select among several libraries; make sure you create some > prototypes before making a decision. > > I succeeded with GWT-Widgets canvas proof of concept widget. > > On Sep 2, 10:39 am, Xlorep DarkHelm <[email protected]> wrote: > > > Umm... for anyone trying to see what I mean, I broke the app last > > night, and I hope to have it running soon again this morning. > > > On Sep 1, 1:45 pm, Xlorep DarkHelm <[email protected]> wrote: > > > > Ok.... I'm hitting a roadblock here, and I'm hoping that it is just > > > something obvious that I'm unable to see. > > > > My situation is this -- I'm working on a simple web app, using GWT and > > > the GWTCanvas widget from gwt-incubator. > > > > With the canvas, I am trying to draw little black squares, which > > > represent values at a specific position in an array. > > > > To me, it is pretty straight-forward, I have a method: > > > > ----- > > > > public void draw(int row, int col, int color) { > > > canvas.setFillStyle(Settings.colors[color]); > > > canvas.fillRect(col * Settings.PIXEL_SIZE, row * > > > Settings.PIXEL_SIZE, Settings.PIXEL_SIZE, Settings.PIXEL_SIZE); > > > } > > > > ----- > > > > in my class that wraps the canvas. On every major browser other than > > > IE (and I can only test with IE8... which might make a difference, I > > > dunno...), this works exactly as I'd expect. > > > > In IE... it never draws anything. Like... at all. I see that my code > > > is running (I have some text which gets updated outside the canvas), > > > but IE isn't drawing, well... anything. This somewhat leaves my little > > > app as pretty useless for people who visit using IE. > > > > Like I said... I'm hoping that it is something I'm just plain missing > > > here. The address to my app is: > > > >http://showsort.appspot.com > > > > I'm not really trying anything elaborate with the canvas in this... > > > just drawing some squares on it. > > > > Any help would be most appreciated. > > > > I can provide other code if it helps... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
