MCPcopy Create free account
hub / github.com/GRAnimated/MinecraftLCE / dispatchMouseMoveEvent

Method dispatchMouseMoveEvent

src/4JLibraries_Source/fui/fui.cpp:108–115  ·  view source on GitHub ↗

param names guessed

Source from the content-addressed store, hash-verified

106
107// param names guessed
108void fui::dispatchMouseMoveEvent(fuiFile* file, float x, float y) {
109 FJ_FuiNode* node = file->m_data.m_fuiSymbol->m_stage;
110
111 if (FJ_FuiNode* focus = static_cast<FJ_FuiNodeStage*>(node)->getFocus())
112 node = focus;
113
114 node->dispatchEvent(new FJ_MouseMoveEvent(x, y, true, false));
115}
116
117void fui::addDirectEventListener(const FJ_EventListener& listener) {
118 this->removeDirectEventListener(listener);

Callers 2

tickMethod · 0.80
PlatformInitializeMethod · 0.80

Calls 1

getFocusMethod · 0.80

Tested by

no test coverage detected