gigawidgets 0.3.55
A wxWidgets-style UI library for the Arduino Giga Display Shield.
 
Loading...
Searching...
No Matches
padding.hpp
Go to the documentation of this file.
1
2#pragma once
3
4#include <cinttypes>
5
6#include "size.hpp"
7
8namespace ui {
9
45
46} // namespace ui
uint16_t uisize_t
A non-negative size for UI widgets.
Definition size.hpp:12
A struct that holds the padding that a parent widget may impose on a child widget.
Definition padding.hpp:13
uisize_t bottom
The bottom padding.
Definition padding.hpp:21
Padding(uisize_t left, uisize_t top, uisize_t right, uisize_t bottom)
Construct the padding with all sides specified individually.
Padding(uisize_t left_right, uisize_t top_bottom)
Construct the padding with parallel sides equal.
uisize_t left
The left padding.
Definition padding.hpp:15
uisize_t top
The top padding.
Definition padding.hpp:17
uisize_t right
The right padding.
Definition padding.hpp:19
Padding(uisize_t size)
Construct the padding with all sides equal.