Rev 8544 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8544 | Rev 8580 | ||
---|---|---|---|
Line 330... | Line 330... | ||
330 | 330 | ||
331 | static inline uint32_t LoadCursor(void *path, uint32_t flags) __attribute__ ((alias ("load_cursor"))); |
331 | static inline uint32_t LoadCursor(void *path, uint32_t flags) __attribute__ ((alias ("load_cursor"))); |
332 | static inline uint32_t SetCursor(uint32_t cursor) __attribute__ ((alias ("set_cursor"))); |
332 | static inline uint32_t SetCursor(uint32_t cursor) __attribute__ ((alias ("set_cursor"))); |
Line 333... | Line -... | ||
333 | static inline int DestroyCursor(uint32_t cursor) __attribute__ ((alias ("destroy_cursor"))); |
- | |
334 | - | ||
335 | enum KOLIBRI_GUI_EVENTS { |
- | |
336 | KOLIBRI_EVENT_NONE = 0, /* Event queue is empty */ |
- | |
337 | KOLIBRI_EVENT_REDRAW = 1, /* Window and window elements should be redrawn */ |
- | |
338 | KOLIBRI_EVENT_KEY = 2, /* A key on the keyboard was pressed */ |
- | |
339 | KOLIBRI_EVENT_BUTTON = 3, /* A button was clicked with the mouse */ |
- | |
340 | KOLIBRI_EVENT_DESKTOP = 5, /* Desktop redraw finished */ |
- | |
341 | KOLIBRI_EVENT_MOUSE = 6, /* Mouse activity (movement, button press) was detected */ |
- | |
342 | KOLIBRI_EVENT_IPC = 7, /* Interprocess communication notify */ |
- | |
343 | KOLIBRI_EVENT_NETWORK = 8, /* Network event */ |
- | |
344 | KOLIBRI_EVENT_DEBUG = 9, /* Debug subsystem event */ |
- | |
Line 345... | Line 333... | ||
345 | KOLIBRI_EVENT_IRQBEGIN = 16 /* 16..31 IRQ0..IRQ15 interrupt =IRQBEGIN+IRQn */ |
333 | static inline int DestroyCursor(uint32_t cursor) __attribute__ ((alias ("destroy_cursor"))); |
346 | }; |
334 | |
347 | 335 | ||
348 | static inline |
336 | static inline |