add hover cursor

This commit is contained in:
2026-03-25 20:30:29 +01:00
parent c4d45a2f83
commit 5aa316679c
2 changed files with 76 additions and 3 deletions

View File

@@ -179,6 +179,11 @@ private:
float specPosX_ = 0, specPosY_ = 0, specSizeX_ = 0, specSizeY_ = 0;
float wfPosX_ = 0, wfPosY_ = 0, wfSizeX_ = 0, wfSizeY_ = 0;
// Hover state: which panel is being hovered
enum class HoverPanel { None, Spectrum, Waterfall };
HoverPanel hoverPanel_ = HoverPanel::None;
float hoverWfTimeOffset_ = 0.0f; // seconds from newest line
// Config persistence
Config config_;