Mir
Namespaces | 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 <functional>
#include <chrono>
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
 

Typedefs

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

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 (frontend::SurfaceId const &surface_id, xkb_rule_names const &names)
 
EventUPtr mir::events::make_event (frontend::SurfaceId const &surface_id, int dpi, float scale, MirFormFactor form_factor)
 
EventUPtr mir::events::make_event (MirInputDeviceId device_id, std::chrono::nanoseconds timestamp, uint64_t mac, MirKeyboardAction action, xkb_keysym_t key_code, int scan_code, MirInputEventModifiers modifiers)
 
EventUPtr mir::events::make_event (MirInputDeviceId device_id, std::chrono::nanoseconds timestamp, MirKeyboardAction action, xkb_keysym_t key_code, int scan_code, MirInputEventModifiers modifiers) __attribute__((deprecated))
 
EventUPtr mir::events::make_event (MirInputDeviceId device_id, std::chrono::nanoseconds timestamp, uint64_t mac, MirInputEventModifiers modifiers)
 
EventUPtr mir::events::make_event (MirInputDeviceId device_id, std::chrono::nanoseconds timestamp, MirInputEventModifiers modifiers) __attribute__((deprecated))
 
void mir::events::add_touch (MirEvent &event, MirTouchId touch_id, MirTouchAction action, MirTouchTooltype 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, std::chrono::nanoseconds timestamp, uint64_t mac, MirInputEventModifiers modifiers, MirPointerAction action, MirPointerButtons buttons_pressed, float x_axis_value, float y_axis_value, float hscroll_value, float vscroll_value) __attribute__((deprecated))
 
EventUPtr mir::events::make_event (MirInputDeviceId device_id, std::chrono::nanoseconds timestamp, MirInputEventModifiers modifiers, MirPointerAction action, MirPointerButtons buttons_pressed, float x_axis_value, float y_axis_value, float hscroll_value, float vscroll_value) __attribute__((deprecated))
 
EventUPtr mir::events::make_event (MirInputDeviceId device_id, std::chrono::nanoseconds timestamp, uint64_t mac, MirInputEventModifiers modifiers, MirPointerAction action, MirPointerButtons buttons_pressed, float x_axis_value, float y_axis_value, float hscroll_value, float vscroll_value, float relative_x_value, float relative_y_value)
 
EventUPtr mir::events::make_event (MirInputDeviceId device_id, std::chrono::nanoseconds timestamp, MirInputEventModifiers modifiers, MirPointerAction action, MirPointerButtons buttons_pressed, float x_axis_value, float y_axis_value, float hscroll_value, float vscroll_value, float relative_x_value, float relative_y_value) __attribute__((deprecated))
 
EventUPtr mir::events::make_event (MirInputConfigurationAction action, MirInputDeviceId id, std::chrono::nanoseconds time)
 

Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Oct 8 16:20:16 UTC 2015