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

Method ClsResultFrame

plugindev/ClassifierResultGUI.cpp:254–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254ClsResultFrame::ClsResultFrame(const wxString& title, const wxPoint& pos, const wxSize& size, int nCls, int nReg)
255 : wxFrame(NULL, wxID_ANY, title, pos, size)
256{
257 //wxPanel *panel = new wxPanel(this, wxID_ANY);
258
259 if (nCls < 0) nCls = 0;
260 if (nReg < 0) nReg = 0;
261
262 //wxBoxSizer* sizer = new wxBoxSizer(wxHORIZONTAL);
263 drawPane = new wxMultiImagePanel( this, nCls, nReg );
264
265 // wxT("vo.jpg"), wxBITMAP_TYPE_JPEG
266
267 //sizer->Add(drawPane, 10, wxEXPAND);
268 //this->SetSizer(sizer);
269
270
271 // m_cb = new wxCheckBox(panel, ID_CHECKBOX, wxT("Voice activity"),
272 // wxPoint(20, 20));
273
274 // m_cb->SetValue(false);
275
276// wxImageHandler * jpegLoader = new wxJPEGHandler();
277// wxImage::AddHandler(jpegLoader);
278
279// bmp.LoadFile("vo.jpg", wxBITMAP_TYPE_JPEG);
280
281/*
282 Connect(ID_CHECKBOX, wxEVT_COMMAND_CHECKBOX_CLICKED,
283 wxCommandEventHandler(CheckBox::OnToggle));
284 Centre();
285*/
286
287/*
288wxMenu *menuFile = new wxMenu;
289
290 menuFile->Append( ID_About, _("&About...") );
291 menuFile->AppendSeparator();
292 menuFile->Append( ID_Quit, _("E&xit") );
293
294 wxMenuBar *menuBar = new wxMenuBar;
295 menuBar->Append( menuFile, _("&File") );
296
297 SetMenuBar( menuBar );
298*/
299
300 CreateStatusBar();
301 SetStatusText( _("openSMILE GUI plugin.") );
302}
303/*
304void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
305{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected