Georges Basile Stavracas Neto
530aaa24c4
week-grid: implement drag n' drop
2017-01-17 11:24:22 -02:00
Georges Basile Stavracas Neto
529acca239
week-grid: fix index sorting
...
This was causing conflicts on event overlapping calculation.
2017-01-09 18:25:55 -02:00
Georges Basile Stavracas Neto
9da0704e37
week-grid: set child widgets' orientation to vertical
2016-12-15 17:03:26 -02:00
Georges Basile Stavracas Neto
69ad53352d
week-grid: remove unused vars
2016-12-15 17:01:20 -02:00
Georges Basile Stavracas Neto
84c411e505
week-grid: fix inversed selection on RTL languages
2016-12-14 17:11:37 -02:00
Georges Basile Stavracas Neto
9a07dad0e9
week-grid: minor fixups
2016-12-13 16:29:24 -02:00
Georges Basile Stavracas Neto
343283e37a
week-grid: implement event creation
2016-12-13 16:29:07 -02:00
Georges Basile Stavracas Neto
93acf26507
week-grid: properly position overlapping events
...
When two or more events overlap, the week grid almost
does the right thing and correctly calculates the width
of the events.
It fails, however, in calculating the position of the
events.
This commit introduces a simple yet efficient way to
position the events. It uses a temporary range tree to
efficiently store already positioned widgets, and checks
for their indexes looking for a hole to position the
new event.
2016-12-09 00:06:26 -02:00
Georges Basile Stavracas Neto
bcfe13bcbc
week-view: adapt view and widgets to handle RTL
2016-12-08 20:33:34 -02:00
Georges Basile Stavracas Neto
6d4f719829
week-header, week-grid: update drawing when time changes
...
When minutes change, the week grid should update the today strip
if it's visible and, if the day change, week header should update
the blue week name.
2016-12-08 19:33:20 -02:00
Georges Basile Stavracas Neto
c1ab1c2d3b
week-header, week-grid: remove duplicate code
2016-12-08 18:53:34 -02:00
Georges Basile Stavracas Neto
36f716ebf4
week-view: reimplement editing events
2016-12-08 18:23:25 -02:00
Georges Basile Stavracas Neto
e5407d8c72
week-grid, week-header: special-case today when drawing
...
The week grid should display a horizontal strip on the today
column, and the week header should draw the week day labels
with a custom color.
2016-12-08 03:09:35 -02:00
Georges Basile Stavracas Neto
1c048fb538
week-grid, week-header: improve rendering of vertical lines
2016-12-07 22:56:10 -02:00
Georges Basile Stavracas Neto
336e584099
week-grid: implement event handling
...
This is the glorious commit where Week grid starts
showing and handing events.
2016-12-07 21:31:30 -02:00
Georges Basile Stavracas Neto
8a9a58419a
week-grid: add stub add_event() and remove_event()
2016-12-07 17:02:14 -02:00
Georges Basile Stavracas Neto
bb0e927fc2
week-grid: style cleanup
2016-12-01 23:48:54 -02:00
Georges Basile Stavracas Neto
12da2c44e7
week-view: improve drawing of the week grid
2016-12-01 23:48:54 -02:00
Georges Basile Stavracas Neto
154a01f4c1
week-view, week-grid: various fixed
...
This commit is a rebase, compile-warning remover and a
misbehaviour fixer too.
2016-12-01 23:48:53 -02:00
pandusonu2
b51f8c3ca6
week-grid: realize the week-grid
...
Activate the week-grid by writing the necessary realize, unrealize, map and unmap functions
2016-12-01 23:48:53 -02:00
pandusonu2
97ed5267e2
week-view: fix the sync between sidebar width
...
Fix the width of the sidebar sync between the week view and week header.
2016-12-01 23:48:53 -02:00
pandusonu2
680f220fb2
week-view: draw the hours labels
...
Draw the hour labels in the sidebar of the week grid.
2016-12-01 23:48:53 -02:00
pandusonu2
c658d030b8
week-grid: created the basic skeleton of week-grid
...
Created the .h, .c and .ui file of week grid. Also made changes in the Makefile.am for it to get built.
2016-12-01 23:48:52 -02:00