sl@8: // sl@8: // sl@8: // sl@8: sl@8: #ifndef FUTABA_GP1212_H sl@8: #define FUTABA_GP1212_H sl@8: sl@9: #include "FutabaVfd.h" sl@9: sl@9: const int KGP12xWidthInPixels = 256; sl@9: const int KGP12xHeightInPixels = 64; sl@9: const int KGP12xPixelsPerByte = 8; sl@9: const int KGP12xFrameBufferSizeInBytes = KGP12xWidthInPixels*KGP12xHeightInPixels/KGP12xPixelsPerByte; //256*64/8=2048 sl@9: const int KGP12xFrameBufferPixelCount = KGP12xWidthInPixels*KGP12xHeightInPixels; sl@8: sl@8: sl@8: /** sl@8: Common functionality between GP1212A01A and GP1212A02A sl@8: */ sl@9: class GP1212XXXX : public FutabaGraphicDisplay sl@8: { sl@8: public: sl@8: //From FutabaVfd sl@8: virtual int MinBrightness() const {return 0;} sl@8: virtual int MaxBrightness() const {return 5;} sl@9: virtual int WidthInPixels() const {return KGP12xWidthInPixels;} sl@9: virtual int HeightInPixels() const {return KGP12xHeightInPixels;} sl@9: sl@8: }; sl@8: sl@8: sl@8: sl@8: #endif