How kando-menu/kando works
High-Level Architecture Components
a) Frontend Layer (Renderer Process)
• Menu System
• Editor Interface
• Input Methods
b) Backend Layer (Main Process)
• Platform-specific Backends
• Settings Management
• Update System
c) Common Layer
• Item Type System
• Action Registry
• Configuration Registry
Key Relationships to Highlight
a) Inter-Process Communication
• Electron's IPC between renderer and main processes
• Preload script as security boundary
b) Platform Integration
• Native backends for Windows, macOS, and Linux
• System-specific APIs (X11, Wayland, Windows API, macOS Cocoa)
Detailed Component Breakdown
Frontend (Renderer):
• Menu System
• Input Methods (Gamepad, Pointer, Touch)
• Theme Engine
• Sound System
• Editor
• Preview
• Properties
• Sidebar
• Toolbar
• Multiple Theme Implementations
Backend (Main):
• Platform Backends
• Windows
• macOS
• Linux (Multiple WM Support)
• Settings Manager
• Update Checker
Implementation Details
• Native code bridges (C++/Objective-C)
• Desktop environment integrations
• Input handling system
• Theme management
• Internationalization system