Commit graph

552 commits

Author SHA1 Message Date
Simon Hausmann
38bdc8f08c Include the Noto Sans font in the Rust build 2021-02-22 11:17:39 +01:00
Simon Hausmann
6461d44f6d Select the Noto Sans font for the new printer demo
Use a new `DemoText` element throughout the code base that selects the
Noto Sans family. An ascii-only variant of the font is included in the
repo along with the shell script to do the conversion.

At the moment this only works with the interpreter, the other builds
still need adapting and will fall back to the system default font as
before.
2021-02-22 11:17:39 +01:00
Olivier Goffart
fa1494aef3 Adjust the size of the printer demo window 2021-02-22 11:17:39 +01:00
Olivier Goffart
0e6fe27767 Printer demo: checkbox 2021-02-22 11:17:39 +01:00
Olivier Goffart
363ab7976e Use svg for the icons in controls 2021-02-22 11:17:38 +01:00
Simon Hausmann
a000e898e3 Some work on the wide printer queue item layout 2021-02-22 11:17:38 +01:00
Simon Hausmann
f7825c5a36 Fix the color of the border in the wide printer queue view 2021-02-22 11:17:38 +01:00
Simon Hausmann
55ea583abb Start with the wide printer queue 2021-02-22 11:17:38 +01:00
Simon Hausmann
2b43587e79 Split out the line separate print details into a component 2021-02-22 11:17:38 +01:00
Simon Hausmann
c5a0bb44f3 Begin sharing the printer queue in the print page
This needs an additioal mode though to render a different layout
2021-02-22 11:17:38 +01:00
Simon Hausmann
3b3d3f95eb Add a template for the print page 2021-02-22 11:17:38 +01:00
Simon Hausmann
9c027aebd0 Represent the printing progress as an integer in percent in the printer queue data structure
... in preparation for showing a progress bar on the print page
2021-02-22 11:17:38 +01:00
Simon Hausmann
ce02cda7d5 Fix heading style of copy and scan page
Align vertically the same as the printing queue on the home page, and
choose size and font weight.
2021-02-22 11:17:38 +01:00
Simon Hausmann
447ce1ced5 Add a "start scanning" button to the scan page 2021-02-22 11:17:38 +01:00
Simon Hausmann
a0dde2833a Add a "start copying" button to the copy page 2021-02-22 11:17:38 +01:00
Simon Hausmann
7aa540b4f9 Fix font weight of queue item status text 2021-02-22 11:17:38 +01:00
Simon Hausmann
543f7fea14 Fix the letter spacing in the print queue status 2021-02-22 11:17:38 +01:00
Simon Hausmann
3a79805f21 Fix horizontal centering of "More" button in queue item 2021-02-22 11:17:38 +01:00
Simon Hausmann
eb09848e97 Try to unify font sizes in the global settings
This also fixes the size of the document title in the printing queue
2021-02-22 11:17:38 +01:00
Simon Hausmann
bf837a7999 Add a note about the missing button centering 2021-02-22 11:17:38 +01:00
Simon Hausmann
782244f8bb Fix the font weight of the printing queue header 2021-02-22 11:17:38 +01:00
Simon Hausmann
341be9cb18 Fix placement of the printer name label and the printer queue items 2021-02-22 11:17:38 +01:00
Simon Hausmann
d3672a771e Fix page placement within the main view
The padding can be reduced to more closely match the design
2021-02-22 11:17:38 +01:00
Simon Hausmann
d6ee61ebe1 Add a push button to the print queue details 2021-02-22 11:17:38 +01:00
Simon Hausmann
35402375f3 Fix size label color in print queue 2021-02-22 11:17:38 +01:00
Simon Hausmann
b9af0c7f30 Place the printer queue into a flickable 2021-02-22 11:17:38 +01:00
Olivier Goffart
fdbdfedacd Small adjustments 2021-02-22 11:17:38 +01:00
Olivier Goffart
4e25edf83f ScanPage 2021-02-22 11:17:38 +01:00
Olivier Goffart
52683e6b3d Some progress on the printerdemo widgets 2021-02-22 11:17:38 +01:00
Olivier Goffart
b79f99c485 Print demo: Draft of a spin box 2021-02-22 11:17:38 +01:00
Simon Hausmann
47b2a6c569 Centralize the color for the outline of clickable items
In the "green" mode that's a distinctly different color.

Maybe this should be named after primary/secondary instead?
2021-02-22 11:17:38 +01:00
Simon Hausmann
3ccd2712f4 Make it possible to expand print queue item details
TODO: Animate the appearance/disappearance somehow...
2021-02-22 11:17:38 +01:00
Olivier Goffart
f72e82254b Printer demo Sub-pages 2021-02-22 11:17:38 +01:00
Simon Hausmann
1233050b12 Use a tad bit of spacing inside a printer queue item 2021-02-22 11:17:38 +01:00
Simon Hausmann
60b67651b1 Fix the printer queue item background color 2021-02-22 11:17:38 +01:00
Olivier Goffart
3476ef0305 Make the Settings page less ugly 2021-02-22 11:17:38 +01:00
Olivier Goffart
492d094df1 Make the ink icon be a SVG
Note that the SVG exported by figma was corrupted, so i build one
manually by merging the two path
2021-02-22 11:17:38 +01:00
Simon Hausmann
2def8b4f26 Start working on the printing queue 2021-02-22 11:17:38 +01:00
Simon Hausmann
e7d1dc9545 Move the printer actions back into the home_page.60 file 2021-02-22 11:17:38 +01:00
Simon Hausmann
4f79c04622 Share the color constant for the night mode for the printer action background 2021-02-22 11:17:38 +01:00
Simon Hausmann
4209930688 Add the text under the action buttons 2021-02-22 11:17:38 +01:00
Olivier Goffart
d7a10fdc93 Some stuff for the ink levels 2021-02-22 11:17:38 +01:00
Simon Hausmann
861cf74e73 Some work on the night mode coloring 2021-02-22 11:17:38 +01:00
Olivier Goffart
e58749255d Placeholder for the ink page 2021-02-22 11:17:38 +01:00
Olivier Goffart
87cb8ac298 Some dummy page animation 2021-02-22 11:17:38 +01:00
Simon Hausmann
67095059d0 Merge the night mode into the Palette
Then we can switch colors there, too
2021-02-22 11:17:38 +01:00
Simon Hausmann
13116e8a20 Begin working on the home page 2021-02-22 11:17:38 +01:00
Olivier Goffart
7f71f8f18c Remove usunsed code 2021-02-22 11:17:38 +01:00
Olivier Goffart
ce09a4fa5a Avoid flickering of icon before the tab has animated
By making an animation for the color so it is fluid
2021-02-22 11:17:38 +01:00
Simon Hausmann
50ecce0bf1 Remove the vertical link in the page selection path 2021-02-22 11:17:38 +01:00