summaryrefslogtreecommitdiff
path: root/tools/editor/editor_profiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/editor_profiler.h')
-rw-r--r--tools/editor/editor_profiler.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/editor/editor_profiler.h b/tools/editor/editor_profiler.h
index f5cea118ce..52b38cdae8 100644
--- a/tools/editor/editor_profiler.h
+++ b/tools/editor/editor_profiler.h
@@ -3,7 +3,7 @@
#include "scene/gui/box_container.h"
-#include "scene/gui/texture_frame.h"
+#include "scene/gui/texture_rect.h"
#include "scene/gui/button.h"
#include "scene/gui/label.h"
#include "scene/gui/tree.h"
@@ -14,7 +14,7 @@
class EditorProfiler : public VBoxContainer {
- OBJ_TYPE(EditorProfiler,VBoxContainer)
+ GDCLASS(EditorProfiler,VBoxContainer)
public:
@@ -71,9 +71,9 @@ public:
private:
Button *activate;
- TextureFrame *graph;
+ TextureRect *graph;
Ref<ImageTexture> graph_texture;
- DVector<uint8_t> graph_image;
+ PoolVector<uint8_t> graph_image;
Tree *variables;
HSplitContainer *h_split;