21 #ifndef MIR_TOOLKIT_CLIENT_TYPES_H_
22 #define MIR_TOOLKIT_CLIENT_TYPES_H_
63 typedef struct MirCursorConfiguration MirCursorConfiguration
170 MirPromptSession *prompt_session,
size_t count,
int const* fds,
void* context);
174 #pragma GCC diagnostic push
175 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
177 MirWindow* window, MirPersistentId* id,
void* context);
178 #pragma GCC diagnostic pop
201 #pragma GCC diagnostic push
202 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
204 #pragma GCC diagnostic pop
467 mir_prompt_session_state_change_callback
567 #pragma GCC diagnostic push
568 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
574 MirSurface* surface,
MirEvent const* event,
void* context)
578 MirSurface* surface, MirPersistentId* id,
void* context)
584 #pragma GCC diagnostic pop
mir_buffer_usage_software
Definition: client_types.h:2
mir_buffer_usage_hardware
Definition: client_types.h:0
The displacement from the top-left corner of the surface.
Definition: client_types.h:392
MirBufferStream * stream
Definition: client_types.h:393
int displacement_x
Definition: client_types.h:394
int displacement_y
Definition: client_types.h:395
MirDisplayConfiguration provides details of the graphics environment.
Definition: client_types.h:309
uint32_t max_simultaneous_outputs
Definition: client_types.h:311
uint32_t card_id
Definition: client_types.h:310
Definition: client_types.h:381
uint32_t num_cards
Definition: client_types.h:384
MirDisplayOutput * outputs
Definition: client_types.h:383
uint32_t num_outputs
Definition: client_types.h:382
MirDisplayCard * cards
Definition: client_types.h:385
Definition: client_types.h:296
uint32_t width
Definition: client_types.h:297
MirPixelFormat supported_pixel_format[mir_supported_pixel_format_max]
Definition: client_types.h:301
int supported_pixel_format_items
Definition: client_types.h:300
uint32_t height
Definition: client_types.h:298
Definition: client_types.h:344
double refresh_rate
Definition: client_types.h:347
uint32_t vertical_resolution
Definition: client_types.h:345
uint32_t horizontal_resolution
Definition: client_types.h:346
Definition: client_types.h:353
MirPixelFormat current_format
Definition: client_types.h:362
uint32_t card_id
Definition: client_types.h:364
uint32_t connected
Definition: client_types.h:370
MirDisplayMode * modes
Definition: client_types.h:355
MirDisplayOutputType type
Definition: client_types.h:366
int32_t position_y
Definition: client_types.h:369
MirOrientation orientation
Definition: client_types.h:377
uint32_t num_modes
Definition: client_types.h:354
int32_t position_x
Definition: client_types.h:368
MirPixelFormat * output_formats
Definition: client_types.h:361
uint32_t preferred_mode
There might be no preferred mode, which is indicated by a value >=num_modes.
Definition: client_types.h:356
uint32_t physical_height_mm
Definition: client_types.h:374
uint32_t num_output_formats
Definition: client_types.h:360
MirPowerMode power_mode
Definition: client_types.h:376
uint32_t physical_width_mm
Definition: client_types.h:373
uint32_t output_id
Definition: client_types.h:365
uint32_t used
Definition: client_types.h:371
uint32_t current_mode
Definition: client_types.h:358
Retrieved information about a MirWindow.
Definition: client_types.h:282
int width
Definition: client_types.h:283
int height
Definition: client_types.h:284
int stride
Definition: client_types.h:285
MirPixelFormat pixel_format
Definition: client_types.h:286
char * vaddr
Definition: client_types.h:287
Retrieved information about a loadable module.
Definition: client_types.h:254
char const * filename
Definition: client_types.h:259
char const * name
Definition: client_types.h:255
int major_version
Definition: client_types.h:256
int micro_version
Definition: client_types.h:258
int minor_version
Definition: client_types.h:257
Definition: client_types.h:399
int top
Definition: client_types.h:401
unsigned int height
Definition: client_types.h:403
int left
Definition: client_types.h:400
unsigned int width
Definition: client_types.h:402
MirScreencastParameters is the structure of required information that you must provide to Mir in orde...
Definition: client_types.h:420
MirPixelFormat pixel_format
The pixel format of the screencast.
Definition: client_types.h:434
unsigned int width
The width of the screencast which can be different than the screen region capture width.
Definition: client_types.h:427
MirRectangle region
The rectangular region of the screen to capture - The region is specified in virtual screen space hen...
Definition: client_types.h:425
unsigned int height
The height of the screencast which can be different than the screen region capture height.
Definition: client_types.h:429
MirWindowParameters is the structure of minimum required information that you must provide to Mir in ...
Definition: client_types.h:196
int width
Definition: client_types.h:198
int height
Definition: client_types.h:199
MirPixelFormat pixel_format
Definition: client_types.h:200
char const * name
Definition: client_types.h:197
uint32_t output_id
The id of the output to place the surface in.
Definition: client_types.h:214
MirBufferUsage buffer_usage
Definition: client_types.h:203