Skip to content

File evabScreenPage8Base.h

File List > src > evabScreenPage8Base.h

Go to the documentation of this file

#pragma once

#include <evabCoor.h>
#include <evabScreen.h>
#include <evabIFont.h>

namespace evab
{
  class ScreenPage8Base : public Screen
  {
  public:
    ScreenPage8Base(const IFont *aFont);

    void Picto(Coor aPosition, const unsigned char *aPictogram, unsigned char aColor);

    void DrawSymbol(Coor aPosition, Coor aSize, char aCharcode, unsigned char aColor);

  private:

    virtual void drawVerticalSlice(Coor aPosition, unsigned char aCutColumn, unsigned char aSlice) = 0;

    uint32_t upscaleY(uint8_t aSlice, uint8_t aScale);

  private:
    const IFont *mFont; 
  };

}