Mir
Macros | Functions | Variables
mir_cursor_api.cpp File Reference
#include "mir_toolkit/mir_cursor_configuration.h"
#include "cursor_configuration.h"
#include "mir/uncaught.h"
#include <memory>
Include dependency graph for mir_cursor_api.cpp:

Macros

#define MIR_LOG_COMPONENT   "MirCursorAPI"
 

Functions

void mir_cursor_configuration_destroy (MirCursorConfiguration *cursor)
 Release resources assosciated with cursor parameters. More...
 
MirCursorConfigurationmir_cursor_configuration_from_name (char const *name)
 Returns a new MirCursorConfiguration representing a named cursor from the system cursor theme. More...
 

Variables

char const *const mir_default_cursor_name = "default"
 A special cursor name for use with mir_cursor_configuration_from_name representing the system default cursor. More...
 
char const *const mir_disabled_cursor_name = "disabled"
 A special cursor name for use with mir_cursor_configuration_from_name representing a disabled cursor image. More...
 
char const *const mir_arrow_cursor_name = "arrow"
 The standard arrow cursor (typically the system default) More...
 
char const *const mir_busy_cursor_name = "busy"
 The "wait" cursor, typically an hourglass or watch used during operations which prevent the user from interacting. More...
 
char const *const mir_caret_cursor_name = "caret"
 The caret or ibeam cursor, indicating acceptance of text input. More...
 
char const *const mir_pointing_hand_cursor_name = "pointing-hand"
 The pointing hand cursor, typically used for clickable elements such as hyperlinks. More...
 
char const *const mir_open_hand_cursor_name = "open-hand"
 The open handed cursor, typically used to indicate that the area beneath the cursor may be clicked and dragged around. More...
 
char const *const mir_closed_hand_cursor_name = "closed-hand"
 The close handed cursor, typically used to indicate that a drag operation is in process which involves scrolling. More...
 
char const *const mir_horizontal_resize_cursor_name = "horizontal-resize"
 The cursor used to indicate a horizontal resize operation. More...
 
char const *const mir_vertical_resize_cursor_name = "vertical-resize"
 The cursor used to indicate a vertical resize operation. More...
 
char const *const mir_diagonal_resize_bottom_to_top_cursor_name = "diagonal-resize-bottom-to-top"
 The cursor used to indicate diagonal resize from top-right and bottom-left corners. More...
 
char const *const mir_diagonal_resize_top_to_bottom_cursor_name = "diagonal-resize-top_to_bottom"
 The cursor used to indicate diagonal resize from bottom-left and top-right corners. More...
 
char const *const mir_omnidirectional_resize_cursor_name = "omnidirectional-resize"
 The cursor used to indicate resize with no directional constraint. More...
 
char const *const mir_vsplit_resize_cursor_name = "vsplit-resize"
 The cursor used for vertical splitters, indicating that a handle may be dragged to adjust vertical space. More...
 
char const *const mir_hsplit_resize_cursor_name = "hsplit-resize"
 The cursor used for horizontal splitters, indicating that a handle may be dragged to adjust horizontal space. More...
 

Macro Definition Documentation

#define MIR_LOG_COMPONENT   "MirCursorAPI"

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