Subversion Repositories Kolibri OS

Rev

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

Rev 7163 Rev 7227
Line 30... Line 30...
30
//===================================================//
30
//===================================================//
Line 31... Line 31...
31
 
31
 
32
void main()
32
void main()
33
{
33
{
34
	int btn;
34
	int btn;
35
	SetEventMask(000100111b);
35
	SetEventMask(EVM_REDRAW + EVM_KEY + EVM_BUTTON + EVM_MOUSE + EVM_MOUSE_FILTER);
36
	SetWindowLayerBehaviour(-1, ZPOS_ALWAYS_TOP);
36
	SetWindowLayerBehaviour(-1, ZPOS_ALWAYS_TOP);
37
	loop() switch(WaitEvent())
37
	loop() switch(WaitEvent())
38
	{
38
	{
39
		case evMouse:
39
		case evMouse: