Implemented new C++ logic

This commit is contained in:
Martino Ferrari
2026-06-12 15:25:13 +02:00
parent 617b5bd712
commit f25bd7f08e
220 changed files with 39185 additions and 850 deletions
+13
View File
@@ -0,0 +1,13 @@
# Bundled resources
| File | Origin | License |
|------|--------|---------|
| `fonts/FiraSans-Regular.ttf` | [Fira Sans](https://github.com/mozilla/Fira) (Mozilla) | SIL Open Font License 1.1 |
| `fonts/fa-solid-900.ttf` | [Font Awesome 6 Free](https://fontawesome.com) Solid | SIL Open Font License 1.1 (font), CC BY 4.0 (icons) |
| `fonts/IconsFontAwesome6.h` | [IconFontCppHeaders](https://github.com/juliettef/IconFontCppHeaders) | zlib |
| `icons/streamhub-client.svg` | This project | EUPL v1.1 |
| `streamhub-client.desktop` | This project | EUPL v1.1 |
The fonts are loaded at runtime from (in order): `<exe>/../share/streamhub-client/fonts`,
`<exe>/resources/fonts` (build tree), the source-tree `resources/fonts` directory baked in
at configure time, then system font fallbacks.
File diff suppressed because it is too large Load Diff
Binary file not shown.
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="256" height="256" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg">
<!-- StreamHub Client icon: oscilloscope sine + trigger marker, Catppuccin Mocha -->
<rect x="8" y="8" width="240" height="240" rx="48" fill="#1e1e2e" stroke="#45475a" stroke-width="6"/>
<!-- grid -->
<g stroke="#313244" stroke-width="3">
<line x1="32" y1="128" x2="224" y2="128"/>
<line x1="128" y1="40" x2="128" y2="216"/>
<line x1="32" y1="84" x2="224" y2="84"/>
<line x1="32" y1="172" x2="224" y2="172"/>
<line x1="80" y1="40" x2="80" y2="216"/>
<line x1="176" y1="40" x2="176" y2="216"/>
</g>
<!-- trigger level -->
<line x1="32" y1="100" x2="224" y2="100" stroke="#fab387" stroke-width="5" stroke-dasharray="12 10"/>
<!-- sine trace -->
<path d="M 32 128
C 48 64, 64 64, 80 128
S 112 192, 128 128
S 160 64, 176 128
S 208 192, 224 128"
fill="none" stroke="#89b4fa" stroke-width="11" stroke-linecap="round"/>
<!-- trigger point -->
<circle cx="161" cy="100" r="11" fill="#f9e2af" stroke="#11111b" stroke-width="3"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

@@ -0,0 +1,11 @@
[Desktop Entry]
Type=Application
Name=StreamHub Client
GenericName=Signal Oscilloscope
Comment=Native oscilloscope client for MARTe2 StreamHub real-time signal streaming
Exec=StreamHubClient
Icon=streamhub-client
Terminal=false
Categories=Science;Engineering;DataVisualization;
Keywords=MARTe2;oscilloscope;streaming;signals;
StartupWMClass=StreamHubClient