Dorota Czaplejewicz
59f6173282
theme: Use a matching layout theme for any widget theme
...
Dedicated styling is now possible for themes which have a corresponding style-theme.css file. Adwaita:dark gets one, whereas other themes use the new generic fallback theme.
2019-11-27 16:30:32 +00:00
Dorota Czaplejewicz
3170a0b615
Merge branch 'renderer' into 'master'
...
Renderer reworks
See merge request Librem5/squeekboard!238
2019-11-19 10:34:47 +00:00
Dorota Czaplejewicz
d8cb6ab383
Merge branch 'remove-old-files' into 'master'
...
Remove unused files
See merge request Librem5/squeekboard!242
2019-11-15 13:52:56 +00:00
Dorota Czaplejewicz
db52a842b2
Merge branch 'caches' into 'master'
...
Fix leaks
See merge request Librem5/squeekboard!237
2019-11-15 13:50:29 +00:00
David Boddie
8191324e46
Remove unused files
2019-11-15 01:25:52 +01:00
Dorota Czaplejewicz
c096698ec1
renderer: Remove unused ascii_font
2019-11-07 14:13:27 +00:00
Dorota Czaplejewicz
3aaaed3bae
renderer: Clean up EekColor & label
2019-11-07 14:10:20 +00:00
Dorota Czaplejewicz
f1c76a0ca4
Don't leak CSS
2019-11-06 15:46:53 +00:00
Dorota Czaplejewicz
b78c3ad131
Try to free keymaps
2019-11-06 14:51:54 +00:00
Dorota Czaplejewicz
b6dfb20fec
cache: Remove keyboard cache
2019-11-06 14:45:33 +00:00
Dorota Czaplejewicz
7d18f81a30
Remove unused surface caches
2019-11-06 14:32:23 +00:00
Dorota Czaplejewicz
47c4119ab7
Add a popover menu to switch languages
2019-11-05 13:10:55 +00:00
Dorota Czaplejewicz
ce223e04e6
icons: Fix scaling to 16 units of scale
2019-10-29 13:32:53 +00:00
Dorota Czaplejewicz
c917a1f818
layout: Keep kind metadata in loaded layouts
...
It will come useful for applying per-kind styling later without having to give each layout a new stylesheet
2019-10-29 13:27:54 +00:00
Dorota Czaplejewicz
1b1fbed7de
layouts: Change type based on shape
2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz
254b65681a
layersurface: Update from phosh
2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz
869a0af67f
cleanup: eek-gtk.h
2019-10-29 13:21:46 +00:00
Dorota Czaplejewicz
8f7f6c05c0
renderer: Remove dependencies on renderer in button rendering functions
...
The rendering functions become more pure, which, once reached, will allow for better tracking of what they do and easier modularization.
2019-10-28 21:13:58 +00:00
Dorota Czaplejewicz
01fe433612
icons: Remove caching
2019-10-25 15:43:29 +00:00
Dorota Czaplejewicz
63e55ff5c4
renderer: Free temporary surfaces
2019-10-25 15:18:37 +00:00
Dorota Czaplejewicz
c99efc430c
presses: Move press handling to Rust
...
This fixes some rendering things which would happen with multiple state-sharing buttons. It also removes some interfaces exposing rows, views, layouts, and buttons, bringing the code closer to removing them from the FFI entirely.
2019-10-23 15:11:16 +00:00
Dorota Czaplejewicz
29231f7e31
cleanup: Unused types
2019-10-20 09:47:10 +00:00
Tobias Bernard
162b828c4c
Merge branch 'targets' into 'master'
...
buttons: Buttons are next to each other, padding is visual only
Closes #110
See merge request Librem5/squeekboard!209
2019-10-18 19:14:04 +00:00
Dorota Czaplejewicz
9e078be603
buttons: Buttons are next to each other, padding is visual only
2019-10-09 20:34:46 +00:00
Dorota Czaplejewicz
212e55d7cf
caches: Stop using due to bugginness
...
The button cache is storing only button outlines (not useful to us), and it only cares about active/inactive states (there are more).
This will have to be rewritten sanely, so for the time being, disabling it is not going to deal a big performance penalty.
2019-10-09 09:24:42 +00:00
Dorota Czaplejewicz
31fdde4da9
keycodes: Moved submission to Rust
2019-10-09 09:23:06 +00:00
Dorota Czaplejewicz
477a883885
style: Add styling for locked buttons
2019-10-02 16:32:13 +00:00
David Boddie
1c56de8698
Merge branch 'style' into 'master'
...
style: Avoid conflict with GTK widget names
Closes #119
See merge request Librem5/squeekboard!184
2019-09-29 15:01:32 +00:00
David Boddie
9b5e0109a7
Merge branch 'style_better' into 'master'
...
Style better
See merge request Librem5/squeekboard!180
2019-09-29 14:28:42 +00:00
Dorota Czaplejewicz
60f1ca1408
style: Avoid conflict with GTK widget names
...
GTK style provider loads the theme on top of the selected CSS file. To ignore the theme, element names must be different than the predefined ones.
2019-09-28 12:11:32 +00:00
David Boddie
de7211d1a5
Merge branch 'drop_color' into 'master'
...
cleanup: Unused default backgrounds
See merge request Librem5/squeekboard!179
2019-09-26 20:58:49 +00:00
David Boddie
26380ab987
Merge branch 'style' into 'master'
...
Style: Change classes to paths
See merge request Librem5/squeekboard!178
2019-09-26 19:57:42 +00:00
Dorota Czaplejewicz
e513cb9b54
style: Use outline name as CSS class
2019-09-26 13:28:31 +00:00
Dorota Czaplejewicz
6fd7ab7405
rendering: Generalize outline rendering
2019-09-26 12:51:45 +00:00
Dorota Czaplejewicz
15833323ae
styling: Use same context for the entire rendering of a button
2019-09-26 12:51:39 +00:00
Dorota Czaplejewicz
653462721b
cleanup: Unused default backgrounds
2019-09-26 12:48:22 +00:00
Dorota Czaplejewicz
2889e50507
style: Simplified layout styling
...
Layout background is styled in the same place as button background, and obtains the path "layout".
2019-09-26 11:10:25 +00:00
Dorota Czaplejewicz
6b15f69e00
style: Use path instead of class for key
2019-09-26 11:08:38 +00:00
Dorota Czaplejewicz
231982d7f7
Drop dead drawing procedures
2019-09-26 07:27:16 +00:00
Dorota Czaplejewicz
db994da531
keysyms: Remove dead code
2019-09-13 15:25:48 +00:00
Dorota Czaplejewicz
d47aff357b
layout: Remove dead code
2019-09-13 15:21:29 +00:00
Dorota Czaplejewicz
015ba79f65
Merge branch 'fix_tests' into reparse
2019-09-11 12:03:24 +00:00
Dorota Czaplejewicz
04a47ad0af
Merge branch '33-multi-touch-typing-not-yet-working' into 'master'
...
Resolve "Multi-touch typing not-yet working"
Closes #33
See merge request Librem5/squeekboard!135
2019-09-10 09:15:50 +00:00
Dorota Czaplejewicz
99c577be60
Merge remote-tracking branch 'upstream/master' into reparse
2019-09-10 09:11:57 +00:00
Dorota Czaplejewicz
aa9523338f
Merge branch 'buttonlists' into reparse
2019-09-09 15:11:59 +00:00
Dorota Czaplejewicz
0ed66e0eab
locked: Use keys instead of buttons
2019-09-09 13:54:55 +00:00
Dorota Czaplejewicz
6523275b6a
views: Change based on layout file
2019-09-09 13:25:03 +00:00
Dorota Czaplejewicz
26d1a6047c
Merge branch 'fixes' into reparse
2019-09-04 10:18:53 +00:00
Dorota Czaplejewicz
b84c402c4a
WIP
...
WIP
WIP: keymap generation test passes
meta: Update features and version
WiP: cargo.lock
WIP: don't crash
WIP: no outlines
parsing: New tests
WIP: base level works
WIP: remove old keyboard
symbols correctly input
WIP: lodaing files
WIP: fallback works
Valid fallback
2019-09-04 09:44:31 +00:00
David Boddie
c75ed9b230
Merge branch 'kill_tooltip' into 'master'
...
tooltips: Remove
See merge request Librem5/squeekboard!150
2019-09-02 14:58:02 +00:00