FabGL
ESP32 Display Controller and Graphics Library
fabgl::BaseDisplayController Class Referenceabstract

Represents the base abstract class for all display controllers. More...

#include <displaycontroller.h>

Inheritance diagram for fabgl::BaseDisplayController:

Public Member Functions

virtual DisplayControllerType controllerType ()=0
 Determines the display controller type. More...
 
virtual int getScreenHeight ()=0
 Determines the screen height in pixels. More...
 
virtual int getScreenWidth ()=0
 Determines the screen width in pixels. More...
 

Detailed Description

Represents the base abstract class for all display controllers.

Member Function Documentation

◆ controllerType()

virtual DisplayControllerType fabgl::BaseDisplayController::controllerType ( )
pure virtual

Determines the display controller type.

Returns
Display controller type.

Implemented in fabgl::BitmappedDisplayController, and fabgl::TextualDisplayController.

◆ getScreenHeight()

virtual int fabgl::BaseDisplayController::getScreenHeight ( )
pure virtual

Determines the screen height in pixels.

Returns
Screen height in pixels.

Implemented in fabgl::VGAController, fabgl::VGA16Controller, fabgl::TFTController, fabgl::VGATextController, and fabgl::SSD1306Controller.

◆ getScreenWidth()

virtual int fabgl::BaseDisplayController::getScreenWidth ( )
pure virtual

Determines the screen width in pixels.

Returns
Screen width in pixels.

Implemented in fabgl::VGAController, fabgl::VGA16Controller, fabgl::TFTController, fabgl::VGATextController, and fabgl::SSD1306Controller.


The documentation for this class was generated from the following file: