mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-19 14:16:46 -06:00
*CtrlLib: TreeCtrl::Insert fix, *CtrlCore: constness issues
git-svn-id: svn://ultimatepp.org/upp/trunk@2883 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
b288c81e29
commit
3e4b80795c
3 changed files with 5 additions and 4 deletions
|
|
@ -1180,7 +1180,7 @@ public:
|
|||
bool SetWantFocus();
|
||||
Ctrl& InitFocus(bool ft = true) { initfocus = ft; return *this; }
|
||||
Ctrl& NoInitFocus() { return InitFocus(false); }
|
||||
bool IsInitFocus() { return initfocus; }
|
||||
bool IsInitFocus() const { return initfocus; }
|
||||
Ctrl *GetFocusChild() const { return HasChild(FocusCtrl()) ? ~FocusCtrl() : NULL; }
|
||||
Ctrl *GetFocusChildDeep() const { return HasChildDeep(FocusCtrl()) ? ~FocusCtrl() : NULL; }
|
||||
|
||||
|
|
@ -1230,7 +1230,7 @@ public:
|
|||
Ctrl& TransparentBackPaint() { backpaint = TRANSPARENTBACKPAINT; return *this; }
|
||||
Ctrl& NoBackPaint() { return BackPaint(NOBACKPAINT); }
|
||||
Ctrl& BackPaintHint();
|
||||
int GetBackPaint() { return backpaint; }
|
||||
int GetBackPaint() const { return backpaint; }
|
||||
Ctrl& Transparent(bool bp = true) { transparent = bp; return *this; }
|
||||
Ctrl& NoTransparent() { return Transparent(false); }
|
||||
bool IsTransparent() const { return transparent; }
|
||||
|
|
|
|||
|
|
@ -1877,7 +1877,8 @@ ckPaint]()&]
|
|||
[s7;i1120;a17; [*/ Return value]-|BackPaint(NOBACKPAINT).&]
|
||||
[s3;%- &]
|
||||
[s4;%- &]
|
||||
[s5;:Ctrl`:`:GetBackPaint`(`):%- [@(0.0.255) int]_[* GetBackPaint]()&]
|
||||
[s5;:Ctrl`:`:GetBackPaint`(`)const:%- [@(0.0.255) int]_[* GetBackPaint]()_[@(0.0.255) const
|
||||
]&]
|
||||
[s7;i1120;a17; [*/ Return value]-|Current back`-paint mode of Ctrl.&]
|
||||
[s3;%- &]
|
||||
[s4;%- &]
|
||||
|
|
|
|||
|
|
@ -402,7 +402,7 @@ public:
|
|||
virtual Value GetData() const;
|
||||
|
||||
private:
|
||||
PopUpTree tree;
|
||||
PopUpTree tree;
|
||||
const Display *valuedisplay;
|
||||
DisplayWithIcon icond;
|
||||
int dropwidth;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue