Rev 8453 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8453 | Rev 8544 | ||
---|---|---|---|
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 -... | Line 333... | ||
- | 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 333... | Line 345... | ||
333 | static inline int DestroyCursor(uint32_t cursor) __attribute__ ((alias ("destroy_cursor"))); |
345 | KOLIBRI_EVENT_IRQBEGIN = 16 /* 16..31 IRQ0..IRQ15 interrupt =IRQBEGIN+IRQn */ |
334 | 346 | }; |
|
335 | 347 | ||
336 | static inline |
348 | static inline |