diff options
Diffstat (limited to 'editor/editor_profiler.h')
-rw-r--r-- | editor/editor_profiler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/editor_profiler.h b/editor/editor_profiler.h index d902a97c5d..d445ad58aa 100644 --- a/editor/editor_profiler.h +++ b/editor/editor_profiler.h @@ -100,6 +100,7 @@ public: private: Button *activate; + Button *clear_button; TextureRect *graph; Ref<ImageTexture> graph_texture; PoolVector<uint8_t> graph_image; @@ -133,8 +134,9 @@ private: void _update_frame(); void _activate_pressed(); + void _clear_pressed(); - String _get_time_as_text(Metric &m, float p_time, int p_calls); + String _get_time_as_text(const Metric &m, float p_time, int p_calls); void _make_metric_ptrs(Metric &m); void _item_edited(); |