foreseen

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

format-switch.cpp (383B)


      1 #include "../include/format-switch.hpp"
      2 
      3 #include <cstdint>
      4 
      5 #include "../include/shared.hpp"
      6 
      7 FormatSwitch::FormatSwitch(std::string input) : text(input) {}
      8 
      9 std::string FormatSwitch::textToDraw() { return ""; }
     10 
     11 uint8_t FormatSwitch::getColor() { return COLOR_FORMAT_SWITCH; }
     12 
     13 LineType FormatSwitch::type() { return FORMAT_SWITCH; }
     14 
     15 bool FormatSwitch::isBold() { return false; }