Commit Graph
17 Commits
Author SHA1 Message Date
Erick Pérez Castellanos ec3c6ea165 gcal-day-view: added GcalView API
Wrapped GcalDaysGrid marking calls
Reordered methods position
2014-12-04 17:10:32 -05:00
Erick Pérez Castellanos fd464a11a4 gcal-days-grid: remove :spacing property
Updated drawing to use CSS provided paddings
2014-12-04 17:10:32 -05:00
Erick Pérez Castellanos c46a4edd7d gcal-all-day-grid: remove :spacing property
Updated drawing to work CSS provided padding
2014-12-04 17:10:32 -05:00
Erick Pérez Castellanos 1ada96616b build: moved gobject construction to new sugar
Misc formatting fixes
Misc minor refactoring
2014-12-04 17:10:29 -05:00
Erick Pérez Castellanos 3b222e4e01 gcal-day-view: fixed all-day events allocation 2014-12-04 17:10:27 -05:00
Erick Pérez Castellanos 6e7deface2 gcal-day-view: implemented GtkContainer:remove 2014-12-04 17:10:27 -05:00
Erick Pérez Castellanos b54ac5510b gcal-window: fixed update_view method
Used new GcalView:clear to destroy all the event-widget children of a view
2014-12-04 17:10:27 -05:00
Erick Pérez Castellanos edf5d42ed9 gcal-day-view: source cleaning 2014-12-04 17:10:26 -05:00
Erick Pérez Castellanos 6238b77590 gcal-day-view: fixed :draw_event check 2014-12-04 17:10:26 -05:00
Erick Pérez Castellanos 912a5d46e9 gcal-all-day-grid: allocate event largers than one day 2014-12-04 17:10:26 -05:00
Erick Pérez Castellanos 9f530a5b8a gcal-view: modified API
Implemented in views.
Reworked GcalDayView implementation to allow bigger
than days events.
2014-12-04 17:10:26 -05:00
Erick Pérez Castellanos f2a8e8b674 gcal-day-view: added scroll_to current unit
This is the initial approach, which might be improved/fixed later
2014-12-04 17:10:26 -05:00
Erick Pérez Castellanos b03c592e99 gcal-day-view: clean up unneeded functions 2014-12-04 17:10:26 -05:00
Erick Pérez Castellanos c9935ab0d6 gcal-day-view: updated :get_left_header function
Includes dayweek string now.
2014-12-04 17:10:26 -05:00
Erick Pérez Castellanos 32cd17c8e8 gcal-day-view: added #GtkContainer:add implementation
gcal-days-grid: added #GtkWidget:size-allocate implementation

These implementations are initial approaches, there's a lot
fo FIXME around the code with some fixes still needed.
2014-12-04 17:10:24 -05:00
Erick Pérez Castellanos aa20a71ca9 gcal-day-view: initial implementation of view API
Implemented:
#GcalView:get_initial_date
#GcalView:get_final_date
#GcalView:contains_date

#GcalView:get_left_header
#GcalView:get_right_header

#GcalView:get_by_uuid
2014-12-04 17:10:24 -05:00
Erick Pérez Castellanos 42ff2e76da ui: added GcalDayView widget
Initial approach, it doesn't do anything but painting the background.
Still missing to handle chidlren allocation.

Integrated GcalAllDayGrid, GcalViewport and GcalDaysGrid.
2014-12-04 17:10:22 -05:00