Browse Source

implement timer; add loc_XEventProc(); add lglw_events()

pull/1639/head
bsp2 6 years ago
parent
commit
80814e3b18
2 changed files with 502 additions and 406 deletions
  1. +5
    -0
      dep/lglw/lglw.h
  2. +497
    -406
      dep/lglw/lglw_linux.c

+ 5
- 0
dep/lglw/lglw.h View File

@@ -267,6 +267,11 @@ void lglw_clipboard_text_set (lglw_t _lglw, const uint32_t _numChars, const char
// Get clipboard string
void lglw_clipboard_text_get (lglw_t _lglw, uint32_t _maxChars, uint32_t *_retNumChars, char *_retText);

// Process all available events and return (i.e.: don't loop, don't block)
// (note) events are usually delivered to the window's event callback (WndProc on Windows)
// (note) do we really need this on Linux ?
void lglw_events (lglw_t _lglw);

#include "cplusplus_end.h"

#endif // __LGLW_H__

+ 497
- 406
dep/lglw/lglw_linux.c
File diff suppressed because it is too large
View File


Loading…
Cancel
Save