mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
b96f14762f
* First BLE work * Adding new fsk proc WIP * Reverting ble stuff * Initial compile working * more work. * Adding waterfall for debug * more edits to debug * Work to get widgets to show. * cleanup before attempting diff fsk modulation method * Temporary debug to learn how decimation scales. * Tab view for console and spectrum. Spectrum still not working right. * Fixed spectrum offset. * Added audio sampling rate increments to freqman * Added overriding range for frequency field and working off deviation * BLE cleanup. Got PDU parsing. * Parsing CRC * forgot : * Removing AA again because cluttering UI * fix compile * attempt at throttling. * WIP changes. * Decimating by 4 to handle issue with overloading. * Attempt to parse MAC still needs work. * Small fixes. MAC still wrong. * Fixed invalid indexing on Symbols. * List view of BLE Mac Addresses * Added Channel Option and improved GUI header. * renaming to dB and fixing some warnings. * Advertisements only. * Initial cut of BLE Advertisement scan app. * Copyrights * formatting correctly in association to clang13 * Fixing warning and hiding fsk rx. * spacing * Removing some cmake install files that weren't suppose to be there. * missed some. * Added name to about. * Edits for PR review pt.1 * Refactor ORing with 0 doesn't make sense. * remove parenthesis * More PR Review changes. * Fix compiler error. * PR Review edits. * PR review changes. * Fixes. * Unneeded ; * Update ui_about_simple.cpp --------- Co-authored-by: jLynx <admin@jlynx.net>
84 lines
3.4 KiB
C++
84 lines
3.4 KiB
C++
#include "ui_about_simple.hpp"
|
|
|
|
namespace ui {
|
|
AboutView::AboutView(NavigationView& nav) {
|
|
add_children({&console, &button_ok});
|
|
|
|
button_ok.on_select = [&nav](Button&) {
|
|
nav.pop();
|
|
};
|
|
|
|
console.writeln(STR_COLOR_LIGHT_GREY "List of contributors:");
|
|
console.writeln("");
|
|
}
|
|
|
|
void AboutView::update() {
|
|
if (++timer > 200) {
|
|
timer = 0;
|
|
|
|
switch (++frame) {
|
|
case 1:
|
|
// TODO: Generate this automatically from github
|
|
// https://github.com/eried/portapack-mayhem/graphs/contributors?to=2022-01-01&from=2020-04-12&type=c
|
|
console.writeln(STR_COLOR_DARK_YELLOW "Mayhem:");
|
|
console.writeln("eried,euquiq,gregoryfenton");
|
|
console.writeln("johnelder,jwetzell,nnemanjan00");
|
|
console.writeln("N0vaPixel,klockee,GullCode");
|
|
console.writeln("jamesshao8,ITAxReal,rascafr");
|
|
console.writeln("mcules,dqs105,strijar");
|
|
console.writeln("zhang00963,RedFox-Fr,aldude999");
|
|
console.writeln("East2West,fossum,ArjanOnwezen");
|
|
console.writeln("vXxOinvizioNxX,teixeluis");
|
|
console.writeln("Brumi-2021,texasyojimbo");
|
|
console.writeln("heurist1,intoxsick,ckuethe");
|
|
console.writeln("notpike,jLynx,zigad");
|
|
console.writeln("MichalLeonBorsuk,jimilinuxguy");
|
|
console.writeln("kallanreed,bernd-herzog");
|
|
break;
|
|
case 2:
|
|
console.writeln("NotherNgineer,zxkmm,u-foka");
|
|
console.writeln("Netro");
|
|
console.writeln("");
|
|
break;
|
|
|
|
case 3:
|
|
// https://github.com/eried/portapack-mayhem/graphs/contributors?to=2020-04-12&from=2015-07-31&type=c
|
|
console.writeln(STR_COLOR_DARK_YELLOW "Havoc:");
|
|
console.writeln("furrtek,mrmookie,NotPike");
|
|
console.writeln("mjwaxios,ImDroided,Giorgiofox");
|
|
console.writeln("F4GEV,z4ziggy,xmycroftx");
|
|
console.writeln("troussos,silascutler");
|
|
console.writeln("nickbouwhuis,msoose,leres");
|
|
console.writeln("joakar,dhoetger,clem-42");
|
|
console.writeln("brianlechthaler,ZeroChaos-...");
|
|
console.writeln("");
|
|
break;
|
|
|
|
case 4:
|
|
// https://github.com/eried/portapack-mayhem/graphs/contributors?from=2014-07-05&to=2015-07-31&type=c
|
|
console.writeln(STR_COLOR_DARK_YELLOW "PortaPack:");
|
|
console.writeln("jboone,argilo");
|
|
console.writeln("");
|
|
break;
|
|
|
|
case 5:
|
|
// https://github.com/mossmann/hackrf/graphs/contributors
|
|
console.writeln(STR_COLOR_DARK_YELLOW "HackRF:");
|
|
console.writeln("mossmann,dominicgs,bvernoux");
|
|
console.writeln("bgamari,schneider42,miek");
|
|
console.writeln("willcode,hessu,Sec42");
|
|
console.writeln("yhetti,ckuethe,smunaut");
|
|
console.writeln("wishi,mrbubble62,scateu...");
|
|
console.writeln("");
|
|
frame = 0; // Loop
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
void AboutView::focus() {
|
|
button_ok.focus();
|
|
}
|
|
|
|
} /* namespace ui */
|