forked from AuroraMiddleware/gtk
docs: add docs for GtkFrameClock
This commit is contained in:
parent
ca61e63b2c
commit
eecfa3eb20
@ -31,6 +31,10 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GdkFrameClock:
|
||||||
|
* @parent_instance: The parent instance.
|
||||||
|
*/
|
||||||
struct _GdkFrameClock
|
struct _GdkFrameClock
|
||||||
{
|
{
|
||||||
GObject parent_instance;
|
GObject parent_instance;
|
||||||
@ -39,10 +43,24 @@ struct _GdkFrameClock
|
|||||||
GdkFrameClockPrivate *priv;
|
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
|
struct _GdkFrameClockClass
|
||||||
{
|
{
|
||||||
GObjectClass parent_class;
|
GObjectClass parent_class;
|
||||||
|
|
||||||
|
/*< public >*/
|
||||||
|
|
||||||
gint64 (* get_frame_time) (GdkFrameClock *clock);
|
gint64 (* get_frame_time) (GdkFrameClock *clock);
|
||||||
|
|
||||||
void (* request_phase) (GdkFrameClock *clock,
|
void (* request_phase) (GdkFrameClock *clock,
|
||||||
@ -65,6 +83,7 @@ struct _GdkFrameClockClass
|
|||||||
|
|
||||||
struct _GdkFrameTimings
|
struct _GdkFrameTimings
|
||||||
{
|
{
|
||||||
|
/*< private >*/
|
||||||
guint ref_count;
|
guint ref_count;
|
||||||
|
|
||||||
gint64 frame_counter;
|
gint64 frame_counter;
|
||||||
|
Loading…
Reference in New Issue
Block a user