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:
Erick Pérez Castellanos
2012-07-19 00:58:35 -04:00
parent 194fd67b7d
commit d03c95e765
4 changed files with 668 additions and 295 deletions
+50
View File
@@ -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 |
| |
| +- - - - - - - - - -
| |
| |
+-------------------------------------