Commit Graph

22 Commits

Author SHA1 Message Date
d6439afcb9 Make font selection scheme specific
Add the members font and font_descriptor to struct clr_scheme, so that
it is possible to specify a font for each scheme.

During initialization create the font descriptors for each scheme.

Instead of initially setting the font descriptor when setting up the
buffer, set the font descriptor when drawing the text.

Signed-off-by: Frank Oltmanns <frank@oltmanns.dev>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2023-10-29 13:07:57 +01:00
6e52be343d Add support for multiple schemes
Allow to use more than two color schemes.

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2023-10-13 21:20:18 +02:00
dc7ee664f0 No transparency by default
The virtual keyboard can't cover other surface. Only the wallpaper could
eventually go through it, or conky. Let's make a fancy default now that
--alpha exists for users that want the old transparency.
2023-08-31 11:41:20 +02:00
f402af96fa added dedicated symbols layout for landscape mode 2023-08-31 11:39:17 +02:00
74695835ad minimal default layers
No need to have all layouts in the layers anymore, all layouts can be
accessed through Cmp + space / Cmp + layout switch button. Users are
encouraged to set `-l` and/or `--landscape-layers` to set their own
preference.
2023-08-31 11:39:17 +02:00
68ea69944d changed default font to sans instead of mono.
This conserves some space on certain keycaps and has better(/bigger)
icons than the default monospace font on sxmo
2023-08-31 11:39:17 +02:00
94ca075563 reran clang-format 2022-06-13 23:05:14 +02:00
c8bd29ecd1 Use a simple transparency value 2022-06-13 22:42:13 +02:00
0a680c0a7a More symbols and layout improvement 2022-06-13 21:58:26 +02:00
a8ba3c02a9 Modern Greek keyboard added 2022-06-13 21:58:19 +02:00
b77f0582fc Add Persian layout 2022-06-13 21:58:09 +02:00
849f4600e9 project: rerun clang-format
TODO make a commit or PR hook for this
2022-06-13 21:55:47 +02:00
564eb4536a overlapped key output: highlight letters swiped through 2022-01-10 03:08:06 +00:00
c541c7dbd6 add Georgian layout 2022-01-08 07:53:34 +00:00
35c5f44e3c change config.def.h to include dialer 2021-11-16 11:04:21 -08:00
1bbeb8861e added simple navigation layer 2021-11-01 12:47:25 -07:00
bb1eff09be applied clang-format (no functional changes), but exempted custom include order in keyboard.c and main.c 2021-10-19 23:12:01 -07:00
faaf3f0498 slightly smaller default font 2021-10-19 23:12:01 -07:00
2dac77392c added stacy's variant of the simple layout (grid) as we can't agree on which is best 2021-10-19 23:12:01 -07:00
e100aafb05 Add landscape layers 2021-10-19 23:12:01 -07:00
e73316bd7c WIP refacto keyboard.c 2021-10-19 23:12:01 -07:00
a38ec393b5 Add missing config.def.h 2021-10-19 23:12:01 -07:00