Fabrizio Iannetti
f2f4e36c20
simplify CellGrid
...
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com>
2022-12-26 07:52:11 +01:00
Fabrizio Iannetti
7c682495d7
Some refactoring:
...
- use iced Application instead of Sandbox
- use CellGrid to create the calendar widgets
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com>
2022-12-25 12:14:01 +01:00
Fabrizio Iannetti
deb2335fe8
Improved cell grid
...
* CellAxis struct to interate over cells in a direction (hor. or vert.)
* used in MontlyView
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com>
2022-12-10 12:50:28 +01:00
Fabrizio Iannetti
150216a920
define ui module in ui.rs rather than generic mod.rs
...
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com>
2022-12-09 19:36:57 +01:00
Fabrizio Iannetti
1a2b7936c2
adapt to BorderRadius (4 corner radi instead of single value)
...
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com>
2022-12-03 09:47:57 +01:00
Fabrizio Iannetti
8e8f06cd56
year view
2022-11-23 21:54:17 +01:00
Fabrizio Iannetti
6f00d075c1
Refactor
...
* use std::date instead of plain integers and own functions
* add a drop down for view type (not functional)
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com>
2022-10-16 14:51:37 +02:00
fab
a0406c0da7
mixed changes
...
- weeks column
- start using chrono for date caluclations
2022-09-25 08:23:14 +02:00
fab
d91f44e410
Adapt to iced pure (stateless widgets)
...
Signed-off-by: fab <fab@pop-os.localdomain>
2022-08-15 12:05:00 +02:00
Fabrizio Iannetti
23a3102df0
First version of calendar app
...
- Monthly View
- prev/next month buttons
- year hard-coded to 2022
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com>
2022-08-09 21:18:11 +02:00