Simple button to toggle the edit/paint panel
| 1558 | |
| 1559 | // Simple button to toggle the edit/paint panel |
| 1560 | void UI_image_edit_button(UI_Button_Style *style, char* label) { |
| 1561 | if (UI_button(style, label)) { |
| 1562 | G->edit_panel_visible = !G->edit_panel_visible; |
| 1563 | G->force_loop_frames += 2; |
| 1564 | } |
| 1565 | UI_tooltip("Toggle Edit/Paint panel (Tab)"); |
| 1566 | } |
| 1567 | |
| 1568 | static int scan_folder(wchar_t *path); |
| 1569 | static void shuffle_folder(); |
no test coverage detected