Mir
Namespaces | Macros | Typedefs | Functions
event_builders.h File Reference
#include "mir_toolkit/event.h"
#include "mir/geometry/size.h"
#include "mir/frontend/surface_id.h"
#include <memory>
#include <vector>
#include <functional>
Include dependency graph for event_builders.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mir
 All things Mir.
 
 mir::events
 

Macros

#define MIR_INCLUDE_DEPRECATED_EVENT_HEADER
 
#define MIR_EVENT_BUILDERS_H_
 

Typedefs

typedef std::unique_ptr< MirEvent, void(*)(MirEvent *)> mir::EventUPtr
 

Functions

EventUPtr mir::events::make_event (frontend::SurfaceId const &surface_id, MirOrientation orientation)
 
EventUPtr mir::events::make_event (MirPromptSessionState state)
 
EventUPtr mir::events::make_event (frontend::SurfaceId const &surface_id, geometry::Size const &size)
 
EventUPtr mir::events::make_event (frontend::SurfaceId const &surface_id, MirSurfaceAttrib attribute, int value)
 
EventUPtr mir::events::make_event (frontend::SurfaceId const &surface_id)
 
EventUPtr mir::events::make_event (MirInputDeviceId device_id, int64_t timestamp, MirKeyInputEventAction action, xkb_keysym_t key_code, int scan_code, MirInputEventModifiers modifiers)
 
EventUPtr mir::events::make_event (MirInputDeviceId device_id, int64_t timestamp, MirInputEventModifiers modifiers)
 
void mir::events::add_touch (MirEvent &event, MirTouchInputEventTouchId touch_id, MirTouchInputEventTouchAction action, MirTouchInputEventTouchTooltype tooltype, float x_axis_value, float y_axis_value, float pressure_value, float touch_major_value, float touch_minor_value, float size_value)
 
EventUPtr mir::events::make_event (MirInputDeviceId device_id, int64_t timestamp, MirInputEventModifiers modifiers, MirPointerInputEventAction action, std::vector< MirPointerInputEventButton > const &buttons_pressed, float x_axis_value, float y_axis_value, float hscroll_value, float vscroll_value)
 

Macro Definition Documentation

#define MIR_EVENT_BUILDERS_H_
#define MIR_INCLUDE_DEPRECATED_EVENT_HEADER

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015