Skip to content

Commit

Permalink
let's test gpg key. coool.
Browse files Browse the repository at this point in the history
  • Loading branch information
AstraThreshold committed Mar 22, 2024
1 parent df11851 commit 49c2c01
Show file tree
Hide file tree
Showing 10 changed files with 9,206 additions and 9,136 deletions.
47 changes: 40 additions & 7 deletions Core/Src/astra/astra_rocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
astra::Launcher* astraLauncher = new astra::Launcher();
astra::Menu* rootPage = new astra::Menu("root");

std::vector<uint8_t> pic = {
std::vector<uint8_t> pic_0 = {
0xFF, 0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0xF1, 0x3F,
0xFF, 0xFF, 0xC3, 0x3F, 0xFF, 0xFF, 0x87, 0x3F, 0xFF, 0xFF, 0x07, 0x3F, 0xFF, 0xFF, 0x0F, 0x3E,
0xFF, 0xFF, 0x0F, 0x3E, 0xFF, 0xFF, 0x0F, 0x3C, 0xFF, 0xFF, 0x0F, 0x3C, 0xFF, 0xFF, 0x0F, 0x38,
Expand All @@ -20,8 +20,41 @@ std::vector<uint8_t> pic = {
0xFF, 0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0xFF, 0x3F
};

std::vector<uint8_t> pic_1 = {
0xFF, 0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0xFF, 0x3F, 0xFF, 0xF9, 0xE7, 0x3F,
0xFF, 0xF9, 0xE7, 0x3F, 0xFF, 0xF9, 0xE7, 0x3F, 0xFF, 0xF0, 0xE7, 0x3F, 0x7F, 0xE0, 0xE7, 0x3F,
0x7F, 0xE0, 0xC3, 0x3F, 0x7F, 0xE0, 0xC3, 0x3F, 0x7F, 0xE0, 0xC3, 0x3F, 0x7F, 0xE0, 0xE7, 0x3F,
0xFF, 0xF0, 0xE7, 0x3F, 0xFF, 0xF9, 0xE7, 0x3F, 0xFF, 0xF9, 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FF, 0xFF, 0x7F, 0x3E,
0xFF, 0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0xFF, 0x3F
};

std::vector<uint8_t> pic_3 = {
0xFF, 0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0xFF, 0x3F,
0xFF, 0x1F, 0xFE, 0x3F, 0xFF, 0x1F, 0xFE, 0x3F, 0xFF, 0x0C, 0xCC, 0x3F, 0x7F, 0x00, 0x80, 0x3F,
0x3F, 0x00, 0x00, 0x3F, 0x3F, 0xE0, 0x01, 0x3F, 0x7F, 0xF8, 0x87, 0x3F, 0x7F, 0xFC, 0x8F, 0x3F,
0x3F, 0xFC, 0x0F, 0x3F, 0x0F, 0x3E, 0x1F, 0x3C, 0x0F, 0x1E, 0x1E, 0x3C, 0x0F, 0x1E, 0x1E, 0x3C,
0x0F, 0x3E, 0x1F, 0x3C, 0x3F, 0xFC, 0x0F, 0x3F, 0x7F, 0xFC, 0x8F, 0x3F, 0x7F, 0xF8, 0x87, 0x3F,
0x3F, 0xE0, 0x01, 0x3F, 0x3F, 0x00, 0x00, 0x3F, 0x7F, 0x00, 0x80, 0x3F, 0xFF, 0x0C, 0xCC, 0x3F,
0xFF, 0x1F, 0xFE, 0x3F, 0xFF, 0x1F, 0xFE, 0x3F, 0xFF, 0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0xFF, 0x3F,
0xFF, 0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0xFF, 0x3F
};

//astra::Menu* secondPage = new astra::Menu("secondPage");
astra::Menu* secondPage = new astra::Menu("secondPage", pic);
astra::Menu* secondPage = new astra::Menu("secondPage", pic_3);

void astraCoreInit(void) {
HAL::inject(new HALDreamCore);
Expand All @@ -35,12 +68,12 @@ void astraCoreInit(void) {
// HAL::delay(100);
// HAL::printInfo("check your program!");
// HAL::delay(100);
HAL::delay(400);
astra::drawLogo(5000);
HAL::delay(350);
astra::drawLogo(1000);

rootPage->addItem(new astra::Menu("test1", pic));
rootPage->addItem(new astra::Menu("测试2", pic));
rootPage->addItem(new astra::Menu("测试测试3", pic));
rootPage->addItem(new astra::Menu("test1", pic_0));
rootPage->addItem(new astra::Menu("测试2", pic_1));
rootPage->addItem(new astra::Menu("测试测试3", pic_2));
rootPage->addItem(secondPage);

// rootPage->addItem(new astra::Menu("test1"));
Expand Down
2 changes: 1 addition & 1 deletion Core/Src/astra/config/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct config {
float sideBarAnimationSpeed = 15;
float fadeAnimationSpeed = 100;
float cameraAnimationSpeed = 60;
float logoAnimationSpeed = 80;
float logoAnimationSpeed = 85;

bool tileUnfold = true;
bool listUnfold = true;
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified cmake-build-debug/astra.bin
Binary file not shown.
Binary file modified cmake-build-debug/astra.elf
Binary file not shown.
Loading

0 comments on commit 49c2c01

Please sign in to comment.