mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-15 04:22:28 +00:00
feat(ui): implement CScriptRegion LUA methods
This commit is contained in:
parent
8c442f5a82
commit
d63ebf7696
11 changed files with 208 additions and 30 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue