Implementing GcalWeekView to match the mockups.
What to say about this commit. There's just one FIXME in gcal-week-view.c, about the size/width of the GtkScrollbar used. That should not be hardcoded. Also the background color applied to the scrollbar through css-theming might be better placed inside the code, since the effectis part of the view. About this view is still missing a way of signaling the current day. We are on it, yet.
This commit is contained in:
+50
@@ -18,3 +18,53 @@ Month View
|
||||
| f | |
|
||||
| t |
|
||||
| | |
|
||||
|
||||
Week View
|
||||
|
||||
+--------------------
|
||||
| l | padding.top
|
||||
|- e - - - - -
|
||||
| f |July 13, 2021
|
||||
|- t - - - - -
|
||||
| top | l |
|
||||
|- - - - e - - - -
|
||||
| | f |Sun
|
||||
|- - - - t - - - -
|
||||
| top | |
|
||||
|- - - -+-----------------+
|
||||
| | |
|
||||
| | All-day event |
|
||||
| | |
|
||||
| | |
|
||||
|-------------------------------+
|
||||
| | top r | ^ |
|
||||
|- - -| i | | |
|
||||
| l |9 AM g | cell_height |
|
||||
| e | h | v |
|
||||
| f |--------+-----------------+
|
||||
| t | |
|
||||
| | | |
|
||||
|
||||
Notes: cell_height is equal to: padding.top + padding.bottom + 3*font_height
|
||||
|
||||
Week View Grid
|
||||
|
||||
+----------------+--------------------
|
||||
| Midnight |
|
||||
| |
|
||||
| +- - - - - - - - - - -
|
||||
| |
|
||||
| |
|
||||
+-------------------------------------
|
||||
| 1:00 AM |
|
||||
| |
|
||||
| +- - - - - - - - - - -
|
||||
| |
|
||||
| |
|
||||
+-------------------------------------
|
||||
| 2:00 AM |
|
||||
| |
|
||||
| +- - - - - - - - - -
|
||||
| |
|
||||
| |
|
||||
+-------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user