C++ DevKit
C++ set of OOP library
Loading...
Searching...
No Matches
widget.h File Reference
#include "sw/display_device/display_device.h"
#include "sw/ui_core/ui_core.h"
#include "sw/widget/canvas.h"
#include <vector>
#include <string>
#include "pico/stdlib.h"
#include "font/5x8_font.h"
#include "font/8x8_font.h"
#include "font/12x16_font.h"
#include "font/16x32_font.h"
Include dependency graph for widget.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Blinker
 A base class used to add blinking feature to widgets. To do so, this widget must inherit from Blinker. More...
 
class  Widget
 A widget is a displayed object on a device screen. This is the base widget, it is derived as GraphicWidget with graphical capabilities and GraphicWidget is derived as TextWidget that adds textual capabilities. More...
 
class  GraphicWidget
 The graphical version of a Widget. More...
 
class  TextWidget
 a dedicated class for text frame only More...
 
class  PrintWidget
 A widget used when we need to simply print but still want to take advantage of the status change management. More...
 

Macros

#define SSD1306_ASCII_FULL
 flag used to generate 127 character font or full extended 255 character font.
 
#define BACKSPACE   '\b'
 character code for BACKSPACE ('BS', 0x08)
 
#define HORIZONTAL_TAB   '\t'
 character code for HORIZONTAL_TAB ('HT', 0x09)
 
#define LINE_FEED   '\n'
 character code for LINE_FEED ('LF', 0x0A)
 
#define VERTICAL_TAB   '\v'
 character code for VERTICAL_TAB ('VT', 0x0B)
 
#define FORM_FEED   '\f'
 character code for FORM_FEED ('FF', 0x0C)
 
#define CARRIAGE_RETURN   '\r'
 character code for CARRIAGE_RETURN ('CR', 0x0D)
 

Detailed Description

Author
xiansnn (xians.nosp@m.nn@h.nosp@m.otmai.nosp@m.l.co.nosp@m.m)
Version
0.1
Date
2025-01-10

Macro Definition Documentation

◆ SSD1306_ASCII_FULL

#define SSD1306_ASCII_FULL

flag used to generate 127 character font or full extended 255 character font.

Note
Must be placed before include "...font..."