1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-23 15:16:17 +00:00

Made use of semicolons more consitent, fixed formatting

This commit is contained in:
JohnJLight
2019-03-19 14:35:57 -04:00
committed by Rémi Verschelde
parent 43a9b8c76c
commit 38d3bfe971
143 changed files with 463 additions and 380 deletions

View File

@@ -37,7 +37,8 @@
// Edits a y(x) curve
class CurveEditor : public Control {
GDCLASS(CurveEditor, Control)
GDCLASS(CurveEditor, Control);
public:
CurveEditor();
@@ -120,14 +121,16 @@ private:
};
class EditorInspectorPluginCurve : public EditorInspectorPlugin {
GDCLASS(EditorInspectorPluginCurve, EditorInspectorPlugin)
GDCLASS(EditorInspectorPluginCurve, EditorInspectorPlugin);
public:
virtual bool can_handle(Object *p_object);
virtual void parse_begin(Object *p_object);
};
class CurveEditorPlugin : public EditorPlugin {
GDCLASS(CurveEditorPlugin, EditorPlugin)
GDCLASS(CurveEditorPlugin, EditorPlugin);
public:
CurveEditorPlugin(EditorNode *p_node);
@@ -135,7 +138,8 @@ public:
};
class CurvePreviewGenerator : public EditorResourcePreviewGenerator {
GDCLASS(CurvePreviewGenerator, EditorResourcePreviewGenerator)
GDCLASS(CurvePreviewGenerator, EditorResourcePreviewGenerator);
public:
virtual bool handles(const String &p_type) const;
virtual Ref<Texture> generate(const Ref<Resource> &p_from, const Size2 p_size) const;