MCPcopy Create free account
hub / github.com/audeering/opensmile / loadClassImage

Method loadClassImage

plugindev/ClassifierResultGUI.cpp:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void wxMultiImagePanel::loadClassImage(int clsIdx, const char *clsname, wxString file, wxBitmapType format)
90{
91 if (image != NULL && clsIdx >= 0 && clsIdx < nClasses) {
92 image[clsIdx].LoadFile(file, format);
93 }
94 if (clsName != NULL && clsIdx >= 0 && clsIdx < nClasses) {
95 clsName[clsIdx] = clsname;
96 }
97}
98
99/*
100 * Called by the system of by wxWidgets when the panel needs

Callers 1

OnInitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected