Clean up profiler

This commit is contained in:
pkowal 2020-04-17 18:50:05 +02:00
parent 55faf1c874
commit f93de6f94f
2 changed files with 59 additions and 147 deletions

View file

@ -106,13 +106,13 @@ private:
SpinBox *cursor_metric_edit;
Vector<Metric> frame_metrics;
int total_metrics;
int last_metric;
int max_functions;
bool updating_frame;
//int cursor_metric;
int hover_metric;
float graph_height;
@ -139,14 +139,14 @@ private:
void _graph_tex_draw();
void _graph_tex_input(const Ref<InputEvent> &p_ev);
int _get_cursor_index() const;
Color _get_color_from_signature(const StringName &p_signature) const;
void _cursor_metric_changed(double);
void _combo_changed(int);
Metric _get_frame_metric(int index);
protected:
void _notification(int p_what);
static void _bind_methods();