| 390 | } |
| 391 | |
| 392 | void MyFrame::addlog(wxString info, const wxColour &color) |
| 393 | { |
| 394 | time_t currentTime; // for logging current time |
| 395 | struct tm *localTime; // for logging current time |
| 396 | time(¤tTime); // Get the current time |
| 397 | localTime = localtime(¤tTime); // Convert the current time to the local time |
| 398 | wxString s; |
| 399 | s.Printf("\n%02d : %02d : %02d | %s", localTime->tm_hour, localTime->tm_min, localTime->tm_sec, info); |
| 400 | log->SetDefaultStyle(wxTextAttr(color)); |
| 401 | log->AppendText(s); |
| 402 | } |
| 403 | |
| 404 | void MyFrame::SetRenderingState(bool on) |
| 405 | { |
nothing calls this directly
no outgoing calls
no test coverage detected