mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-21 13:24:30 -04:00
Add Remote App & UI updates. (#1451)
* Alpha order sub-menus * WIP Getting Remote types outlined * WIP building UI * WIP adding RemoteButton control * WIP Fix build * WIP Basic editing support * Border on the active button * Make TxView2 sane * Add easier RGB color creation from uint32 * Center some button icons * WIP Remote - main UI * WIP main UI mostly working, can send * Add 'join' utility * WIP save/load * Pre-alloc buttons to prevent focus dangling * Alpha order settings/debug pages * Add UI for picking capture and set frequency * WIP Getting really close now * Fix path for init name * Some fit & finish
This commit is contained in:
parent
537cf2e79b
commit
fca373d936
27 changed files with 1205 additions and 312 deletions
|
@ -89,4 +89,11 @@ TEST_CASE("to_byte_array returns correct size and values.") {
|
|||
CHECK_EQ(arr4[1], 0xCD);
|
||||
CHECK_EQ(arr4[2], 0x12);
|
||||
CHECK_EQ(arr4[3], 0x34);
|
||||
}
|
||||
|
||||
TEST_CASE("join will join strings") {
|
||||
CHECK_EQ(join(',', {}), "");
|
||||
CHECK_EQ(join(',', {"a"}), "a");
|
||||
CHECK_EQ(join('-', {"a", "b"}), "a-b");
|
||||
CHECK_EQ(join(',', {"a", "b", "c"}), "a,b,c");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue