Commit graph

25 commits

Author SHA1 Message Date
Olivier Goffart
6404924e4f Fix warning 2023-10-11 14:51:19 +02:00
Aurindam Jana
e01e9685be
Update Slint logo folder with new design (#3432)
This PR updates the logos and branding guideline of Slint to match the new website design. The new logos are a 1:1 replacement of the old logos except for the circular logo. In the new logo design, there isn't a separate circular logo, as the square logo with circular crop can be used. Further, the logo folder also contains logos in CMYK for use in printed materials. The PMS is just the color value in the naming and can be used where Pantome colors are required. The README has been updated to explain which logos to use when as well as the Slint "blue" color.
2023-09-11 16:41:06 +02:00
Olivier Goffart
f8e8072135 printerdemo_mcu: react on pointer up rather than click
Commit 08e20c8586 changed the behavior
of clicked being emitted when the area was both pressed and released.
But that made it hard to hit button on the devices because the touch
screen isn't great.
So activate the button on release instead of click, going effectively
back to previous behavior
2023-06-22 11:46:46 +02:00
Simon Hausmann
060f63ad56 Use enums in the printer demo 2023-06-16 12:30:04 +02:00
Olivier Goffart
11dea135f7 Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
Aurindam Jana
e4338300de
Change license for examples to MIT (#2887) 2023-06-15 11:23:17 +02:00
Simon Hausmann
a2a693b248 Improve appearance of comboboxes in the printer demos
Work around #2284
2023-03-09 10:03:04 +01:00
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
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
Olivier Goffart
91dabcbddf Use functions in our examples, instead of callback 2022-12-06 14:56:25 +01:00
Olivier Goffart
51933b99bb New syntax for transitions, within the state 2022-11-22 15:16:54 +01: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
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
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