Rapicorn - Experimental UI Toolkit - Source Code 10.08.1
Classes | Namespaces | Typedefs | Enumerations | Functions
events.hh File Reference
#include <ui/primitives.hh>
#include <ui/keycodes.hh>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Rapicorn::Event
class  Rapicorn::EventButton
class  Rapicorn::EventKey
struct  Rapicorn::EventWinSize
struct  Rapicorn::EventWinDraw
struct  Rapicorn::EventContext

Namespaces

namespace  Rapicorn

Typedefs

typedef Event Rapicorn::EventMouse
typedef Event Rapicorn::EventScroll
typedef Event Rapicorn::EventFocus
typedef Event Rapicorn::EventWinDelete

Enumerations

enum  Rapicorn::ModifierState {
  Rapicorn::MOD_0, Rapicorn::MOD_SHIFT, Rapicorn::MOD_CAPS_LOCK, Rapicorn::MOD_CONTROL,
  Rapicorn::MOD_ALT, Rapicorn::MOD_MOD1, Rapicorn::MOD_MOD2, Rapicorn::MOD_MOD3,
  Rapicorn::MOD_MOD4, Rapicorn::MOD_MOD5, Rapicorn::MOD_BUTTON1, Rapicorn::MOD_BUTTON2,
  Rapicorn::MOD_BUTTON3, Rapicorn::MOD_KEY_MASK, Rapicorn::MOD_MASK
}
enum  KeyValue
enum  Rapicorn::EventType {
  Rapicorn::EVENT_NONE, Rapicorn::MOUSE_ENTER, Rapicorn::MOUSE_MOVE, Rapicorn::MOUSE_LEAVE,
  Rapicorn::BUTTON_PRESS, Rapicorn::BUTTON_2PRESS, Rapicorn::BUTTON_3PRESS, Rapicorn::BUTTON_CANCELED,
  Rapicorn::BUTTON_RELEASE, Rapicorn::BUTTON_2RELEASE, Rapicorn::BUTTON_3RELEASE, Rapicorn::FOCUS_IN,
  Rapicorn::FOCUS_OUT, Rapicorn::KEY_PRESS, Rapicorn::KEY_CANCELED, Rapicorn::KEY_RELEASE,
  Rapicorn::SCROLL_UP, Rapicorn::SCROLL_DOWN, Rapicorn::SCROLL_LEFT, Rapicorn::SCROLL_RIGHT,
  Rapicorn::CANCEL_EVENTS, Rapicorn::WIN_SIZE, Rapicorn::WIN_DRAW, Rapicorn::WIN_DELETE,
  Rapicorn::EVENT_LAST
}

Functions

unichar Rapicorn::key_value_to_unichar (uint32 keysym)
bool Rapicorn::key_value_is_modifier (uint32 keysym)
bool Rapicorn::key_value_is_accelerator (uint32 keysym)
FocusDirType Rapicorn::key_value_to_focus_dir (uint32 keysym)
bool Rapicorn::key_value_is_focus_dir (uint32 keysym)
const char * Rapicorn::string_from_event_type (EventType etype)
Event * Rapicorn::create_event_transformed (const Event &source_event, const Affine &affine)
Event * Rapicorn::create_event_cancellation (const EventContext &econtext)
EventMouse * Rapicorn::create_event_mouse (EventType type, const EventContext &econtext)
EventButton * Rapicorn::create_event_button (EventType type, const EventContext &econtext, uint button)
EventScroll * Rapicorn::create_event_scroll (EventType type, const EventContext &econtext)
EventFocus * Rapicorn::create_event_focus (EventType type, const EventContext &econtext)
EventKey * Rapicorn::create_event_key (EventType type, const EventContext &econtext, uint32 key, const char *name)
EventWinSize * Rapicorn::create_event_win_size (const EventContext &econtext, uint draw_stamp, double width, double height)
EventWinDraw * Rapicorn::create_event_win_draw (const EventContext &econtext, uint draw_stamp, const std::vector< Rect > &rects)
EventWinDelete * Rapicorn::create_event_win_delete (const EventContext &econtext)

Detailed Description

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines