Public Access
22 lines
543 B
C++
22 lines
543 B
C++
#pragma once
|
|||
|
|
|
||
|
|
#include "BROSE9323.h"
|
||
|
|
#include "logic/display_controller.h"
|
||
|
|
|
||
|
|
// Draws the screens on the flipdot display. Each method sends one complete frame.
|
||
|
|
class FlipdotFrames : public Frames
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
explicit FlipdotFrames(BROSE9323 &display);
|
||
|
|
|
||
|
|
// Pikachu with a thought bubble showing HH:MM (yawning in the evening)
|
||
|
|
void clock(int hour, int minute) override;
|
||
|
|
// Nintendo logo
|
||
|
|
void logo() override;
|
||
|
|
void blank() override;
|
||
|
|
// A line of text, e.g. while connecting
|
||
|
|
void message(const char *text);
|
||
|
|
|
||
|
|
private:
|
||
|
|
BROSE9323 &_display;
|
||
|
|
};
|