MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / createBitmap

Function createBitmap

src/gui/idlepanel.cc:45–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43wxDEFINE_EVENT(PAGE_SELECTED_EVENT, wxCommandEvent);
44
45static wxBitmap createBitmap(const uint8_t* data, size_t length)
46{
47 wxMemoryInputStream stream(data, length);
48 wxImage image(stream, wxBITMAP_TYPE_PNG);
49 return wxBitmap(image);
50}
51
52static void ignoreInapplicableValueExceptions(std::function<void(void)> cb)
53{

Callers 1

IdlePanelImplMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected