Debian Codegraph @

clutter/win32/clutter-win32.h

raw
1 /*
2 * Clutter.
3 *
4 * An OpenGL based 'interactive canvas' library.
5 *
6 * Authored By Matthew Allum <[email protected]>
7 *
8 * Copyright (C) 2006 OpenedHand
9 *
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version.
14 *
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
22 *
23 *
24 */
25
26 /**
27 * SECTION:clutter-win32
28 * @short_description: Win32 specific API
29 *
30 * The Win32 backend for Clutter provides some specific API, allowing
31 * integration with the Win32 API for embedding and manipulating the
32 * stage window.
33 *
34 * The ClutterWin32 API is available since Clutter 0.8
35 */
36
37 #ifndef __CLUTTER_WIN32_H__
38 #define __CLUTTER_WIN32_H__
39
40 #include <glib.h>
41 #include <clutter/clutter.h>
42 #include <windows.h>
43
44 G_BEGIN_DECLS
45
46 CLUTTER_AVAILABLE_IN_ALL
47 HWND clutter_win32_get_stage_window (ClutterStage *stage);
48 CLUTTER_AVAILABLE_IN_ALL
49 ClutterStage *clutter_win32_get_stage_from_window (HWND hwnd);
50
51 CLUTTER_AVAILABLE_IN_ALL
52 gboolean clutter_win32_set_stage_foreign (ClutterStage *stage,
53 HWND hwnd);
54
55 CLUTTER_AVAILABLE_IN_ALL
56 void clutter_win32_disable_event_retrieval (void);
57
58 CLUTTER_AVAILABLE_IN_ALL
59 gboolean clutter_win32_handle_event (const MSG *msg);
60
61 G_END_DECLS
62
63 #endif /* __CLUTTER_WIN32_H__ */