summaryrefslogtreecommitdiff
path: root/editor/editor_profiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_profiler.h')
-rw-r--r--editor/editor_profiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_profiler.h b/editor/editor_profiler.h
index d902a97c5d..cb451475e7 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,6 +134,7 @@ private:
void _update_frame();
void _activate_pressed();
+ void _clear_pressed();
String _get_time_as_text(Metric &m, float p_time, int p_calls);