
#ifndef BB_BRL_EVENT_H
#define BB_BRL_EVENT_H

enum{
	BBEVENT_APPMASK=0x100,
	BBEVENT_APPSUSPEND=0x101,
	BBEVENT_APPRESUME=0x102,
	BBEVENT_APPTERMINATE=0x103,
	BBEVENT_APPOPENFILE=0x104,
	BBEVENT_APPIDLE=0x105,

	BBEVENT_KEYMASK=0x200,
	BBEVENT_KEYDOWN=0x201,
	BBEVENT_KEYUP=0x202,
	BBEVENT_KEYCHAR=0x203,
	BBEVENT_KEYREPEAT=0x204,

	BBEVENT_MOUSEMASK=0x400,
	BBEVENT_MOUSEDOWN=0x401,
	BBEVENT_MOUSEUP=0x402,
	BBEVENT_MOUSEMOVE=0x403,
	BBEVENT_MOUSEWHEEL=0x404,
	BBEVENT_MOUSEENTER=0x405,
	BBEVENT_MOUSELEAVE=0x406,

	BBEVENT_TIMERMASK=0x800,
	BBEVENT_TIMERTICK=0x801,

	BBEVENT_HOTKEYMASK=0x1000,
	BBEVENT_HOTKEYHIT=0x1001,

	BBEVENT_GADGETMASK=0x2000,
	BBEVENT_GADGETACTION=0x2001,
	BBEVENT_GADGETPAINT=0x2002,
	BBEVENT_GADGETSELECT=0x2003,
	BBEVENT_GADGETMENU=0x2004,
	BBEVENT_GADGETOPEN=0x2005,
	BBEVENT_GADGETCLOSE=0x2006,
	BBEVENT_GADGETDONE=0x2007,
	BBEVENT_GADGETLOSTFOCUS=0x2008,
	BBEVENT_GADGETSHAPE=0x2009,

	BBEVENT_WINDOWMASK=0x4000,
	BBEVENT_WINDOWMOVE=0x4001,
	BBEVENT_WINDOWSIZE=0x4002,
	BBEVENT_WINDOWCLOSE=0x4003,
	BBEVENT_WINDOWACTIVATE=0x4004,
	BBEVENT_WINDOWACCEPT=0x4005,

	BBEVENT_MENUMASK=0x8000,
	BBEVENT_MENUACTION=0x8001,
	
	BBEVENT_STREAMMASK=0x10000,
	BBEVENT_STREAMEOF=0x10001,
	BBEVENT_STREAMAVAIL=0x10002,
	
	BBEVENT_PROCESSMASK=0x20000,
	BBEVENT_PROCESSEXIT=0x20001
};

#endif
