Add Canvas::get_last_render_start_timestamp method

This commit is contained in:
Tim Mayberry 2017-03-28 14:05:03 +10:00
parent 8538ba35fe
commit ab13e87ec2
2 changed files with 7 additions and 0 deletions

View file

@ -89,6 +89,8 @@ public:
void prepare_for_render (Rect const &) const;
gint64 get_last_render_start_timestamp () const { return _last_render_start_timestamp; }
/** @return root group */
Item* root () {
return &_root;
@ -169,6 +171,8 @@ protected:
Root _root;
Color _bg_color;
mutable gint64 _last_render_start_timestamp;
static uint32_t tooltip_timeout_msecs;
void queue_draw_item_area (Item *, Rect);