Rapicorn - Experimental UI Toolkit - Source Code  13.07.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Classes | Namespaces | Typedefs | Enumerations | Functions
events.hh File Reference
#include <ui/primitives.hh>
#include <ui/keysymbols.hh>

Go to the source code of this file.

Classes

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

Namespaces

namespace  Rapicorn
 

The Rapicorn namespace encompasses core utilities and toolkit functionality.


Typedefs

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

Enumerations

enum  ModifierState {
  MOD_0, MOD_SHIFT, MOD_CAPS_LOCK, MOD_CONTROL,
  MOD_ALT, MOD_MOD1, MOD_MOD2, MOD_MOD3,
  MOD_MOD4, MOD_MOD5, MOD_BUTTON1, MOD_BUTTON2,
  MOD_BUTTON3, MOD_KEY_MASK, MOD_MASK
}
enum  KeyValue
enum  ActivateKeyType { ACTIVATE_NONE, ACTIVATE_FOCUS, ACTIVATE_DEFAULT }
enum  EventType {
  EVENT_NONE, MOUSE_ENTER, MOUSE_MOVE, MOUSE_LEAVE,
  BUTTON_PRESS, BUTTON_2PRESS, BUTTON_3PRESS, BUTTON_CANCELED,
  BUTTON_RELEASE, BUTTON_2RELEASE, BUTTON_3RELEASE, FOCUS_IN,
  FOCUS_OUT, KEY_PRESS, KEY_CANCELED, KEY_RELEASE,
  SCROLL_UP, SCROLL_DOWN, SCROLL_LEFT, SCROLL_RIGHT,
  CANCEL_EVENTS, WIN_SIZE, WIN_DELETE, WIN_DESTROY,
  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)
ActivateKeyType Rapicorn::key_value_to_activation (uint32 keysym)
bool Rapicorn::key_value_is_cancellation (uint32 keysym)
const charRapicorn::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, double width, double height, bool intermediate)
EventWinDelete * Rapicorn::create_event_win_delete (const EventContext &econtext)
EventWinDestroy * Rapicorn::create_event_win_destroy (const EventContext &econtext)

Detailed Description

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines