Rev 7628 | Rev 9597 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7628 | Rev 7806 | ||
---|---|---|---|
Line 42... | Line 42... | ||
42 | break; |
42 | break; |
43 | case evKey: |
43 | case evKey: |
44 | if (GetKeys()==27) ExitProcess(); |
44 | if (GetKeys()==27) ExitProcess(); |
45 | break; |
45 | break; |
46 | case evReDraw: |
46 | case evReDraw: |
47 | system.color.get(); |
47 | sc.get(); |
48 | DefineAndDrawWindow(screen.width-fw/2,screen.height-fh/2,fw,fh+skin_height,0x33,0xE0DFE3,"Rainbow (rgb test)",0); |
48 | DefineAndDrawWindow(screen.width-fw/2,screen.height-fh/2,fw,fh+skin_height,0x33,0xE0DFE3,"Rainbow (rgb test)",0); |
49 | _PutImage(0,0,256,256,#image); |
49 | _PutImage(0,0,256,256,#image); |
50 | DrawCaptButton(280,20, 110,30,DRAW1_BTN,system.color.work_button,system.color.work_button_text,"Draw 1"); |
50 | DrawCaptButton(280,20, 110,30,DRAW1_BTN,sc.button,sc.button_text,"Draw 1"); |
51 | DrawCaptButton(280,60, 110,30,DRAW2_BTN,system.color.work_button,system.color.work_button_text,"Draw 2"); |
51 | DrawCaptButton(280,60, 110,30,DRAW2_BTN,sc.button,sc.button_text,"Draw 2"); |
52 | DrawCaptButton(280,100,110,30,SETBG_BTN,system.color.work_button,system.color.work_button_text,"Background"); |
52 | DrawCaptButton(280,100,110,30,SETBG_BTN,sc.button,sc.button_text,"Background"); |
53 | } |
53 | } |
54 | } |
54 | } |
Line 55... | Line 55... | ||
55 | 55 | ||
56 | /*======================================================== |
56 | /*======================================================== |