#pragma once
// panel_layout — vertical-split layout state seam of the bank panel (pool on top,
// named-banks region below, two toggles collapse the split). Geometry derivation
// itself is internal to panel_layout.cpp. REAPER-free.

namespace reasampler {

// UI-layout preference, not project state — deliberately not persisted in
// ReaSamplerSession (must not travel with the .rpp). Resets to Split on unload.
enum class BankPanelFullHeight {
    Split,
    PoolOnly,
    BanksOnly,
};

// Safe before the panel has ever opened.
BankPanelFullHeight bankPanelFullHeight();

// Split <-> PoolOnly; from BanksOnly also enters PoolOnly. Requests a repaint.
void bankPanelToggledPoolFullHeight();

// Split <-> BanksOnly, symmetric to the pool toggle.
void bankPanelToggledBanksFullHeight();

}  // namespace reasampler
