Mir
any_surface.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2014 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License version 2 or 3,
6  * as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * Authored By: Robert Carr <robert.carr@canonical.com>
17  */
18 
19 #ifndef MIR_TEST_FRAMEWORK_ANY_SURFACE_H_
20 #define MIR_TEST_FRAMEWORK_ANY_SURFACE_H_
21 
23 #include "mir/geometry/size.h"
24 
26 {
28 MirWindow* make_any_surface(MirConnection *connection, MirWindowEventCallback callback, void* context);
30 }
31 
32 #endif // MIR_TEST_FRAMEWORK_ANY_SURFACE_H_
Definition: size.h:30
struct MirSurface MirWindow
Definition: client_types.h:43
MirWindow * make_any_surface(MirConnection *connection)
struct MirConnection MirConnection
Definition: client_types.h:41
MirPixelFormat
32-bit pixel formats (8888): The order of components in the enum matches the order of the components ...
Definition: common.h:241
MirWindow * make_surface(MirConnection *connection, mir::geometry::Size size, MirPixelFormat format)
Definition: any_surface.h:25
void(* MirWindowEventCallback)(MirWindow *window, MirEvent const *event, void *context)
Callback for handling of window events.
Definition: client_types.h:120
MirPixelFormat the EGL implementation will now set correct pixel format
Definition: mir_connection.h:350

Copyright © 2012-2018 Canonical Ltd.
Generated on Sat Mar 31 14:22:42 UTC 2018