[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[WitchFan 00401] Re: サンプル



$B$"$s$_$D(B $B$G$9!#(B

> $B2hA|I=<($K$D$$$F$J$N$G$9$,!"(B
> $B2<5-$N%W%m%0%i%`$G$O8mF0:n$7$^$9!#(B
> $B%-%c%i%/%?I=<($H%9%W%i%$%HI=<($r(B
> $B0l$D$:$D9T$&$D$b$j$G=q$$$?$b$N$G$9$,!"(B
> $B$I$3$,$I$&$$$&Iw$K0c$C$F$$$k$N$G$7$g$&!)(B
$B$$$m$$$m$J0UL#$G4V0c$C$F$k$H;W$$$^$9(B ^-^;


> static int bmp1[] = {
>     0xff, 0xff, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81,
>     0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xff, 0xff,
> };
$B$3$N%G!<%?$r(B
>     font_set_colordata(0,1,bmp1);
$B$H$d$k$H!";v<B>e!">eH>J,$N(B8$B$D$N%G!<%?$@$1$r;H$C$?%U%)%s%H$,EPO?$5$l$F(B
$B$7$^$$$^$9!#(B
$B0U?^$7$?DL$j$G$"$m$&%U%)%s%H$N@5$7$$Dj5A$O(B
  static int bmp1[] = {
      0xffff, 0x8181, 0x8181, 0x8181, 0x8181, 0x8181, 0x8181, 0xffff,
  };
$B$H$J$j$^$9!#(B(1$B%i%$%s$K$D$-(B2$B%P%$%H(B=int$B7?$NCM$R$H$D(B)

>     lcd_set_color(0x7530,0xfdb9);
$B?'$N@_Dj$K4X$7$F$O!"$3$l$r8F$s$@$@$1$G$O$@$a$G!"(Bpalette_set_color()$B$b(B
$B8F$s$G$d$i$J$$$H$$$1$^$;$s!#(B
$B5U$K$$$&$H!"(Blcd_set_color()$B$O8F$P$J$/$F$bJ?5$$_$?$$$G$9!#(B($B$C$F$$$&$+!"(B
$B;d$O$3$A$i$O;H$C$?$3$H$,$J$$$N$G$h$/J,$+$j$^$;$s!#!#!#(B)

>  screen_fill_char(SCREEN1,0,0,28,18,0x00);
$B$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