• R/O
  • SSH
  • HTTPS

chnosproject: Commit


Commit MetaInfo

Revisión168 (tree)
Tiempo2010-10-11 17:46:33
Autorhikarupsp

Log Message

起動ロゴの修正。

Cambiar Resumen

Diferencia incremental

--- beta/tolset_chn_000/chnos_007/chnos/graphic.c (revision 167)
+++ beta/tolset_chn_000/chnos_007/chnos/graphic.c (revision 168)
@@ -266,13 +266,16 @@
266266
267267 void draw_chnos_logo(void *vrami, int xsize, int a, int x, int y)
268268 {
269- int n, m;
269+ int n, m, oldx, oldy;
270270 unsigned int c;
271271
272+ oldx = x;
273+ oldy = y;
274+
272275 if(a < 0) a = -a;
273276 m = a >> 1;
274277 n = (1773 * m) >> 10;
275- c = 0x00FF00;
278+ c = 0x00FFFF;
276279
277280 x = x - n;
278281 x = x - n;
@@ -395,6 +398,8 @@
395398 line_i(vrami, xsize, x - n, y - m, x , y , c);
396399 line_i(vrami, xsize, x - n, y - m, x , y - a, c);
397400
401+ putfonts_asc_i(vrami, xsize, oldx + n + 8, oldy, 0x00FF00, "CHNOSProject");
402+
398403 return;
399404 }
400405
Show on old repository browser