8#define SDL_MAIN_HANDLED 
   15constexpr static const char *
const TAG = 
"sdl";
 
   22  void setup() 
override;
 
 
void set_window_options(uint32_t window_options)
 
void add_key_listener(int32_t keycode, std::function< void(bool)> &&callback)
 
int get_height() override
 
void draw_pixels_at(int x_start, int y_start, int w, int h, const uint8_t *ptr, display::ColorOrder order, display::ColorBitness bitness, bool big_endian, int x_offset, int y_offset, int x_pad) override
 
int get_height_internal() override
 
void process_key(uint32_t keycode, bool down)
 
void set_dimensions(uint16_t width, uint16_t height)
 
void redraw_(SDL_Rect &rect)
 
void dump_config() override
 
void set_position(uint16_t pos_x, uint16_t pos_y)
 
void draw_pixel_at(int x, int y, Color color) override
 
int get_width_internal() override
 
float get_setup_priority() const override
 
display::DisplayType get_display_type() override
 
std::map< int32_t, CallbackManager< void(bool)> > key_callbacks_
 
const float HARDWARE
For components that deal with hardware and are very important like GPIO switch.
 
Providing packet encoding functions for exchanging data with a remote host.