How eben-builds/tessdeck-for-windows works
Tessdeck is a Windows notification-area utility for globally hotkey-driven window arrangement, with settings, Quick Layout save/restore, command-line controls, startup registration, and release checks. The principal flow is tray or shortcut input → action dispatch → window geometry changes through Win32; Quick Layout separately captures and restores matching open windows. The graph also includes configuration, settings preview, onboarding, and update status. Relationships are limited to README statements and shown source/index references; some implementation details, especially command dispatch and update networking, were not excerpted.
Main entry points: TrayApp.cs Tray app · WindowManager.cs Window manager · HotkeyManager.cs Hotkey manager · SettingsForm.cs Settings UI
Components 19
Runtime controls
- Tray app
src/TrayApp.cs - App entry
src/Program.cs - Hotkey manager
src/HotkeyManager.cs - Hotkey model
src/Hotkey.cs
Window arrangement
- Snap actions
src/SnapAction.cs - Window manager
src/WindowManager.cs - Windows APIs
src/Native.cs - Quick Layout
src/LayoutSnapshot.cs
Settings and state
- Configuration
src/Config.cs - Settings UI
src/SettingsForm.cs - Layout preview
src/PreviewPanel.cs - Startup registration
src/Startup.cs
Onboarding and updates
- Welcome guide
src/WelcomeForm.cs - Release checker
src/UpdateChecker.cs - Update settings
src/SettingsUpdateSection.cs - Update badge state
src/UpdateBadgeState.cs
Other components
- User
- CLI caller
- GitHub releases
Connections 28
- User → Tray app: uses menu
README.md - User → Hotkey manager: presses shortcut
README.md - CLI caller → App entry: invokes commands
README.md - App entry → Tray app: starts
src/Program.cs - Tray app → Hotkey manager: registers
src/TrayApp.cs - Hotkey manager → Configuration: reads bindings
src/HotkeyManager.cs - Hotkey manager → Hotkey model: uses bindings
src/HotkeyManager.cs - Hotkey manager → Snap actions: dispatches action
src/HotkeyManager.cs - Tray app → Window manager: applies actions
src/TrayApp.cs - App entry → Window manager: applies CLI action
src/Program.cs - Window manager → Snap actions: interprets layout
src/WindowManager.cs - Window manager → Configuration: reads options
src/WindowManager.cs - Window manager → Windows APIs: calls Win32
src/WindowManager.cs - Tray app → Quick Layout: saves or restores
src/TrayApp.cs - Quick Layout → Window manager: uses window data
src/LayoutSnapshot.cs - Quick Layout → Configuration: uses local paths
src/LayoutSnapshot.cs - User → Settings UI: configures shortcuts
README.md - Settings UI → Configuration: edits settings
src/SettingsForm.cs - Settings UI → Layout preview: shows preview
src/SettingsForm.cs - Settings UI → Hotkey model: captures bindings
src/SettingsForm.cs - Tray app → Startup registration: toggles startup
src/TrayApp.cs - Tray app → Welcome guide: shows guide
src/TrayApp.cs - Tray app → Release checker: checks releases
src/TrayApp.cs - Release checker → GitHub releases: queries metadata
README.md - Tray app → Update badge state: updates badge
src/TrayApp.cs - Update settings → Release checker: checks on demand
src/SettingsUpdateSection.cs - Update settings → Update badge state: sets status
src/SettingsUpdateSection.cs - Tray app → Settings UI: opens settings
src/TrayApp.cs