ESPHome  2024.6.6
Public Member Functions | Protected Attributes
esphome::display::DisplayPage Class Reference

#include <display.h>

Public Member Functions

 DisplayPage (display_writer_t writer)
void show ()
void show_next ()
void show_prev ()
void set_parent (Display *parent)
void set_prev (DisplayPage *prev)
void set_next (DisplayPage *next)
const display_writer_tget_writer () const

Protected Attributes

display_writer_t writer_
DisplayPageprev_ {nullptr}
DisplayPagenext_ {nullptr}

Detailed Description

Definition at line 668 of file display.h.

Constructor & Destructor Documentation

◆ DisplayPage()

esphome::display::DisplayPage::DisplayPage ( display_writer_t  writer)

Definition at line 669 of file display.cpp.

Member Function Documentation

◆ get_writer()

const display_writer_t & esphome::display::DisplayPage::get_writer ( ) const

Definition at line 676 of file display.cpp.

◆ set_next()

void esphome::display::DisplayPage::set_next ( DisplayPage next)

Definition at line 675 of file display.cpp.

◆ set_parent()

void esphome::display::DisplayPage::set_parent ( Display parent)

Definition at line 673 of file display.cpp.

◆ set_prev()

void esphome::display::DisplayPage::set_prev ( DisplayPage prev)

Definition at line 674 of file display.cpp.

◆ show()

void esphome::display::DisplayPage::show ( )

Definition at line 670 of file display.cpp.

◆ show_next()

void esphome::display::DisplayPage::show_next ( )

Definition at line 671 of file display.cpp.

◆ show_prev()

void esphome::display::DisplayPage::show_prev ( )

Definition at line 672 of file display.cpp.

Field Documentation

◆ next_

DisplayPage* esphome::display::DisplayPage::next_ {nullptr}

Definition at line 683 of file display.h.

◆ parent_

Display* esphome::display::DisplayPage::parent_

Definition at line 680 of file display.h.

◆ prev_

DisplayPage* esphome::display::DisplayPage::prev_ {nullptr}

Definition at line 682 of file display.h.

◆ writer_

display_writer_t esphome::display::DisplayPage::writer_

Definition at line 681 of file display.h.

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