Skip to content

Commit

Permalink
App: Apply clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jun 2, 2024
1 parent 8b758e9 commit 86b9ac4
Show file tree
Hide file tree
Showing 160 changed files with 22,762 additions and 16,318 deletions.
2 changes: 1 addition & 1 deletion src/App/Annotation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ PROPERTY_SOURCE(App::AnnotationLabel, App::DocumentObject)

AnnotationLabel::AnnotationLabel()
{
ADD_PROPERTY_TYPE(LabelText, (""), "Label",Prop_Output, "Text label of the annotation");
ADD_PROPERTY_TYPE(LabelText, (""), "Label", Prop_Output, "Text label of the annotation");
ADD_PROPERTY_TYPE(BasePosition, (Base::Vector3d()), "Label", Prop_Output, "Base position");
ADD_PROPERTY_TYPE(TextPosition, (Base::Vector3d()), "Label", Prop_Output, "Text position");
}
Expand Down
14 changes: 8 additions & 6 deletions src/App/Annotation.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
namespace App
{

class AppExport Annotation : public DocumentObject
class AppExport Annotation: public DocumentObject
{
PROPERTY_HEADER_WITH_OVERRIDE(App::Annotation);

Expand All @@ -45,12 +45,13 @@ class AppExport Annotation : public DocumentObject
App::PropertyVector Position;

/// returns the type name of the ViewProvider
const char* getViewProviderName() const override {
const char* getViewProviderName() const override
{
return "Gui::ViewProviderAnnotation";
}
};

class AppExport AnnotationLabel : public DocumentObject
class AppExport AnnotationLabel: public DocumentObject
{
PROPERTY_HEADER_WITH_OVERRIDE(App::AnnotationLabel);

Expand All @@ -64,12 +65,13 @@ class AppExport AnnotationLabel : public DocumentObject
App::PropertyVector TextPosition;

/// returns the type name of the ViewProvider
const char* getViewProviderName() const override {
const char* getViewProviderName() const override
{
return "Gui::ViewProviderAnnotationLabel";
}
};

} //namespace App
} // namespace App


#endif // APP_ANNOTATION_H
#endif // APP_ANNOTATION_H
Loading

0 comments on commit 86b9ac4

Please sign in to comment.