feat(ui): implement CSimpleFrame_EnableMouse
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Waiting to run
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Waiting to run

This commit is contained in:
fallenoak committed 2026-01-27 10:39:50 -06:00
1 parent b9f2c60966
commit c4077daa3f
3 files changed
+30 -1

No files matched your search

+12
View File
@@ -100,6 +100,18 @@ void CSimpleFrame::DisableDrawLayer(uint32_t drawlayer) {
this->NotifyDrawLayerChanged(drawlayer);
}
void CSimpleFrame::DisableEvent(CSimpleEventType eventType) {
if (!(this->m_eventmask & (1 << eventType))) {
return;
}
if (this->m_visible) {
this->m_top->UnregisterForEvent(this, eventType, 0);
}
this->m_eventmask &= ~(1 << eventType);
}
void CSimpleFrame::EnableDrawLayer(uint32_t drawlayer) {
this->m_drawenabled[drawlayer] = 1;
this->NotifyDrawLayerChanged(drawlayer);