2011-12-28 13:32:00 -05:00
|
|
|
/*
|
|
|
|
* Clutter.
|
|
|
|
*
|
|
|
|
* An OpenGL based 'interactive canvas' library.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2011 Intel Corp
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
|
|
|
|
#error "Only <clutter/clutter.h> can be included directly."
|
|
|
|
#endif
|
|
|
|
|
2011-11-02 08:32:09 -04:00
|
|
|
#ifndef __CLUTTER_MAIN_DEPRECATED_H__
|
|
|
|
#define __CLUTTER_MAIN_DEPRECATED_H__
|
|
|
|
|
|
|
|
#include <clutter/clutter-types.h>
|
2011-11-03 11:03:16 -04:00
|
|
|
#include <clutter/clutter-input-device.h>
|
2011-11-02 08:32:09 -04:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2012-02-27 10:10:13 -05:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10
|
2011-11-02 08:32:09 -04:00
|
|
|
void clutter_threads_init (void);
|
|
|
|
|
2012-02-27 10:10:13 -05:00
|
|
|
CLUTTER_DEPRECATED_IN_1_6
|
2011-11-02 08:32:09 -04:00
|
|
|
guint clutter_threads_add_frame_source (guint fps,
|
|
|
|
GSourceFunc func,
|
|
|
|
gpointer data);
|
2012-02-27 10:10:13 -05:00
|
|
|
CLUTTER_DEPRECATED_IN_1_6
|
2011-11-02 08:32:09 -04:00
|
|
|
guint clutter_threads_add_frame_source_full (gint priority,
|
|
|
|
guint fps,
|
|
|
|
GSourceFunc func,
|
|
|
|
gpointer data,
|
|
|
|
GDestroyNotify notify);
|
|
|
|
|
2012-02-27 10:10:13 -05:00
|
|
|
CLUTTER_DEPRECATED_IN_1_8_FOR(clutter_stage_set_motion_events_enabled)
|
2011-11-02 08:32:09 -04:00
|
|
|
void clutter_set_motion_events_enabled (gboolean enable);
|
|
|
|
|
2012-02-27 10:10:13 -05:00
|
|
|
CLUTTER_DEPRECATED_IN_1_8_FOR(clutter_stage_get_motion_events_enabled)
|
2011-11-02 08:32:09 -04:00
|
|
|
gboolean clutter_get_motion_events_enabled (void);
|
|
|
|
|
2012-02-27 10:10:13 -05:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_stage_ensure_redraw)
|
2011-11-02 08:32:09 -04:00
|
|
|
void clutter_redraw (ClutterStage *stage);
|
|
|
|
|
2012-02-27 10:10:13 -05:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10_FOR(cogl_pango_font_map_clear_glyph_cache)
|
2011-11-02 08:32:09 -04:00
|
|
|
void clutter_clear_glyph_cache (void);
|
|
|
|
|
2012-02-27 10:10:13 -05:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_backend_set_font_options)
|
2011-11-02 08:32:09 -04:00
|
|
|
void clutter_set_font_flags (ClutterFontFlags flags);
|
|
|
|
|
2012-02-27 10:10:13 -05:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_backend_get_font_options)
|
2011-11-02 08:32:09 -04:00
|
|
|
ClutterFontFlags clutter_get_font_flags (void);
|
|
|
|
|
2012-02-27 10:10:13 -05:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_device_manager_get_device)
|
2011-11-02 08:32:09 -04:00
|
|
|
ClutterInputDevice * clutter_get_input_device_for_id (gint id_);
|
|
|
|
|
2012-02-27 10:10:13 -05:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_input_device_grab)
|
2011-11-07 15:24:13 -05:00
|
|
|
void clutter_grab_pointer_for_device (ClutterActor *actor,
|
2011-11-02 08:32:09 -04:00
|
|
|
gint id_);
|
|
|
|
|
2012-02-27 10:10:13 -05:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_input_device_ungrab)
|
2011-11-07 15:24:13 -05:00
|
|
|
void clutter_ungrab_pointer_for_device (gint id_);
|
|
|
|
|
2012-02-27 10:10:13 -05:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10
|
2011-11-07 15:24:13 -05:00
|
|
|
void clutter_set_default_frame_rate (guint frames_per_sec);
|
2011-11-02 08:32:09 -04:00
|
|
|
|
2012-02-27 10:10:13 -05:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10
|
2011-11-15 12:47:00 -05:00
|
|
|
gulong clutter_get_timestamp (void);
|
|
|
|
|
2012-02-27 10:10:13 -05:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10
|
2011-11-15 12:58:25 -05:00
|
|
|
gboolean clutter_get_debug_enabled (void);
|
|
|
|
|
2012-02-27 10:10:13 -05:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10
|
2011-11-15 12:58:25 -05:00
|
|
|
gboolean clutter_get_show_fps (void);
|
|
|
|
|
2011-11-02 08:32:09 -04:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __CLUTTER_MAIN_DEPRECATED_H__ */
|