diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-11-30 18:54:46 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-11-30 18:54:46 +0100 |
| commit | 5782b82770f6923677942c3b4e2bf4f7258e47d8 (patch) | |
| tree | 2b477fc285e9da5380e556648056b985ecbccfe0 /src/style.rs | |
| parent | b13ed627fff73a599b34d760cd99aa2f08d58ea8 (diff) | |
Refactor layouting base ♻
Diffstat (limited to 'src/style.rs')
| -rw-r--r-- | src/style.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/style.rs b/src/style.rs index ae396852..3323e576 100644 --- a/src/style.rs +++ b/src/style.rs @@ -4,6 +4,13 @@ use toddle::query::FontClass; use FontClass::*; use crate::size::{Size, Size2D, SizeBox}; +/// Defines properties of pages and text. +#[derive(Debug, Default, Clone)] +pub struct LayoutStyle { + pub page: PageStyle, + pub text: TextStyle, +} + /// Defines which fonts to use and how to space text. #[derive(Debug, Clone)] pub struct TextStyle { |
