ESPHome  2024.9.2
Data Structures | Namespaces | Typedefs | Enumerations | Functions | Variables
display.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::display::BaseImage
 
class  esphome::display::BaseFont
 
class  esphome::display::Display
 
class  esphome::display::DisplayPage
 
class  esphome::display::DisplayPageShowAction< Ts >
 
class  esphome::display::DisplayPageShowNextAction< Ts >
 
class  esphome::display::DisplayPageShowPrevAction< Ts >
 
class  esphome::display::DisplayIsDisplayingPageCondition< Ts >
 
class  esphome::display::DisplayOnPageChangeTrigger
 

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::display
 

Typedefs

using esphome::display::display_writer_t = std::function< void(Display &)>
 

Enumerations

enum  esphome::display::TextAlign {
  esphome::display::TextAlign::TOP = 0x00, esphome::display::TextAlign::CENTER_VERTICAL = 0x01, esphome::display::TextAlign::BASELINE = 0x02, esphome::display::TextAlign::BOTTOM = 0x04,
  esphome::display::TextAlign::LEFT = 0x00, esphome::display::TextAlign::CENTER_HORIZONTAL = 0x08, esphome::display::TextAlign::RIGHT = 0x10, esphome::display::TextAlign::TOP_LEFT = TOP | LEFT,
  esphome::display::TextAlign::TOP_CENTER = TOP | CENTER_HORIZONTAL, esphome::display::TextAlign::TOP_RIGHT = TOP | RIGHT, esphome::display::TextAlign::CENTER_LEFT = CENTER_VERTICAL | LEFT, esphome::display::TextAlign::CENTER = CENTER_VERTICAL | CENTER_HORIZONTAL,
  esphome::display::TextAlign::CENTER_RIGHT = CENTER_VERTICAL | RIGHT, esphome::display::TextAlign::BASELINE_LEFT = BASELINE | LEFT, esphome::display::TextAlign::BASELINE_CENTER = BASELINE | CENTER_HORIZONTAL, esphome::display::TextAlign::BASELINE_RIGHT = BASELINE | RIGHT,
  esphome::display::TextAlign::BOTTOM_LEFT = BOTTOM | LEFT, esphome::display::TextAlign::BOTTOM_CENTER = BOTTOM | CENTER_HORIZONTAL, esphome::display::TextAlign::BOTTOM_RIGHT = BOTTOM | RIGHT
}
 TextAlign is used to tell the display class how to position a piece of text. More...
 
enum  esphome::display::ImageAlign {
  esphome::display::ImageAlign::TOP = 0x00, esphome::display::ImageAlign::CENTER_VERTICAL = 0x01, esphome::display::ImageAlign::BOTTOM = 0x02, esphome::display::ImageAlign::LEFT = 0x00,
  esphome::display::ImageAlign::CENTER_HORIZONTAL = 0x04, esphome::display::ImageAlign::RIGHT = 0x08, esphome::display::ImageAlign::TOP_LEFT = TOP | LEFT, esphome::display::ImageAlign::TOP_CENTER = TOP | CENTER_HORIZONTAL,
  esphome::display::ImageAlign::TOP_RIGHT = TOP | RIGHT, esphome::display::ImageAlign::CENTER_LEFT = CENTER_VERTICAL | LEFT, esphome::display::ImageAlign::CENTER = CENTER_VERTICAL | CENTER_HORIZONTAL, esphome::display::ImageAlign::CENTER_RIGHT = CENTER_VERTICAL | RIGHT,
  esphome::display::ImageAlign::BOTTOM_LEFT = BOTTOM | LEFT, esphome::display::ImageAlign::BOTTOM_CENTER = BOTTOM | CENTER_HORIZONTAL, esphome::display::ImageAlign::BOTTOM_RIGHT = BOTTOM | RIGHT, esphome::display::ImageAlign::HORIZONTAL_ALIGNMENT = LEFT | CENTER_HORIZONTAL | RIGHT,
  esphome::display::ImageAlign::VERTICAL_ALIGNMENT = TOP | CENTER_VERTICAL | BOTTOM
}
 ImageAlign is used to tell the display class how to position a image. More...
 
enum  esphome::display::DisplayType { esphome::display::DISPLAY_TYPE_BINARY = 1, esphome::display::DISPLAY_TYPE_GRAYSCALE = 2, esphome::display::DISPLAY_TYPE_COLOR = 3 }
 
enum  esphome::display::DisplayRotation { esphome::display::DISPLAY_ROTATION_0_DEGREES = 0, esphome::display::DISPLAY_ROTATION_90_DEGREES = 90, esphome::display::DISPLAY_ROTATION_180_DEGREES = 180, esphome::display::DISPLAY_ROTATION_270_DEGREES = 270 }
 
enum  esphome::display::RegularPolygonVariation { esphome::display::VARIATION_POINTY_TOP = 0, esphome::display::VARIATION_FLAT_TOP = 1 }
 
enum  esphome::display::RegularPolygonDrawing { esphome::display::DRAWING_OUTLINE = 0, esphome::display::DRAWING_FILLED = 1 }
 

Functions

const LogString * esphome::display::text_align_to_string (TextAlign textalign)
 

Variables

const int esphome::display::EDGES_TRIGON = 3
 
const int esphome::display::EDGES_TRIANGLE = 3
 
const int esphome::display::EDGES_TETRAGON = 4
 
const int esphome::display::EDGES_QUADRILATERAL = 4
 
const int esphome::display::EDGES_PENTAGON = 5
 
const int esphome::display::EDGES_HEXAGON = 6
 
const int esphome::display::EDGES_HEPTAGON = 7
 
const int esphome::display::EDGES_OCTAGON = 8
 
const int esphome::display::EDGES_NONAGON = 9
 
const int esphome::display::EDGES_ENNEAGON = 9
 
const int esphome::display::EDGES_DECAGON = 10
 
const int esphome::display::EDGES_HENDECAGON = 11
 
const int esphome::display::EDGES_DODECAGON = 12
 
const int esphome::display::EDGES_TRIDECAGON = 13
 
const int esphome::display::EDGES_TETRADECAGON = 14
 
const int esphome::display::EDGES_PENTADECAGON = 15
 
const int esphome::display::EDGES_HEXADECAGON = 16
 
const float esphome::display::ROTATION_0_DEGREES = 0.0
 
const float esphome::display::ROTATION_45_DEGREES = 45.0
 
const float esphome::display::ROTATION_90_DEGREES = 90.0
 
const float esphome::display::ROTATION_180_DEGREES = 180.0
 
const float esphome::display::ROTATION_270_DEGREES = 270.0