# cdsmatheus/winxshell-for-arm architecture

> Architecture diagram of the GitHub repository cdsmatheus/winxshell-for-arm, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-26). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/cdsmatheus/winxshell-for-arm
- Repository: https://github.com/cdsmatheus/winxshell-for-arm

## Overview

This is a Windows Explorer-style desktop shell. Its user-facing surface combines a desktop, taskbar and Start menu; users can browse shell items, find and launch programs, adjust shell settings, and manage notification-area icons. Internally, shell entry and filesystem implementations support those experiences, while JSON configuration and startup services provide shared state and lifecycle behavior. The README is empty, so capabilities are inferred from the source tree and excerpts; unsampled relationships are left out rather than assumed.

Main entry points: [`explorer.cpp`](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/explorer.cpp) (Explorer host), [`dialogs/searchprogram.cpp`](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/dialogs/searchprogram.cpp) (Program search), [`desktop/desktop.cpp`](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/desktop/desktop.cpp) (Desktop view), [`taskbar/desktopbar.cpp`](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/taskbar/desktopbar.cpp) (Desktop bar)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell_ui["Desktop shell UI"]
  node_desktop["Desktop view<br/>[desktop.cpp]"]
  node_desktopbar["Desktop bar<br/>[desktopbar.cpp]"]
  node_taskbar["Taskbar<br/>[taskbar.cpp]"]
  node_startmenu["Start menu<br/>[startmenu.cpp]"]
  node_quicklaunch["Quick launch<br/>[quicklaunch.cpp]"]
  node_favorites["Favorites<br/>[favorites.cpp]"]
end

subgraph group_navigation["Shell navigation"]
  node_find_program["Program search<br/>[searchprogram.cpp]"]
  node_file_explorer["File explorer<br/>[fileexplorer.cpp]"]
  node_shell_entries["Shell entries<br/>[entries.cpp]"]
  node_shell_fs["Shell filesystem<br/>[shellfs.cpp]"]
  node_windows_fs["Windows filesystem<br/>[winfs.cpp]"]
end

subgraph group_configuration["Configuration and lifecycle"]
  node_explorer["Explorer host<br/>[explorer.cpp]"]
  node_settings["Shell settings<br/>[settings.cpp]"]
  node_json_config[("JSON configuration<br/>[jcfg.cpp]")]
  node_startup["Startup services<br/>[startup.c]"]
  node_shell_services["Shell services<br/>[shellservices.cpp]"]
end

subgraph group_notifications["Notification area"]
  node_tray["Notification area<br/>[traynotify.cpp]"]
  node_notify_hook["Notification hook<br/>[notifyhook.c]"]
end

node_user(("Desktop user"))

node_explorer -.->|"hosts"| node_desktop
node_explorer -.->|"hosts"| node_desktopbar
node_explorer -->|"starts thread"| node_shell_services
node_explorer -->|"reads settings"| node_json_config
node_find_program -->|"launches entries"| node_shell_entries
node_user -.->|"interacts"| node_desktop
node_user -.->|"opens"| node_startmenu
node_user -.->|"browses"| node_file_explorer
node_user -.->|"searches programs"| node_find_program
node_user -.->|"configures shell"| node_settings
node_user -.->|"manages icons"| node_tray

click node_explorer "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/explorer.cpp"
click node_desktop "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/desktop/desktop.cpp"
click node_desktopbar "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/taskbar/desktopbar.cpp"
click node_taskbar "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/taskbar/taskbar.cpp"
click node_startmenu "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/taskbar/startmenu.cpp"
click node_quicklaunch "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/taskbar/quicklaunch.cpp"
click node_favorites "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/taskbar/favorites.cpp"
click node_find_program "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/dialogs/searchprogram.cpp"
click node_file_explorer "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/shell/fileexplorer.cpp"
click node_shell_entries "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/shell/entries.cpp"
click node_shell_fs "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/shell/shellfs.cpp"
click node_windows_fs "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/shell/winfs.cpp"
click node_settings "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/dialogs/settings.cpp"
click node_json_config "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/jconfig/jcfg.cpp"
click node_startup "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/services/startup.c"
click node_shell_services "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/services/shellservices.cpp"
click node_tray "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/taskbar/traynotify.cpp"
click node_notify_hook "https://github.com/cdsmatheus/winxshell-for-arm/blob/master/notifyhook/notifyhook.c"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_desktop,node_desktopbar,node_taskbar,node_startmenu,node_quicklaunch,node_favorites,node_user toneBlue
class node_find_program,node_file_explorer,node_shell_entries,node_shell_fs,node_windows_fs toneAmber
class node_explorer,node_settings,node_json_config,node_startup,node_shell_services toneMint
class node_tray,node_notify_hook toneRose
```

## Components

### Desktop shell UI

- [Desktop view](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/desktop/desktop.cpp): `desktop/desktop.cpp`
- [Desktop bar](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/taskbar/desktopbar.cpp): `taskbar/desktopbar.cpp`
- [Taskbar](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/taskbar/taskbar.cpp): `taskbar/taskbar.cpp`
- [Start menu](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/taskbar/startmenu.cpp): `taskbar/startmenu.cpp`
- [Quick launch](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/taskbar/quicklaunch.cpp): `taskbar/quicklaunch.cpp`
- [Favorites](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/taskbar/favorites.cpp): `taskbar/favorites.cpp`

### Shell navigation

- [Program search](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/dialogs/searchprogram.cpp): `dialogs/searchprogram.cpp`
- [File explorer](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/shell/fileexplorer.cpp): `shell/fileexplorer.cpp`
- [Shell entries](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/shell/entries.cpp): `shell/entries.cpp`
- [Shell filesystem](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/shell/shellfs.cpp): `shell/shellfs.cpp`
- [Windows filesystem](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/shell/winfs.cpp): `shell/winfs.cpp`

### Configuration and lifecycle

- [Explorer host](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/explorer.cpp): `explorer.cpp`
- [Shell settings](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/dialogs/settings.cpp): `dialogs/settings.cpp`
- [JSON configuration](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/jconfig/jcfg.cpp): `jconfig/jcfg.cpp`
- [Startup services](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/services/startup.c): `services/startup.c`
- [Shell services](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/services/shellservices.cpp): `services/shellservices.cpp`

### Notification area

- [Notification area](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/taskbar/traynotify.cpp): `taskbar/traynotify.cpp`
- [Notification hook](https://github.com/cdsmatheus/winxshell-for-arm/blob/master/notifyhook/notifyhook.c): `notifyhook/notifyhook.c`

### Other components

- **Desktop user**

## Connections

- Explorer host → Desktop view: hosts
- Explorer host → Desktop bar: hosts
- Explorer host → Shell services: starts thread (evidence: `explorer.cpp`)
- Explorer host → JSON configuration: reads settings (evidence: `explorer.cpp`)
- Program search → Shell entries: launches entries (evidence: `dialogs/searchprogram.cpp`)
- Desktop user → Desktop view: interacts
- Desktop user → Start menu: opens
- Desktop user → File explorer: browses
- Desktop user → Program search: searches programs
- Desktop user → Shell settings: configures shell
- Desktop user → Notification area: manages icons
