21 lines
593 B
C++
21 lines
593 B
C++
#pragma once
|
|
#include "../Activity.h"
|
|
|
|
class Bitmap;
|
|
|
|
class SleepActivity final : public Activity {
|
|
public:
|
|
explicit SleepActivity(GfxRenderer& renderer, MappedInputManager& mappedInput)
|
|
: Activity("Sleep", renderer, mappedInput) {}
|
|
void onEnter() override;
|
|
|
|
private:
|
|
void renderPopup(const char* message) const;
|
|
void renderDefaultSleepScreen() const;
|
|
void renderCustomSleepScreen() const;
|
|
void renderCoverSleepScreen() const;
|
|
void renderBitmapSleepScreen(const Bitmap& bitmap) const;
|
|
void renderLastScreenSleepScreen() const;
|
|
void renderBlankSleepScreen() const;
|
|
};
|