Commit 237ac1d5 authored by Murray Cumming's avatar Murray Cumming

Revert "main.h : Removed deprecated methods."

This reverts commit 4566aab3.
parent 3b072626
......@@ -85,6 +85,16 @@ void clear_glyph_cache()
{
clutter_clear_glyph_cache();
}
void set_font_flags(FontFlags flags)
{
clutter_set_font_flags((ClutterFontFlags)flags);
}
FontFlags get_font_flags()
{
return (FontFlags)clutter_get_font_flags();
}
#endif //CLUTTERMM_DISABLE_DEPRECATED
......
......@@ -88,7 +88,6 @@ void set_default_frame_rate(guint frames_per_sec);
guint get_default_frame_rate();
#ifndef CLUTTERMM_DISABLE_DEPRECATED
/** Sets whether per-actor motion events should be enabled or not
* (the default is to enable them).
*
......@@ -119,9 +118,19 @@ bool get_motion_events_enabled();
*
* @deprecated Use get_font_map() and cogl_pango_font_map_clear_glyph_cache() instead.
*/
void clear_glyph_cache();
//TODO: Documentation:
void clear_glyph_cache();
/**
* @deprecated Use Backend::set_font_options() and the cairo_font_option_t API.
*/
void set_font_flags(FontFlags flags);
/**
* @deprecated Use Backend::get_font_options() and the cairo_font_option_t API.
*/
FontFlags get_font_flags();
#endif //CLUTTERMM_DISABLE_DEPRECATED
Glib::RefPtr<Pango::FontMap> get_font_map();
......@@ -198,3 +207,4 @@ void do_event(Event* event);
} //namespace Clutter
#endif //_LIBCLUTTERMM_MAIN_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment