fuuuuuuuu
This commit is contained in:
@@ -24,18 +24,18 @@ namespace detail
|
||||
class Display : public items::OutputDisplay
|
||||
{
|
||||
public:
|
||||
Display(uint8_t address, uint8_t id);
|
||||
Display(const uint8_t & address, const uint8_t & id);
|
||||
virtual ~Display() = default;
|
||||
|
||||
void write_score(unsigned int score, unsigned int length);
|
||||
void write_content(std::string content, unsigned int length);
|
||||
void write_score(const unsigned int & score, const unsigned int & length);
|
||||
void write_content(std::string & content, const unsigned int & length);
|
||||
|
||||
std::string get_content() const override;
|
||||
uint8_t get_address() const override;
|
||||
uint8_t get_id() const override;
|
||||
|
||||
private:
|
||||
std::string fit_score_string(std::string &score_string, unsigned int length);
|
||||
std::string fit_score_string(std::string & score_string, const unsigned int & length);
|
||||
|
||||
public:
|
||||
std::string content;
|
||||
|
||||
Reference in New Issue
Block a user