KUDr@6264: /* $Id$ */ KUDr@6264: KUDr@6264: #ifndef WINDOW_EVENT_H KUDr@6264: #define WINDOW_EVENT_H KUDr@6264: KUDr@6264: namespace gui { KUDr@6264: KUDr@6264: KUDr@6264: template <> struct EventT : public EventBaseT { KUDr@6264: }; KUDr@6264: KUDr@6264: template <> struct EventT : public EventBaseT { KUDr@6264: }; KUDr@6264: KUDr@6264: template <> struct EventT : public EventBaseT { KUDr@6264: }; KUDr@6264: KUDr@6264: template <> struct EventT : public EventBaseT { KUDr@6264: bool m_cont; // continue the search? (default true) KUDr@6264: uint16 m_key; // 16-bit Unicode value of the key KUDr@6264: uint16 m_keycode; // untranslated key (including shift-state) KUDr@6264: KUDr@6264: EventT(bool cont, uint16 key, uint16 keycode) KUDr@6264: : m_cont(cont) KUDr@6264: , m_key(key) KUDr@6264: , m_keycode(keycode) KUDr@6264: {} KUDr@6264: }; KUDr@6264: KUDr@6264: template <> struct EventT : public EventBaseT { KUDr@6264: Point m_pt; KUDr@6264: KUDr@6264: EventT(const PointRaw &pt) KUDr@6264: : m_pt(pt) KUDr@6264: {} KUDr@6264: }; KUDr@6264: KUDr@6264: template <> struct EventT : public EventBaseT { KUDr@6264: Point m_pt; KUDr@6264: KUDr@6264: EventT(const PointRaw &pt) KUDr@6264: : m_pt(pt) KUDr@6264: {} KUDr@6264: }; KUDr@6264: KUDr@6264: KUDr@6264: KUDr@6264: KUDr@6264: }; // namespace gui KUDr@6264: KUDr@6264: #endif /* WINDOW_EVENT_H */