2019-09-25 04:41:52 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "prototypes.h"
|
|
|
|
#include "functions.h"
|
|
|
|
#include "Effect.h"
|
|
|
|
|
|
|
|
class MarqueeEffect : public Effect {
|
|
|
|
private:
|
|
|
|
Window* window = new Window(0, 0, LED_WIDTH, LED_HEIGHT-6);
|
|
|
|
String _text = String("No text set +++ ");
|
|
|
|
saccum78 _position = (window->width<<8);
|
|
|
|
public:
|
|
|
|
boolean supports_window = true;
|
|
|
|
boolean can_be_shown_with_clock();
|
|
|
|
void loop();
|
|
|
|
void apply_option(String key, String value) override;
|
2019-09-25 16:11:03 +00:00
|
|
|
String get_name() override { return "marquee"; }
|
2019-09-25 04:41:52 +00:00
|
|
|
};
|
|
|
|
|