14 #ifndef T3_WIDGET_KEYBUFFER_H
15 #define T3_WIDGET_KEYBUFFER_H
17 #ifndef _T3_WIDGET_INTERNAL
18 #error This header file is for internal use _only_!!
27 #include <t3widget/key.h>
28 #include <t3widget/thread.h>
51 items.push_back(item);
63 result = items.front();
77 if (find(items.begin(), items.end(), key) != items.end())
91 typedef item_buffer_t<mouse_event_t> mouse_event_buffer_t;