Tasuku Suzuki
a3d1ddb3d3
printerdemo: Improve category labels' visibility in night mode
2023-03-01 10:28:13 +01:00
Tasuku Suzuki
ee7f5d3d66
printerdemo_mcu: Fix layout
...
Align header and body in the right pane on settings page
2023-02-28 09:07:27 +01:00
Olivier Goffart
0bd99a17fa
printerdemo-mcu: increase the size of the touch area
...
Makes it easier to press
2023-02-24 16:46:40 +01:00
Olivier Goffart
8450e01a3f
Change the name of the compat feature ( #2230 )
...
And remove the compat-0-2-0 and compat-0-3-0 features
2023-02-16 09:40:44 +01:00
Olivier Goffart
6889dfa5f5
Rust: Make new(), run() and show() report errors from the backend
...
Fixes #2198
2023-02-10 05:00:03 +01:00
ogoffart
e7f48512ee
Bump version number to 1.0.0
2023-02-03 11:07:15 +01:00
Florian Blasius
520df46998
Update examples to new syntax ( #2067 )
...
* run slint-updater on examples
* manual syntax updates
2023-01-16 12:11:25 +00:00
ogoffart
ce07d078ce
Bump version number to 0.3.4
2022-12-16 09:36:15 +00:00
Olivier Goffart
91dabcbddf
Use functions in our examples, instead of callback
2022-12-06 14:56:25 +01:00
ogoffart
fb02b4118b
Bump version number to 0.3.3
2022-11-28 13:11:11 +00:00
Olivier Goffart
51933b99bb
New syntax for transitions, within the state
2022-11-22 15:16:54 +01:00
ogoffart
2171773a3e
Bump version number to 0.3.2
2022-10-28 09:30:14 +00:00
ogoffart
261614b914
Bump version number to 0.3.1
2022-09-15 14:39:51 +02:00
Olivier Goffart
419016a356
Rename the compat feature again
...
crates.io won't let us upload a feature with dots in it:
```
Uploading slint-interpreter v0.3.0 (/home/olivier/slint/internal/interpreter)
error: failed to publish to registry at https://crates.io
Caused by:
the remote server responded with an error: invalid upload request: invalid value: string "compat-0.3.0", expected a valid feature name at line 1 column 2254
```
2022-09-14 15:55:57 +02:00
Olivier Goffart
cda0f99689
mcu_printerdemo: remove the chrono feature
...
It is not working on MCUs anyway, so this just simplifies the code
2022-09-14 09:12:32 +02:00
Olivier Goffart
29d05bac66
printerdemo_mcu: tweak the features
...
- rename the mcu-simulator feature to just "simulator" (the mcu is
redundent)
- Don't forward other feature than the simulator from the board support
crate. (i don't want to have to forward all features from all
examples)
- default to the simulator (doesn't compile without any feature
otherwise, leads to error in rust-analyzer)
2022-09-14 09:12:32 +02:00
Olivier Goffart
8850959a2c
Rename the backend feature flags
2022-09-07 17:11:57 +02:00
Olivier Goffart
15fa69ef55
Rename the compat-0-2-0 feature to compat-0.3.0
...
But keep a compat-0-2-0 fome compatibility anyway
2022-09-07 14:09:07 +02:00
Olivier Goffart
6ede77436b
api: Return an error from invoke_from_event_loop and quit_event_loop
2022-09-07 10:13:58 +02:00
ogoffart
05a49da906
Bump version number to 0.3.0
2022-09-06 13:00:22 +02:00
Olivier Goffart
ab5fcfd234
Update link in the printerdemo_mcu README
2022-09-02 14:12:36 +02:00
Simon Hausmann
8ed35eded1
Remove the std feature from the mcu bsp crate
...
The example can use the std feature of slint directly
2022-08-25 12:54:52 +02:00
Simon Hausmann
d90b503a1c
Move the mcu backend to become a board support helper crate for examples
2022-08-25 12:54:52 +02:00
Olivier Goffart
9b6188b3d7
MCU: remove the simulator
...
Now that the winit backend can do software rendering
2022-08-23 14:45:49 +02:00
ogoffart
6b15d2e479
Bump version number to 0.2.6
2022-07-06 09:58:14 +00:00
Olivier Goffart
76e5055d66
printerdemo_mcu: Reset the queue when it is empty
2022-06-20 18:32:15 +02:00
Olivier Goffart
2b68995e1c
printerdemo_mcu: prettyfiy the checkbox and make the text clickable
2022-06-20 10:29:38 +02:00
Olivier Goffart
1b8f5824d3
Revert "printerdemo_mcu: Preffify checkboxes"
...
This reverts commit 474eb3482e
.
2022-06-20 09:55:59 +02:00
Olivier Goffart
817b5c536f
printerdemo_mcu: tiny adjustment to the ink page animation
...
Since the software renderer doesn't clip the rounded rect, it doesn't look good when the
ink level is totaly empty, so adjust a bit for that
2022-06-18 22:31:38 +02:00
Tobias Hunger
474eb3482e
printerdemo_mcu: Preffify checkboxes
...
The checkmark looks poor, replace it with a simple rectangle:-)
2022-06-17 18:41:30 +02:00
Tobias Hunger
4cbc675ecf
Add slint logo to settings page
...
... in light and dark and with switching between the two.
2022-06-17 18:21:23 +02:00
Tobias Hunger
278e89314f
printerdemo_mcu: Align page_selection.svg to pixel grid ( #1360 )
...
Improve alignment of page_selection.svg to the pixel grid.
2022-06-17 18:20:02 +02:00
Tobias Hunger
71995fa878
Printerdemo_mcu: Polish settings page ( #1358 )
2022-06-17 14:03:34 +02:00
Tobias Hunger
d5d29f59f9
Polish Icons in printerdemo ( #1357 )
2022-06-17 14:03:04 +02:00
Tobias Hunger
235f1d4122
Printerdemo_mcu: React on press, not release events ( #1350 )
...
Olivier liked the change when I showed it to him on the pico, so I'll just go ahead and merge this.
2022-06-16 13:47:51 +02:00
ogoffart
3709ded44d
Bump version number to 0.2.5
2022-05-09 16:16:00 +00:00
ogoffart
c160ec2aef
Bump version number to 0.2.4
2022-05-09 13:49:25 +00:00
ogoffart
6395cdfc09
Bump version number to 0.2.3
2022-05-04 12:32:58 +00:00
Olivier Goffart
703cffd444
WIP: STM32H735G support
2022-04-27 09:00:52 +02:00
Simon Hausmann
ebb6dd4449
janitor: Fix typo
2022-04-19 16:58:06 +02:00
Olivier Goffart
512b3decc7
Adapt the printer demo to work on the 2.8'' display
...
Part of #1015
2022-03-17 14:13:22 +01:00
ogoffart
7b50791db4
Bump version number to 0.2.2
2022-03-10 08:48:33 +00:00
Olivier Goffart
9259413ec2
MCU cleanup
...
- Attempt to unify a bit the features so we have less #[cfg] in the demo
- Add a README
2022-03-09 20:49:46 +01:00
Olivier Goffart
3f8c3dd830
Fork the printer demo for adjusting to the MCU
...
This is basically the already modified printer demo from the wip/mcu
branch but separat. The images and fonts folder are shared though via
symlinks.
2022-03-07 22:39:06 +01:00