2020-08-08 17:06:53 -04:00
|
|
|
#include "ui_about_simple.hpp"
|
|
|
|
|
2023-05-18 16:16:05 -04:00
|
|
|
namespace ui {
|
|
|
|
AboutView::AboutView(NavigationView& nav) {
|
|
|
|
add_children({&console, &button_ok});
|
2020-08-08 17:06:53 -04:00
|
|
|
|
2023-05-18 16:16:05 -04:00
|
|
|
button_ok.on_select = [&nav](Button&) {
|
|
|
|
nav.pop();
|
|
|
|
};
|
2020-08-08 17:06:53 -04:00
|
|
|
|
2023-08-25 21:01:37 -04:00
|
|
|
console.writeln(STR_COLOR_LIGHT_GREY "List of contributors:");
|
2023-05-18 16:16:05 -04:00
|
|
|
console.writeln("");
|
|
|
|
}
|
2020-08-08 17:06:53 -04:00
|
|
|
|
2023-05-18 16:16:05 -04:00
|
|
|
void AboutView::update() {
|
|
|
|
if (++timer > 200) {
|
|
|
|
timer = 0;
|
2020-08-08 17:06:53 -04:00
|
|
|
|
2023-05-18 16:16:05 -04:00
|
|
|
switch (++frame) {
|
2020-08-08 17:06:53 -04:00
|
|
|
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
|
2023-08-25 21:01:37 -04:00
|
|
|
console.writeln(STR_COLOR_DARK_YELLOW "Mayhem:");
|
2020-08-08 17:06:53 -04:00
|
|
|
console.writeln("eried,euquiq,gregoryfenton");
|
|
|
|
console.writeln("johnelder,jwetzell,nnemanjan00");
|
2021-02-03 16:23:12 -05:00
|
|
|
console.writeln("N0vaPixel,klockee,GullCode");
|
|
|
|
console.writeln("jamesshao8,ITAxReal,rascafr");
|
|
|
|
console.writeln("mcules,dqs105,strijar");
|
2021-06-22 06:44:19 -04:00
|
|
|
console.writeln("zhang00963,RedFox-Fr,aldude999");
|
2021-05-02 22:00:39 -04:00
|
|
|
console.writeln("East2West,fossum,ArjanOnwezen");
|
2021-06-22 06:44:19 -04:00
|
|
|
console.writeln("vXxOinvizioNxX,teixeluis");
|
2021-11-01 06:48:14 -04:00
|
|
|
console.writeln("Brumi-2021,texasyojimbo");
|
2022-01-12 09:35:30 -05:00
|
|
|
console.writeln("heurist1,intoxsick,ckuethe");
|
2022-03-29 02:28:31 -04:00
|
|
|
console.writeln("notpike,jLynx,zigad");
|
2023-01-25 08:14:12 -05:00
|
|
|
console.writeln("MichalLeonBorsuk,jimilinuxguy");
|
2023-06-04 15:56:46 -04:00
|
|
|
console.writeln("kallanreed,bernd-herzog");
|
2023-08-25 21:01:37 -04:00
|
|
|
break;
|
|
|
|
case 2:
|
2023-06-05 14:09:50 -04:00
|
|
|
console.writeln("NotherNgineer,zxkmm,u-foka");
|
2023-11-30 06:36:59 -05:00
|
|
|
console.writeln("Netro,HTotoo");
|
2020-08-08 17:06:53 -04:00
|
|
|
console.writeln("");
|
|
|
|
break;
|
|
|
|
|
2023-08-25 21:01:37 -04:00
|
|
|
case 3:
|
2020-08-08 17:06:53 -04:00
|
|
|
// https://github.com/eried/portapack-mayhem/graphs/contributors?to=2020-04-12&from=2015-07-31&type=c
|
2023-08-25 21:01:37 -04:00
|
|
|
console.writeln(STR_COLOR_DARK_YELLOW "Havoc:");
|
2022-01-03 22:14:05 -05:00
|
|
|
console.writeln("furrtek,mrmookie,NotPike");
|
2020-08-08 17:06:53 -04:00
|
|
|
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;
|
|
|
|
|
2023-08-25 21:01:37 -04:00
|
|
|
case 4:
|
2020-08-08 17:06:53 -04:00
|
|
|
// https://github.com/eried/portapack-mayhem/graphs/contributors?from=2014-07-05&to=2015-07-31&type=c
|
2023-08-25 21:01:37 -04:00
|
|
|
console.writeln(STR_COLOR_DARK_YELLOW "PortaPack:");
|
2020-08-08 17:06:53 -04:00
|
|
|
console.writeln("jboone,argilo");
|
|
|
|
console.writeln("");
|
|
|
|
break;
|
|
|
|
|
2023-08-25 21:01:37 -04:00
|
|
|
case 5:
|
2020-08-08 17:06:53 -04:00
|
|
|
// https://github.com/mossmann/hackrf/graphs/contributors
|
2023-08-25 21:01:37 -04:00
|
|
|
console.writeln(STR_COLOR_DARK_YELLOW "HackRF:");
|
2020-08-08 17:06:53 -04:00
|
|
|
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("");
|
2023-05-18 16:16:05 -04:00
|
|
|
frame = 0; // Loop
|
2020-08-08 17:06:53 -04:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
2023-05-18 16:16:05 -04:00
|
|
|
}
|
2020-08-08 17:06:53 -04:00
|
|
|
|
2023-05-18 16:16:05 -04:00
|
|
|
void AboutView::focus() {
|
|
|
|
button_ok.focus();
|
|
|
|
}
|
2020-08-08 17:06:53 -04:00
|
|
|
|
2021-02-03 16:23:12 -05:00
|
|
|
} /* namespace ui */
|