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

Method setCustomDrawCallback

src/4JLibraries_Source/fui/fuiFile.cpp:43–46  ·  view source on GitHub ↗

NON_MATCHING | score: 10 (lower is better) can also get it to match by swapping the params and using mRootNode in place of mCallbackData, but that's not correct surely

Source from the content-addressed store, hash-verified

41// can also get it to match by swapping the params and using mRootNode in place of mCallbackData, but that's
42// not correct surely
43void fuiFile::setCustomDrawCallback(void (*callback)(void*, const char*, fuiRect*), void* data) {
44 this->m_callbackData = data;
45 this->m_callbackFunc = callback;
46}
47
48float fuiFile::getStageWidth() {
49 return this->m_header.m_stageSize.getWidth();

Callers 1

loadMovieMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected