summaryrefslogtreecommitdiffstats
path: root/editor/plugins/sprite_frames_editor_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/sprite_frames_editor_plugin.h')
-rw-r--r--editor/plugins/sprite_frames_editor_plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/sprite_frames_editor_plugin.h b/editor/plugins/sprite_frames_editor_plugin.h
index 9b6aaf98fe..d6345a3ac8 100644
--- a/editor/plugins/sprite_frames_editor_plugin.h
+++ b/editor/plugins/sprite_frames_editor_plugin.h
@@ -234,6 +234,9 @@ class SpriteFramesEditor : public HSplitContainer {
void drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from);
void _open_sprite_sheet();
+ void _auto_slice_sprite_sheet();
+ bool _matches_background_color(const Color &p_background_color, const Color &p_pixel_color);
+ Size2i _estimate_sprite_sheet_size(const Ref<Texture2D> p_texture);
void _prepare_sprite_sheet(const String &p_file);
int _sheet_preview_position_to_frame_index(const Vector2 &p_position);
void _sheet_preview_draw();