Subversion Repositories Kolibri OS

Rev

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

Rev 7244 Rev 7628
Line 39... Line 39...
39
		if (id==DRAW1_BTN) EventDraw1();
39
		if (id==DRAW1_BTN) EventDraw1();
40
		if (id==DRAW2_BTN) EventDraw2();
40
		if (id==DRAW2_BTN) EventDraw2();
41
		if (id==SETBG_BTN) EventSetBackground(#image,256,256);
41
		if (id==SETBG_BTN) EventSetBackground(#image,256,256);
42
		break;
42
		break;
43
	case evKey:
43
	case evKey:
44
		if (GetKey()==27) ExitProcess();
44
		if (GetKeys()==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)",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);