feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -36,7 +36,11 @@
|
|||
#include "scene/gui/margin_container.h"
|
||||
#include "scene/resources/texture.h"
|
||||
|
||||
class AspectRatioContainer;
|
||||
class ColorRect;
|
||||
class TextureRect;
|
||||
class ShaderMaterial;
|
||||
class ColorChannelSelector;
|
||||
|
||||
class TexturePreview : public MarginContainer {
|
||||
GDCLASS(TexturePreview, MarginContainer);
|
||||
|
|
@ -44,13 +48,26 @@ class TexturePreview : public MarginContainer {
|
|||
private:
|
||||
TextureRect *texture_display = nullptr;
|
||||
|
||||
MarginContainer *margin_container = nullptr;
|
||||
Control *outline_overlay = nullptr;
|
||||
AspectRatioContainer *centering_container = nullptr;
|
||||
ColorRect *bg_rect = nullptr;
|
||||
TextureRect *checkerboard = nullptr;
|
||||
Label *metadata_label = nullptr;
|
||||
Ref<ShaderMaterial> material;
|
||||
|
||||
ColorChannelSelector *channel_selector = nullptr;
|
||||
|
||||
Color cached_outline_color;
|
||||
|
||||
void _draw_outline();
|
||||
void _update_metadata_label_text();
|
||||
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
void _update_texture_display_ratio();
|
||||
|
||||
void on_selected_channels_changed();
|
||||
|
||||
public:
|
||||
TextureRect *get_texture_display();
|
||||
|
|
@ -69,7 +86,7 @@ class TextureEditorPlugin : public EditorPlugin {
|
|||
GDCLASS(TextureEditorPlugin, EditorPlugin);
|
||||
|
||||
public:
|
||||
virtual String get_name() const override { return "Texture2D"; }
|
||||
virtual String get_plugin_name() const override { return "Texture2D"; }
|
||||
|
||||
TextureEditorPlugin();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue