mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[poincare] Remove default arguments to TreeNode::serialize
Put them on LayoutNode::serialize
This commit is contained in:
@@ -37,6 +37,7 @@ public:
|
||||
KDCoordinate baseline();
|
||||
//TODO: invalid cache when tempering with hierarchy
|
||||
virtual void invalidAllSizesPositionsAndBaselines();
|
||||
int serialize(char * buffer, int bufferSize, Preferences::PrintFloatMode floatDisplayMode = Preferences::PrintFloatMode::Decimal, int numberOfSignificantDigits = 0) const override { assert(false); return 0; }
|
||||
|
||||
// Tree
|
||||
LayoutNode * parent() const override { return static_cast<LayoutNode *>(TreeNode::parent()); }
|
||||
|
||||
@@ -83,7 +83,7 @@ public:
|
||||
virtual void didAddChildAtIndex(int newNumberOfChildren) {}
|
||||
|
||||
// Serialization
|
||||
virtual int serialize(char * buffer, int bufferSize, Preferences::PrintFloatMode floatDisplayMode = Preferences::PrintFloatMode::Decimal, int numberOfSignificantDigits = 0) const { assert(false); return 0; }
|
||||
virtual int serialize(char * buffer, int bufferSize, Preferences::PrintFloatMode floatDisplayMode, int numberOfSignificantDigits) const { assert(false); return 0; }
|
||||
virtual bool childNeedsParenthesis(const TreeNode * child) const { return false; };
|
||||
|
||||
template <typename T>
|
||||
|
||||
Reference in New Issue
Block a user