|
roo_display
API Documentation for roo_display
|
Temporarily pauses the output transport while a DrawingContext is active. More...
#include <roo_display.h>
Public Member Functions | |
| PauseOutput (DisplayOutput &out) | |
| Ends the output transaction on construction. | |
| ~PauseOutput () | |
| Restarts the output transaction on destruction. | |
Temporarily pauses the output transport while a DrawingContext is active.
This releases the bus (e.g. SPI) to allow custom drawables to perform operations on the same bus (e.g. reading data from an SD card). When an instance of this class is alive, and unless ResumeOutput is also used, DrawingContexts do not function and no drawing operations should be attempted.
See jpeg.cpp and png.cpp for an application example.
Definition at line 496 of file roo_display.h.
|
inline |
Ends the output transaction on construction.
Definition at line 499 of file roo_display.h.
References roo_display::DisplayOutput::end().
|
inline |
Restarts the output transaction on destruction.
Definition at line 501 of file roo_display.h.
References roo_display::DisplayOutput::begin().