18 #ifndef MIR_TOOLKIT_MIR_SURFACE_H_ 19 #define MIR_TOOLKIT_MIR_SURFACE_H_ 37 #pragma GCC diagnostic push 38 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 43 __attribute__((deprecated(
"Use mir_create_normal_window_spec() instead")));
53 __attribute__((deprecated(
"Use mir_specify_menu() instead")));
61 __attribute__((deprecated(
"Use mir_create_tip_window_spec() instead")));
70 __attribute__((deprecated(
"Use mir_create_tip_window_spec() instead")));
77 __attribute__((deprecated(
"Use mir_create_modal_dialog_window_spec() instead")));
83 __attribute__((deprecated(
"Use mir_create_dialog_window_spec() instead")));
86 __attribute__((deprecated(
"Use mir_create_window_spec() instead")));
90 __attribute__((deprecated(
"Use mir_create_window_spec() instead")));
93 __attribute__((deprecated(
"Use mir_window_spec_set_parent() instead")));
106 __attribute__((deprecated(
"This will soon be a property of the backing content")));
109 __attribute__((deprecated(
"use mir_window_spec_set_type() instead")));
112 __attribute__((deprecated(
"use mir_window_spec_set_name() instead")));
115 __attribute__((deprecated(
"use mir_window_spec_set_width() instead")));
118 __attribute__((deprecated(
"use mir_window_spec_set_height() instead")));
121 __attribute__((deprecated(
"use mir_window_spec_set_width_increment() instead")));
124 __attribute__((deprecated(
"use mir_window_spec_set_height_increment() instead")));
127 __attribute__((deprecated(
"use mir_window_spec_set_min_width() instead")));
130 __attribute__((deprecated(
"use mir_window_spec_set_min_height() instead")));
133 __attribute__((deprecated(
"use mir_window_spec_set_max_width() instead")));
136 __attribute__((deprecated(
"use mir_window_spec_set_max_height() instead")));
139 __attribute__((deprecated(
"use mir_window_spec_set_min_aspect_ratio() instead")));
142 __attribute__((deprecated(
"use mir_window_spec_set_max_aspect_ratio() instead")));
145 __attribute__((deprecated(
"use mir_window_spec_set_fullscreen_on_output() instead")));
148 __attribute__((deprecated(
"use mir_window_spec_set_preferred_orientation() instead")));
151 MirPersistentId* parent,
154 __attribute__((deprecated(
"use mir_window_spec_attach_to_foreign_parent() instead")));
157 __attribute__((deprecated(
"use mir_window_spec_set_state() instead")));
160 __attribute__((deprecated(
"use mir_window_spec_release() instead")));
165 __attribute__((deprecated(
"use mir_window_spec_set_input_shape() instead")));
170 __attribute__((deprecated(
"use mir_window_spec_set_event_handler() instead")));
173 __attribute__((deprecated(
"use mir_window_spec_set_shell_chrome() instead")));
176 __attribute__((deprecated(
"use mir_window_spec_set_pointer_confinement() instead")));
185 __attribute__((deprecated(
"use mir_window_spec_set_placement() instead")));
190 __attribute__((deprecated(
"use mir_create_input_method_window_spec() instead")));
193 __attribute__((deprecated(
"use mir_window_spec_set_pixel_format() instead")));
196 __attribute__((deprecated(
"use mir_window_spec_set_buffer_usage() instead")));
200 unsigned int num_streams)
201 __attribute__((deprecated(
"use mir_window_spec_set_streams() instead")));
204 __attribute__((deprecated(
"use mir_window_apply_spec() instead")));
207 __attribute__((deprecated(
"use mir_window_is_valid() instead")));
211 __attribute__((deprecated(
"use mir_create_window() instead")));
214 __attribute__((deprecated(
"use mir_create_window_sync() instead")));
220 __attribute__((deprecated(
"use mir_window_release() instead")));
223 __attribute__((deprecated(
"use mir_window_release_sync() instead")));
228 __attribute__((deprecated(
"use mir_window_set_event_handler() instead")));
231 __attribute__((deprecated(
"use mir_window_get_buffer_stream() instead")));
234 __attribute__((deprecated(
"use mir_window_get_error_message() instead")));
237 __attribute__((deprecated(
"use mir_window_get_parameters() instead")));
240 __attribute__((deprecated(
"use mir_window_get_type() instead")));
244 __attribute__((deprecated(
"use mir_window_set_state() instead")));
247 __attribute__((deprecated(
"use mir_window_get_state() instead")));
263 __attribute__((deprecated(
"Swap interval should be set on the backing content")));
266 __attribute__((deprecated(
"use mir_window_get_dpi() instead")));
269 __attribute__((deprecated(
"use mir_window_get_focus_state() instead")));
272 __attribute__((deprecated(
"use mir_window_get_visibility() instead")));
275 __attribute__((deprecated(
"use mir_window_configure_cursor() instead")));
278 __attribute__((deprecated(
"use mir_window_get_orientation() instead")));
281 __attribute__((deprecated(
"use mir_window_set_preferred_orientation() instead")));
284 __attribute__((deprecated(
"use mir_window_get_preferred_orientation() instead")));
287 __attribute__((deprecated(
"use mir_window_request_persistent_id() instead")));
290 __attribute__((deprecated(
"use mir_window_request_persistent_id_sync() instead")));
293 __attribute__((deprecated(
"use mir_window_raise() instead")));
295 #pragma GCC diagnostic pop
struct MirCursorConfiguration MirCursorConfiguration
Opaque structure containing cursor parameterization.
Definition: mir_cursor_configuration.h:28
The displacement from the top-left corner of the surface.
Definition: client_types.h:380
unsigned int height
Definition: mir_image.h:27
unsigned int width
Definition: mir_image.h:26
char const * name
Definition: client_types.h:170
Definition: client_types.h:387
uint32_t output_id
The id of the output to place the surface in.
Definition: client_types.h:183
MirWindowParameters is the structure of minimum required information that you must provide to Mir in ...
Definition: client_types.h:188