mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-05 15:17:37 +03:00
## Summary
Very small change to add a blank ("None") sleep screen option, for those
who prefer a clean aesthetic.
Tested on X4 device.
20 lines
549 B
C++
20 lines
549 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 renderBlankSleepScreen() const;
|
|
};
|