src/linetypes/modelobject.h

changeset 1312
f2974f3ac1ab
parent 1305
31627acdd4b5
child 1313
4baed9f54de3
--- a/src/linetypes/modelobject.h	Fri Mar 23 17:14:46 2018 +0200
+++ b/src/linetypes/modelobject.h	Fri Mar 23 19:30:53 2018 +0200
@@ -35,7 +35,6 @@
 	Triangle,			//	Object represents a	triangle
 	EdgeLine,			//	Object represents a	line
 	ConditionalEdge,	//	Object represents a	conditional line
-	Bfc,				//	Object represents a	BFC statement
 	Comment,			//	Object represents a	comment
 	Error,				//	Object is the result of failed parsing
 	Empty,				//	Object represents an empty line
@@ -154,56 +153,6 @@
 };
 
 /*
- * Represents a 0 BFC statement in the LDraw code.
- */
-enum class BfcStatement
-{
-	CertifyCCW,
-	CCW,
-	CertifyCW,
-	CW,
-	NoCertify,
-	InvertNext,
-	Clip,
-	ClipCCW,
-	ClipCW,
-	NoClip,
-	_End
-};
-
-Q_DECLARE_METATYPE(BfcStatement)
-MAKE_ITERABLE_ENUM(BfcStatement)
-
-class LDBfc : public LDObject
-{
-public:
-	static const LDObjectType SubclassType = LDObjectType::Bfc;
-
-	LDBfc(BfcStatement type = BfcStatement::CertifyCCW);
-
-	virtual LDObjectType type() const override
-	{
-		return LDObjectType::Bfc;
-	}
-
-	virtual QString asText() const override;
-
-	bool isScemantic() const override { return statement() == BfcStatement::InvertNext; }
-    QString objectListText() const override;
-	BfcStatement statement() const;
-	void setStatement (BfcStatement value);
-	QString statementToString() const;
-	bool isColored() const override { return false; }
-	QString typeName() const override { return "bfc"; }
-	void serialize(class Serializer& serializer) override;
-
-	static QString statementToString (BfcStatement statement);
-
-private:
-	BfcStatement m_statement;
-};
-
-/*
  * Represents a single code-1 subfile reference.
  */
 class LDSubfileReference : public LDMatrixObject

mercurial