MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / getDefaultPanel

Method getDefaultPanel

Source/Native/CtrlrWindows.cpp:149–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149const Result CtrlrWindows::getDefaultPanel(MemoryBlock &dataToWrite)
150{
151#ifdef DEBUG_INSTANCE
152 File temp("c:\\devel\\debug_small.bpanelz");
153 temp.loadFileAsData (dataToWrite);
154 return (Result::ok());
155#endif
156
157 return (readResource (nullptr, MAKEINTRESOURCE(CTRLR_INTERNAL_PANEL_RESID), RT_RCDATA, dataToWrite));
158}
159
160const Result CtrlrWindows::getDefaultResources(MemoryBlock& dataToWrite)
161{

Callers

nothing calls this directly

Calls 1

loadFileAsDataMethod · 0.45

Tested by

no test coverage detected