openblt

a hobby OS from the late 90s
git clone http://frotz.net/git/openblt.git
Log | Files | Refs | LICENSE

Event.h (299B)


      1 #ifndef _EVENT_H
      2 #define _EVENT_H
      3 
      4 const int EVT_PAINT = 1;
      5 const int EVT_QUIT = 2;
      6 const int EVT_MOUSE_DOWN = 3;
      7 const int EVT_MOUSE_UP = 4;
      8 const int EVT_MOUSE_MOVED = 5;
      9 const int EVT_MOUSE_ENTER = 6;
     10 const int EVT_MOUSE_LEAVE = 7;
     11 
     12 struct Event {
     13 	int what;
     14 	int target;
     15 
     16 	int x, y;
     17 };
     18 
     19 #endif
     20