Subversion Repositories Kolibri OS

Rev

Rev 7806 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7806 Rev 9597
Line 43... Line 43...
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
		sc.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.w-fw/2,screen.h-fh/2,fw,fh+skin_h,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,sc.button,sc.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,sc.button,sc.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,sc.button,sc.button_text,"Background");
52
		DrawCaptButton(280,100,110,30,SETBG_BTN,sc.button,sc.button_text,"Background");
53
  }
53
  }