New Apps - Lot 1 (#27)

* New Apps - Lot 1

Trying to mix it up a little with some fun, useful and just weird.
Adds more new apps...
Brainfuck
Breakout
Magic 8 Ball
Todo List

Also re-organised the app name part of main.yml

* Fix build?

* fixes

* and some more

* Update Brainfuck.cpp

* i heard you like fixes with your fixes

* no hard coded paths
This commit is contained in:
Shadowtrance
2026-02-20 04:46:54 +10:00
committed by GitHub
parent 1443a29258
commit a75279c96c
29 changed files with 3215 additions and 1 deletions
+26
View File
@@ -0,0 +1,26 @@
#pragma once
#include <lvgl.h>
#include <TactilityCpp/App.h>
class Magic8Ball final : public App {
private:
// UI pointers (nulled in onHide)
lv_obj_t* answerLabel = nullptr;
lv_obj_t* hintLabel = nullptr;
lv_obj_t* ballObj = nullptr;
// State
int lastIdx = -1;
bool seeded = false;
void revealAnswer();
static void onBallClick(lv_event_t* e);
static void onKey(lv_event_t* e);
public:
void onShow(AppHandle context, lv_obj_t* parent) override;
void onHide(AppHandle context) override;
};