ESPHome  2024.4.0
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 664 of file display.h.

Constructor & Destructor Documentation

◆ DisplayPage()

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

Definition at line 611 of file display.cpp.

Member Function Documentation

◆ get_writer()

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

Definition at line 618 of file display.cpp.

◆ set_next()

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

Definition at line 617 of file display.cpp.

◆ set_parent()

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

Definition at line 615 of file display.cpp.

◆ set_prev()

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

Definition at line 616 of file display.cpp.

◆ show()

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

Definition at line 612 of file display.cpp.

◆ show_next()

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

Definition at line 613 of file display.cpp.

◆ show_prev()

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

Definition at line 614 of file display.cpp.

Field Documentation

◆ next_

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

Definition at line 679 of file display.h.

◆ parent_

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

Definition at line 676 of file display.h.

◆ prev_

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

Definition at line 678 of file display.h.

◆ writer_

display_writer_t esphome::display::DisplayPage::writer_

Definition at line 677 of file display.h.

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