Rev 6266 | Rev 7244 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6266 | Rev 6746 | ||
---|---|---|---|
Line 43... | Line 43... | ||
43 | case evKey: |
43 | case evKey: |
44 | if (GetKey()==27) ExitProcess(); |
44 | if (GetKey()==27) ExitProcess(); |
45 | break; |
45 | break; |
46 | case evReDraw: |
46 | case evReDraw: |
47 | system.color.get(); |
47 | system.color.get(); |
48 | DefineAndDrawWindow(screen.width-fw/2,screen.height-fh/2,fw,fh+skin_height,0x33,0xE0DFE3,"Rainbow (rgb test)"); |
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,system.color.work_button,system.color.work_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,system.color.work_button,system.color.work_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,system.color.work_button,system.color.work_button_text,"Background"); |
53 | } |
53 | } |