MCPcopy Create free account
hub / github.com/Wassimulator/CactusViewer / UI_image_edit_button

Function UI_image_edit_button

src/gui.cpp:1560–1566  ·  view source on GitHub ↗

Simple button to toggle the edit/paint panel

Source from the content-addressed store, hash-verified

1558
1559// Simple button to toggle the edit/paint panel
1560void 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
1568static int scan_folder(wchar_t *path);
1569static void shuffle_folder();

Callers 1

UI_push_parent_deferFunction · 0.85

Calls 2

UI_buttonFunction · 0.85
UI_tooltipFunction · 0.85

Tested by

no test coverage detected