| version 1.11, 2011/01/15 16:01:53 | version 1.14, 2012/01/23 04:53:59 | 
| Line 1 | Line 1 | 
 | /*      $Id$    */ |  | 
 |  |  | 
 | /* | /* | 
 | * Copyright (c) 2003 NONAKA Kimihiro | * Copyright (c) 2003 NONAKA Kimihiro | 
 | * All rights reserved. | * All rights reserved. | 
| Line 47 | Line 45 | 
 | typedef struct { | typedef struct { | 
 | UINT8           scrnmode; | UINT8           scrnmode; | 
 | volatile int    drawing; | volatile int    drawing; | 
| int             width;          /* drawarea ¡¢¥Û width */ | int             width;          /* drawarea åá¥ç width */ | 
| int             height;         /* drawarea ¡¢¥Û height */ | int             height;         /* drawarea åá¥ç height */ | 
 | int             extend; | int             extend; | 
 | int             clipping; | int             clipping; | 
 |  |  | 
 | PAL16MASK       pal16mask; | PAL16MASK       pal16mask; | 
 |  |  | 
| RECT_T          scrn;           /* drawarea ¥Ë䦥ۥΥÁ¥¤ðÐ¥Û¡¼ð²¥Õ¥Æ¥è */ | RECT_T          scrn;           /* drawarea éæªå¢°ëï¾éȽò¢Ðçޡ迺饹¥ç */ | 
| RECT_T          rect;           /* drawarea ¡¢¥Ò¥Î¥Á¥¤ð¦¥±¡¢ö§¥ª¡¦¡¢¡¦¥³ */ | RECT_T          rect;           /* drawarea åᥩëï¾éȽåáÒå£ëå⥪åâ¡¢å⥳ */ | 
 |  |  | 
 | /* toolkit depend */ | /* toolkit depend */ | 
 | GdkPixbuf       *drawsurf; | GdkPixbuf       *drawsurf; | 
| Line 64  typedef struct { | Line 62  typedef struct { | 
 | double          ratio_w, ratio_h; | double          ratio_w, ratio_h; | 
 | int             interp; | int             interp; | 
 |  |  | 
| GdkColor        pal[24]; | GdkColor        pal[NP2PAL_EXTEND]; | 
 | } DRAWMNG; | } DRAWMNG; | 
 |  |  | 
 | typedef struct { | typedef struct { | 
| Line 89  GtkWidget *drawarea; | Line 87  GtkWidget *drawarea; | 
 | #define BYTES_PER_PIXEL 3 | #define BYTES_PER_PIXEL 3 | 
 |  |  | 
 | /* | /* | 
| * drawarea ¡¢¥Û¡¦¡Ö¡¦¥±¡¦¥ì¡¦¥Ã¡¦¥Í¥Íì¦4:3 (640x480) ¤Ë¤¹¤ë¡£ | * drawarea ¤Î¥¢¥¹¥Ú¥¯¥ÈÈæ¤ò 4:3 (640x480) ¤Ë¤¹¤ë¡£ | 
 | */ | */ | 
 | static void | static void | 
 | adapt_aspect(int width, int height, int scrnwidth, int scrnheight) | adapt_aspect(int width, int height, int scrnwidth, int scrnheight) |