Fix compile.

This commit is contained in:
Relintai 2022-07-27 14:07:52 +02:00
parent 37413614eb
commit 3a4cd703ac
2 changed files with 9 additions and 0 deletions

View File

@ -32,6 +32,9 @@
#include "editor/editor_scale.h"
#include "scene/gui/label.h"
#include "scene/gui/texture_rect.h"
void BitMapEditor::setup(const Ref<BitMap> &p_bitmap) {
Ref<ImageTexture> texture;
texture.instance();

View File

@ -31,9 +31,15 @@
#ifndef BIT_MAP_EDITOR_PLUGIN_H
#define BIT_MAP_EDITOR_PLUGIN_H
#include "editor/editor_inspector.h"
#include "editor/editor_plugin.h"
#include "scene/resources/bit_map.h"
#include "scene/gui/box_container.h"
class TextureRect;
class Label;
class BitMapEditor : public VBoxContainer {
GDCLASS(BitMapEditor, VBoxContainer);