mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 16:52:45 +03:00
Compare commits
No commits in common. "f1b8f495b668cffddbf5739bb19490f554f893ba" and "1589466076e9b579764f3c20babc75979a9ed54c" have entirely different histories.
f1b8f495b6
...
1589466076
@ -64,27 +64,11 @@ CSimpleFrame::CSimpleFrame(CSimpleFrame* parent) : CScriptRegion() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
CSimpleFrame::~CSimpleFrame() {
|
CSimpleFrame::~CSimpleFrame() {
|
||||||
|
// TODO
|
||||||
|
|
||||||
this->m_intAC = 3;
|
this->m_intAC = 3;
|
||||||
|
|
||||||
this->m_top->UnregisterFrame(this);
|
this->m_top->UnregisterFrame(this);
|
||||||
this->m_top = nullptr;
|
|
||||||
|
|
||||||
if (this->m_titleRegion) {
|
|
||||||
delete this->m_titleRegion;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (int32_t layer = 0; layer < NUM_SIMPLEFRAME_DRAWLAYERS; layer++) {
|
|
||||||
this->m_drawlayers[layer].UnlinkAll();
|
|
||||||
|
|
||||||
if (this->m_batch[layer]) {
|
|
||||||
delete this->m_batch[layer];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
while (auto region = this->m_regions.Head()) {
|
|
||||||
this->m_regions.UnlinkNode(region);
|
|
||||||
delete region;
|
|
||||||
}
|
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|||||||
@ -400,18 +400,6 @@ CSimpleTop::CSimpleTop() : CLayoutFrame() {
|
|||||||
CSimpleTop::~CSimpleTop() {
|
CSimpleTop::~CSimpleTop() {
|
||||||
// TODO
|
// TODO
|
||||||
|
|
||||||
while (auto frame = this->m_frames.Head()) {
|
|
||||||
this->m_frames.UnlinkNode(frame);
|
|
||||||
delete frame;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (auto& strata : this->m_strata) {
|
|
||||||
delete strata;
|
|
||||||
strata = nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
// TODO
|
|
||||||
|
|
||||||
this->DisableEvents();
|
this->DisableEvents();
|
||||||
|
|
||||||
HandleClose(this->m_screenLayer);
|
HandleClose(this->m_screenLayer);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user