Logo
Explore Help
Register Sign In
finn/crosspoint-reader
1
0
Fork 0
You've already forked crosspoint-reader
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
b2020f5512f5579a67af33da3e3648e85acf74fc
crosspoint-reader/src/activities/boot_sleep/SleepActivity.h

9 lines
238 B
C
Raw Normal View History

Rename Screens to Activities and restructure files (#44) ## Summary * This PR drastically reshapes the structure of the codebase, moving from the concept of "Screens" to "Activities", restructing the files and setting up the concept of subactivities. * This should help with keep the main file clean and containing all functional logic in the relevant activity. * CrossPointState is now also a global singleton which should help with accessing it from within activities. ## Additional Context * This is probably going to be a bit disruptive for people with open PRs, sorry 😞
2025-12-17 23:32:18 +11:00
#pragma once
#include "../Activity.h"
class SleepActivity final : public Activity {
public:
explicit SleepActivity(GfxRenderer& renderer, InputManager& inputManager) : Activity(renderer, inputManager) {}
void onEnter() override;
};
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 2123ms Template: 182ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API