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
-~----------~----~----~----~------~----~------~--~---

Reply via email to