76
76
* to complete construction.
79
mir_connection_create_spec_for_menu_surface(MirConnection* connection,
79
mir_connection_create_spec_for_menu(MirConnection* connection,
82
MirPixelFormat format,
85
MirEdgeAttachment edge);
88
* Create a surface specification for a tooltip surface.
90
* A tooltip surface becomes visible when the pointer hovers the specified
91
* target zone. A tooltip surface has no input focus and will be closed when
92
* the pointer moves out of the target zone or the parent closes, moves or hides
94
* The tooltip parent cannot be another tooltip surface.
96
* The tooltip position is decided by the server but typically it will appear
99
* \param [in] connection Connection the surface will be created on
100
* \param [in] width Requested width. The server is not guaranteed to
101
* return a surface of this width.
102
* \param [in] height Requested height. The server is not guaranteed to
103
* return a surface of this height.
104
* \param [in] format Pixel format for the surface.
105
* \param [in] parent A valid parent surface for this tooltip.
106
* \param [in] rect A target zone relative to parent.
107
* \return A handle that can be passed to mir_surface_create()
108
* to complete construction.
111
mir_connection_create_spec_for_tooltip(MirConnection* connection,
114
MirPixelFormat format,
119
* Create a surface specification for a modal dialog surface.
121
* The dialog surface will have input focus; the parent can still be moved,
122
* resized or hidden/minimized but no interaction is possible until the dialog
125
* A dialog will typically have no close/maximize button decorations.
127
* During surface creation, if the specified parent is another dialog surface
128
* the server may choose to close the specified parent in order to show this
129
* new dialog surface.
131
* \param [in] connection Connection the surface will be created on
132
* \param [in] width Requested width. The server is not guaranteed to
133
* return a surface of this width.
134
* \param [in] height Requested height. The server is not guaranteed to
135
* return a surface of this height.
136
* \param [in] format Pixel format for the surface.
137
* \param [in] parent A valid parent surface.
141
mir_connection_create_spec_for_modal_dialog(MirConnection* connection,
82
144
MirPixelFormat format,
85
MirEdgeAttachment edge);
148
* Create a surface specification for a parentless dialog surface.
150
* A parentless dialog surface is similar to a normal surface, but it cannot
151
* be fullscreen and typically won't have any maximize/close button decorations.
153
* A parentless dialog is not allowed to have other dialog children. The server
154
* may decide to close the parent and show the child dialog only.
156
* \param [in] connection Connection the surface will be created on
157
* \param [in] width Requested width. The server is not guaranteed to
158
* return a surface of this width.
159
* \param [in] height Requested height. The server is not guaranteed to
160
* return a surface of this height.
161
* \param [in] format Pixel format for the surface.
165
mir_connection_create_spec_for_dialog(MirConnection* connection,
168
MirPixelFormat format);
88
171
* Create a surface from a given specification