feat: modules moved and engine moved to submodule

This commit is contained in:
Jan van der Weide 2025-04-12 18:40:44 +02:00
parent dfb5e645cd
commit c33d2130cc
5136 changed files with 225275 additions and 64485 deletions

View file

@ -28,21 +28,31 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef BIT_MAP_EDITOR_PLUGIN_H
#define BIT_MAP_EDITOR_PLUGIN_H
#pragma once
#include "editor/editor_inspector.h"
#include "editor/plugins/editor_plugin.h"
#include "scene/resources/bit_map.h"
class AspectRatioContainer;
class TextureRect;
class BitMapEditor : public VBoxContainer {
GDCLASS(BitMapEditor, VBoxContainer);
private:
AspectRatioContainer *centering_container = nullptr;
Control *outline_overlay = nullptr;
TextureRect *texture_rect = nullptr;
Label *size_label = nullptr;
Color cached_outline_color;
void _draw_outline();
protected:
void _notification(int p_what);
public:
void setup(const Ref<BitMap> &p_bitmap);
@ -63,5 +73,3 @@ class BitMapEditorPlugin : public EditorPlugin {
public:
BitMapEditorPlugin();
};
#endif // BIT_MAP_EDITOR_PLUGIN_H