diff options
| author | Calvin Morrison <calvin@pobox.com> | 2026-05-15 10:10:04 -0400 |
|---|---|---|
| committer | Calvin Morrison <calvin@pobox.com> | 2026-05-15 10:10:04 -0400 |
| commit | e776bc768cf9afca1867200e25d64d315cd72a3e (patch) | |
| tree | 6745527b939c9d37147d7dc98e8664437ee433f6 /src/ui/tmixapp.cpp | |
| parent | 4e602e78cdfc210ab7781668df2a88afb923258b (diff) | |
Full mixer implementation — tray, popup, prefs, devices tab with port indicators
Adds the complete tmix feature set built since the initial skeleton:
balance knob, level meters, KLed mute button, system tray with scroll-wheel
volume and recording indicator, tray popup, preferences dialog, right-click
context menus, single-instance enforcement, scroll area, window geometry
persistence, and Devices tab with PA card profile switcher and live port
availability indicators (2-column layout, in-place updates on plug/unplug).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/ui/tmixapp.cpp')
| -rw-r--r-- | src/ui/tmixapp.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ui/tmixapp.cpp b/src/ui/tmixapp.cpp new file mode 100644 index 0000000..628e475 --- /dev/null +++ b/src/ui/tmixapp.cpp @@ -0,0 +1,20 @@ +#include "tmixapp.h" +#include "mixerwindow.h" + +TmixApp::TmixApp() : KUniqueApplication(), m_win(0), m_firstInstance(true) {} + +int TmixApp::newInstance() +{ + if ( m_firstInstance ) { + m_firstInstance = false; + return 0; + } + if ( m_win ) { + m_win->show(); + m_win->raise(); + m_win->setActiveWindow(); + } + return 0; +} + +#include "tmixapp.moc" |
