Comboboxes
| 318 | |
| 319 | //Comboboxes |
| 320 | void MyFrame::OnProcessingBox(wxCommandEvent &event) |
| 321 | { |
| 322 | std::string s = processingBox->GetValue().ToStdString(); |
| 323 | drawPane->set_mode(s); |
| 324 | |
| 325 | render_loop_on = (s == MODE_ETF) || (s == MODE_ETF_DEBUG); |
| 326 | |
| 327 | if (s == MODE_CLD) { |
| 328 | drawPane->cld().genCLD(); |
| 329 | wxString s; |
| 330 | s.Printf("FDoG: %d iterations", FDoG_iteration); |
| 331 | SetStatusText(s, 2); |
| 332 | } |
| 333 | |
| 334 | addlog("[Mode Changed] " + s, wxColour(*wxBLACK)); |
| 335 | drawPane->render(); |
| 336 | SetRenderingState(render_loop_on); |
| 337 | } |
| 338 | |
| 339 | //Slides: Pattern Parameter |
| 340 | void MyFrame::OnSliderETFkernel(wxCommandEvent &event) |