summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-20 15:59:04 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-20 18:27:28 -0500
commiteecfa3eb20022e7f0a18ec03bf30f2a7ae328d33 (patch)
treec4c947262ac72b0ce2467b09cd002f1fdcc3d8e4
parentca61e63b2ca499f366edb5e9faef2c924d83a12e (diff)
downloadgtk+-eecfa3eb20022e7f0a18ec03bf30f2a7ae328d33.tar.gz
docs: add docs for GtkFrameClock
-rw-r--r--gdk/gdkframeclockprivate.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/gdk/gdkframeclockprivate.h b/gdk/gdkframeclockprivate.h
index 64f74efc94..5181d74cca 100644
--- a/gdk/gdkframeclockprivate.h
+++ b/gdk/gdkframeclockprivate.h
@@ -31,6 +31,10 @@
G_BEGIN_DECLS
+/**
+ * GdkFrameClock:
+ * @parent_instance: The parent instance.
+ */
struct _GdkFrameClock
{
GObject parent_instance;
@@ -39,10 +43,24 @@ struct _GdkFrameClock
GdkFrameClockPrivate *priv;
};
+/**
+ * GdkFrameClockClass:
+ * @parent_class: The parent class.
+
+ * @get_frame_time: Gets the time that should currently be used for
+ * animations.
+ * @request_phase: Asks the frame clock to run a particular phase.
+ * @begin_updating: Starts updates for an animation.
+ * @end_updating: Stops updates for an animation.
+ * @freeze:
+ * @thaw:
+ */
struct _GdkFrameClockClass
{
GObjectClass parent_class;
+ /*< public >*/
+
gint64 (* get_frame_time) (GdkFrameClock *clock);
void (* request_phase) (GdkFrameClock *clock,
@@ -65,6 +83,7 @@ struct _GdkFrameClockClass
struct _GdkFrameTimings
{
+ /*< private >*/
guint ref_count;
gint64 frame_counter;