FabGL
ESP32 Display Controller and Graphics Library
displaycontroller.h File Reference

This file contains fabgl::BitmappedDisplayController definition. More...

#include <stdint.h>
#include <stddef.h>
#include "freertos/FreeRTOS.h"
#include "freertos/queue.h"
#include "freertos/task.h"
#include "fabglconf.h"
#include "fabutils.h"
Include dependency graph for displaycontroller.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BaseDisplayController
 Represents the base abstract class for all display controllers. More...
 
struct  Bitmap
 Represents an image. More...
 
class  BitmappedDisplayController
 Represents the base abstract class for bitmapped display controllers. More...
 
struct  Cursor
 Defines a cursor. More...
 
struct  Glyph
 Represents a glyph position, size and binary data. More...
 
union  GlyphOptions
 Specifies various glyph painting options. More...
 
struct  PaintOptions
 Specifies general paint options. More...
 
struct  RGB222
 Represents a 6 bit RGB color. More...
 
struct  RGB888
 Represents a 24 bit RGB color. More...
 
struct  RGBA2222
 Represents an 8 bit ABGR color. More...
 
struct  RGBA8888
 Represents a 32 bit RGBA color. More...
 
struct  Sprite
 Represents a sprite. More...
 
class  TextualDisplayController
 Represents the base abstract class for textual display controllers. More...
 

Enumerations

enum  Color {
  Black , Red , Green , Yellow ,
  Blue , Magenta , Cyan , White ,
  BrightBlack , BrightRed , BrightGreen , BrightYellow ,
  BrightBlue , BrightMagenta , BrightCyan , BrightWhite
}
 This enum defines named colors. More...
 
enum  CursorName : uint8_t {
  CursorPointerAmigaLike , CursorPointerSimpleReduced , CursorPointerSimple , CursorPointerShadowed ,
  CursorPointer , CursorPen , CursorCross1 , CursorCross2 ,
  CursorPoint , CursorLeftArrow , CursorRightArrow , CursorDownArrow ,
  CursorUpArrow , CursorMove , CursorResize1 , CursorResize2 ,
  CursorResize3 , CursorResize4 , CursorTextInput
}
 This enum defines a set of predefined mouse cursors. More...
 
enum class  DisplayControllerType { Textual , Bitmapped }
 This enum defines types of display controllers. More...
 
enum class  LineEnds : uint8_t { None , Circle }
 This enum defines line ends when pen width is greater than 1. More...
 
enum class  NativePixelFormat : uint8_t {
  Mono , SBGR2222 , RGB565BE , PALETTE2 ,
  PALETTE4 , PALETTE8 , PALETTE16
}
 This enum defines the display controller native pixel format. More...
 
enum class  PixelFormat : uint8_t {
  Undefined , Native , Mask , RGBA2222 ,
  RGBA8888
}
 This enum defines a pixel format. More...
 

Functions

GlyphOptions & Blank (uint8_t value)
 Helper method to set or reset foreground and background swapping. More...
 
GlyphOptions & Bold (bool value)
 Helper method to set or reset bold. More...
 
GlyphOptions & DoubleWidth (uint8_t value)
 Helper method to set or reset doubleWidth. More...
 
GlyphOptions & FillBackground (bool value)
 Helper method to set or reset fillBackground. More...
 
GlyphOptions & Invert (uint8_t value)
 Helper method to set or reset foreground and background swapping. More...
 
GlyphOptions & Italic (bool value)
 Helper method to set or reset italic. More...
 
GlyphOptions & Underline (bool value)
 Helper method to set or reset underlined. More...
 

Variables

uint8_t B
 
uint8_t const * data
 
uint8_t G
 
uint8_t height
 
uint8_t NOT
 
uint8_t R
 
uint8_t swapFGBG
 
uint8_t width
 
int16_t X
 
int16_t Y
 

Detailed Description

This file contains fabgl::BitmappedDisplayController definition.

Definition in file displaycontroller.h.