Debian Codegraph @

clutter/deprecated/clutter-main.h

raw
1 /*
2 * Clutter.
3 *
4 * An OpenGL based 'interactive canvas' library.
5 *
6 * Copyright (C) 2011 Intel Corp
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22 #if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
23 #error "Only <clutter/clutter.h> can be included directly."
24 #endif
25
26 #ifndef __CLUTTER_MAIN_DEPRECATED_H__
27 #define __CLUTTER_MAIN_DEPRECATED_H__
28
29 #include <clutter/clutter-types.h>
30 #include <clutter/clutter-input-device.h>
31
32 G_BEGIN_DECLS
33
34 CLUTTER_DEPRECATED_IN_1_10
35 void clutter_threads_init (void);
36
37 CLUTTER_DEPRECATED_IN_1_12
38 void clutter_threads_enter (void);
39
40 CLUTTER_DEPRECATED_IN_1_12
41 void clutter_threads_leave (void);
42
43 CLUTTER_DEPRECATED_IN_1_6
44 guint clutter_threads_add_frame_source (guint fps,
45 GSourceFunc func,
46 gpointer data);
47 CLUTTER_DEPRECATED_IN_1_6
48 guint clutter_threads_add_frame_source_full (gint priority,
49 guint fps,
50 GSourceFunc func,
51 gpointer data,
52 GDestroyNotify notify);
53
54 CLUTTER_DEPRECATED_IN_1_8_FOR(clutter_stage_set_motion_events_enabled)
55 void clutter_set_motion_events_enabled (gboolean enable);
56
57 CLUTTER_DEPRECATED_IN_1_8_FOR(clutter_stage_get_motion_events_enabled)
58 gboolean clutter_get_motion_events_enabled (void);
59
60 CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_stage_ensure_redraw)
61 void clutter_redraw (ClutterStage *stage);
62
63 CLUTTER_DEPRECATED_IN_1_10_FOR(cogl_pango_font_map_clear_glyph_cache)
64 void clutter_clear_glyph_cache (void);
65
66 CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_backend_set_font_options)
67 void clutter_set_font_flags (ClutterFontFlags flags);
68
69 CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_backend_get_font_options)
70 ClutterFontFlags clutter_get_font_flags (void);
71
72 CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_device_manager_get_device)
73 ClutterInputDevice * clutter_get_input_device_for_id (gint id_);
74
75 CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_input_device_grab)
76 void clutter_grab_pointer_for_device (ClutterActor *actor,
77 gint id_);
78
79 CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_input_device_ungrab)
80 void clutter_ungrab_pointer_for_device (gint id_);
81
82 CLUTTER_DEPRECATED_IN_1_10
83 void clutter_set_default_frame_rate (guint frames_per_sec);
84
85 CLUTTER_DEPRECATED_IN_1_10
86 gulong clutter_get_timestamp (void);
87
88 CLUTTER_DEPRECATED_IN_1_10
89 gboolean clutter_get_debug_enabled (void);
90
91 CLUTTER_DEPRECATED_IN_1_10
92 gboolean clutter_get_show_fps (void);
93
94 G_END_DECLS
95
96 #endif /* __CLUTTER_MAIN_DEPRECATED_H__ */