Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TankOs/SFGUI
/ SetCustomDrawCallback
Method
SetCustomDrawCallback
src/SFGUI/Primitive.cpp:130–132 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
128
}
129
130
void Primitive::SetCustomDrawCallback( std::shared_ptr<Signal> callback ) {
131
m_custom_draw_callback = callback;
132
}
133
134
std::shared_ptr<Signal> Primitive::GetCustomDrawCallback() const {
135
return m_custom_draw_callback;
Callers
1
CreateGLCanvas
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected