mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(ui): implement CSimpleFontString::Sub482AC0
This commit is contained in:
parent
debc9145fd
commit
53f7fa945a
@ -816,8 +816,16 @@ void CSimpleFontString::SetText(const char* text, int32_t a3) {
|
||||
this->ClearString();
|
||||
}
|
||||
|
||||
// Probably belongs on CLayoutFrame
|
||||
int32_t CSimpleFontString::Sub482AC0() {
|
||||
// TODO
|
||||
for (int32_t i = 0; i < FRAMEPOINT_NUMPOINTS; i++) {
|
||||
auto point = this->m_points[i];
|
||||
|
||||
if (point && !(point->m_flags & 0x8)) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user