MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / Toggle

Method Toggle

samples/luxcoreui/objectwindow.h:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 virtual void Open();
35 virtual void Close();
36 void Toggle() {
37 if (opened)
38 Close();
39 else
40 Open();
41 }
42
43 bool IsOpen() const { return opened; }
44

Callers 2

MenuWindowMethod · 0.80
GLFW_KeyCallBackMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected