#pragma once // Collapsible sidebar panel. // Usage: // if (sidebar_begin("Filters", &sidebar_open)) { // // draw filter controls // } // sidebar_end(); // // The sidebar renders as a fixed-width ImGui window. // When collapsed, only a small toggle button is shown. bool sidebar_begin(const char* title, bool* open, float width = 250.0f); void sidebar_end();