Subversion Repositories Kolibri OS

Rev

Rev 126 | Rev 551 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 126 Rev 177
Line 27... Line 27...
27
  sys_get_colors(#colors, 40);
27
  sys_get_colors(#colors, 40);
Line 28... Line 28...
28
 
28
 
29
  // WINDOW
29
  // WINDOW
30
  EBX = xpos << 16 + xsize;
30
  EBX = xpos << 16 + xsize;
31
  ECX = ypos << 16 + ysize;
31
  ECX = ypos << 16 + ysize;
32
  sys_draw_window(EBX, ECX, 0x02CCCCCC, colors.w_grab | 0x80000000, colors.w_frames);
-
 
33
 
-
 
34
  // LABEL
-
 
35
  sys_write_text(8<<16+8, colors.w_grab_text | 0x10000000, "MineSweeper", 11);
-
 
36
 
-
 
37
  //  BUTTON (1)
-
 
38
  EBX = xsize - 19; EBX = EBX<<16 + 12;
-
 
39
  sys_draw_button(EBX, 5<<16+12, 1, colors.w_grab_button);
32
  sys_draw_window(EBX, ECX, 0x13CCCCCC, colors.w_grab | 0x80000000, "MineSweeper");
40
 
33
 
41
  //  BUTTON (911)
34
   //  BUTTON (911)
42
  EBX = xsize / 2 - 10;
35
  EBX = xsize / 2 - 10;
43
  EBX = EBX << 16 + 20;
36
  EBX = EBX << 16 + 20;
Line 44... Line 37...
44
  sys_draw_button(EBX, 25<<16+20, 911, clLightGray);
37
  sys_draw_button(EBX, 25<<16+20, 911, clLightGray);