Hi Bill!

I tested very large window size larger than 800x600 (up to 1600x1200!)
for my new laptop (which has 1400x1050 pixels).

Larger window size works almost good just by changing WINDOW_WIDTH
and WINDOW_HEIGHT, but I found one bug in do_prompt() which also 
affect 800x600 mode.

--- tuxpaint.c.org      2003-08-04 17:09:06.000000000 +0900
+++ tuxpaint.c  2003-08-04 17:12:52.000000000 +0900
@@ -7531,7 +7531,7 @@
   /* Draw the question: */
 
   wordwrap_text(font, text, black,
-               166 + PROMPTOFFSETX, 100 + PROMPTOFFSETY, 475, 0, 0, 1);
+               166 + PROMPTOFFSETX, 100 + PROMPTOFFSETY, 475 + PROMPTOFFSETX, 0, 0, 
1);
 
 
   /* Draw yes button: */
@@ -7541,7 +7541,7 @@
   SDL_BlitSurface(img_yes, NULL, screen, &dest);
 
   wordwrap_text(font, btn_yes, black, 166 + PROMPTOFFSETX + 48 + 4,
-               183 + PROMPTOFFSETY, 475, 0, 0, 1);
+               183 + PROMPTOFFSETY, 475 + PROMPTOFFSETX, 0, 0, 1);
 
 
   /* Draw no button: */

-- 
TOYAMA Shin-ichi

_______________________________________________
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev

Reply via email to