mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
.CtrlLib: TreeCtrl - added setter for Item::margin attribute
.Geom: hrr bug fix (Draw::GetPageSize -> GetPaintRect), minor optimizations (Pointf -> const Pointf&) .TCore: CalcContext::Global constructor made outline to simplify debugging git-svn-id: svn://ultimatepp.org/upp/trunk@2911 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
b6be3bc437
commit
1abacfff26
9 changed files with 1475 additions and 1470 deletions
|
|
@ -39,6 +39,7 @@ public:
|
|||
bool canselect;
|
||||
|
||||
Node& SetImage(const Image& img) { image = img; return *this; }
|
||||
Node& SetMargin(int m) { margin = m; return *this; }
|
||||
Node& Set(const Value& v) { key = value = v; return *this; }
|
||||
Node& Set(const Value& v, const Value& t) { key = v; value = t; return *this; }
|
||||
Node& SetDisplay(const Display& d) { display = &d; return *this; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue