2025-12-17 23:32:18 +11:00
|
|
|
#pragma once
|
|
|
|
|
#include "../Activity.h"
|
|
|
|
|
|
2025-12-19 08:45:14 +11:00
|
|
|
class Bitmap;
|
|
|
|
|
|
2025-12-17 23:32:18 +11:00
|
|
|
class SleepActivity final : public Activity {
|
|
|
|
|
public:
|
2025-12-21 21:17:00 +11:00
|
|
|
explicit SleepActivity(GfxRenderer& renderer, InputManager& inputManager)
|
|
|
|
|
: Activity("Sleep", renderer, inputManager) {}
|
2025-12-17 23:32:18 +11:00
|
|
|
void onEnter() override;
|
2025-12-19 08:45:14 +11:00
|
|
|
|
|
|
|
|
private:
|
2025-12-19 14:17:26 +01:00
|
|
|
void renderPopup(const char* message) const;
|
2025-12-21 18:42:06 +11:00
|
|
|
void renderDefaultSleepScreen() const;
|
|
|
|
|
void renderCustomSleepScreen() const;
|
|
|
|
|
void renderCoverSleepScreen() const;
|
|
|
|
|
void renderBitmapSleepScreen(const Bitmap& bitmap) const;
|
2025-12-17 23:32:18 +11:00
|
|
|
};
|