MCPcopy Create free account
hub / github.com/christophhart/HISE / cursorChanged

Method cursorChanged

hi_scripting/scripting/api/ScriptComponentWrappers.cpp:2358–2369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2356
2357
2358void ScriptCreatedComponentWrappers::PanelWrapper::cursorChanged(PanelWrapper& p, ScriptingApi::Content::ScriptPanel::MouseCursorInfo newInfo)
2359{
2360 MouseCursor cursor;
2361
2362 auto panel = p.getScriptComponent();
2363 auto bp = p.getComponent();
2364
2365 if (p.setMouseCursorFromParentPanel(panel, cursor))
2366 {
2367 bp->setMouseCursor(cursor);
2368 }
2369}
2370
2371void ScriptCreatedComponentWrappers::PanelWrapper::animationChanged()
2372{

Callers

nothing calls this directly

Calls 4

getScriptComponentMethod · 0.80
setMouseCursorMethod · 0.80
getComponentMethod · 0.45

Tested by

no test coverage detected