diff options
| author | Marc Gilleron | 2017-07-02 01:46:44 +0200 |
|---|---|---|
| committer | Marc Gilleron | 2017-07-02 01:52:47 +0200 |
| commit | c4564233a8080a8213d86202fd655db2c9e9f40f (patch) | |
| tree | 75c84f0fdc59cfc82e2004547f552b11fa8ea4ab /editor/plugins/curve_editor_plugin.h | |
| parent | 0ffb70f0bbfa14d9201b4349ac23911450b9d6b2 (diff) | |
| download | godot-c4564233a8080a8213d86202fd655db2c9e9f40f.tar.gz godot-c4564233a8080a8213d86202fd655db2c9e9f40f.tar.zst godot-c4564233a8080a8213d86202fd655db2c9e9f40f.zip | |
Diffstat (limited to 'editor/plugins/curve_editor_plugin.h')
| -rw-r--r-- | editor/plugins/curve_editor_plugin.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/editor/plugins/curve_editor_plugin.h b/editor/plugins/curve_editor_plugin.h index a4952dfb2..040c298a9 100644 --- a/editor/plugins/curve_editor_plugin.h +++ b/editor/plugins/curve_editor_plugin.h @@ -143,4 +143,11 @@ private: ToolButton *_toggle_button; }; +class CurvePreviewGenerator : public EditorResourcePreviewGenerator { + GDCLASS(CurvePreviewGenerator, EditorResourcePreviewGenerator) +public: + bool handles(const String &p_type) const; + Ref<Texture> generate(const Ref<Resource> &p_from); +}; + #endif // CURVE_EDITOR_PLUGIN_H |
