Commit Graph

20 Commits

Author SHA1 Message Date
baf6fd94cc some more refactoring
- UIState.h: Replaced C-style arrays bool[] and ImVec4[] with
std::array<bool, kMaxChannels> and std::array<ImVec4, kMaxChannels> for
type safety and STL compatibility.
  - Application.cpp: Extracted duplicated DPI calculation (lines 189-196
and 475-481) into a systemDpiScale() helper method, reducing both call
sites to single-line calls.
  - Application.cpp: Replaced magic 1400, 900 window dimensions with
kDefaultWindowWidth/kDefaultWindowHeight constants (defined in Types.h).
  - AudioEngine.cpp: Named the magic epsilon thresholds 1e-20f →
kLinearEpsilon and 1e-30f → kLogGuard with explanatory comments, defined
in an anonymous namespace.
  - Types.h: Added kDefaultWindowWidth and kDefaultWindowHeight
constants.
2026-03-28 16:09:29 +01:00
b42d7fb69b split off more stuff 2026-03-28 15:40:16 +01:00
b5906d2ab1 split off AudioEngine 2026-03-28 15:39:47 +01:00
37437b3212 add multi-device support 2026-03-27 01:30:10 +01:00
74e1c34446 wasm: improve HiDPI support 2026-03-27 00:50:50 +01:00
4e102fc31e wasm: disable ImGUI debug tools 2026-03-26 15:01:36 +01:00
103f17b8e9 HiDPI support -- fractional scaling is a bit broken, sometimes crashes, is a bit blurry 2026-03-25 23:32:08 +01:00
e8867e4b01 add two-finger pan and pinch-to-zoom to the waterfall 2026-03-25 23:11:53 +01:00
c526f00957 rename the whole thing to baudmine >:-) 2026-03-25 22:48:50 +01:00
e139e564c9 swap left/right default colors 2026-03-25 21:09:21 +01:00
5aa316679c add hover cursor 2026-03-25 20:30:29 +01:00
ab52775ba7 wasm support 2026-03-25 19:50:49 +01:00
548db30cdd dropped portaudio for miniaudio 2026-03-25 19:50:43 +01:00
586328a38b commit no. 10 2026-03-25 19:48:56 +01:00
7b9a87fbc0 commit no. 7 2026-03-25 19:48:24 +01:00
cf397eaa2d commit no. 6 2026-03-25 19:48:16 +01:00
7503052079 commit no. 5 2026-03-25 19:47:37 +01:00
cc5241a1e5 commit no. 3 2026-03-25 19:47:16 +01:00
f45278123f commit no. 2 2026-03-25 19:46:56 +01:00
a513c66503 initial commit 2026-03-25 19:46:15 +01:00