foreseen

A text-based gemini browser with prefetching
git clone git://git.laack.co/foreseen.git
Log | Files | Refs | README | LICENSE

quote.hpp (298B)


      1 #pragma once
      2 #include <cstdint>
      3 
      4 #include "line.hpp"
      5 
      6 class Quote : public Line {
      7    private:
      8     std::string textToRender;
      9 
     10    public:
     11     Quote(std::string text);
     12     std::string textToDraw() override;
     13     uint8_t getColor() override;
     14     LineType type() override;
     15     bool isBold() override;
     16 };