feat(ui): implement CScriptRegion LUA methods

This commit is contained in:
VDm 2025-08-05 22:05:19 +04:00
parent 8c442f5a82
commit d63ebf7696
11 changed files with 208 additions and 30 deletions

View file

@ -815,6 +815,13 @@ void CLayoutFrame::SetProtectFlag(uint32_t flag) {
// TODO
}
void CLayoutFrame::SetSize(float width, float height) {
this->m_flags &= ~0x8;
this->m_width = width;
this->m_height = height;
this->Resize(0);
}
void CLayoutFrame::SetWidth(float width) {
this->m_flags &= ~0x8;
this->m_width = width;