mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlCore: sizeof(Ctrl) reduction - Frame
This commit is contained in:
parent
a78517a671
commit
f2a3723483
9 changed files with 196 additions and 125 deletions
|
|
@ -278,10 +278,12 @@ void Ctrl::CtrlPaint(SystemDraw& w, const Rect& clip) {
|
|||
return;
|
||||
Ctrl *q;
|
||||
Rect view = rect;
|
||||
for(int i = 0; i < frame.GetCount(); i++) {
|
||||
int n = GetFrameCount();
|
||||
for(int i = 0; i < n; i++) {
|
||||
LEVELCHECK(w, NULL);
|
||||
frame[i].frame->FramePaint(w, view);
|
||||
view = frame[i].view;
|
||||
Frame& f = GetFrame0(i);
|
||||
f.frame->FramePaint(w, view);
|
||||
view = f.GetView();
|
||||
}
|
||||
Rect oview = view.Inflated(overpaint);
|
||||
bool hasviewctrls = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue