Hi,
In k5n desktop calendar, a day is represented as a retangle in the right panel.
I would like to visually seperate a rectangle that represent a day into 3 rectangles, each of the seperated rectangle stands for one workshift of a day. So i should extend a bit in Class: Calendar panel? How ?
And what if i would like to dynamically add more shifts into a sepecific day, for instance, by right click on a day rectangle, make a popup-menu, choose to add a new shift, then the day rectangle is seperated into 2 rectangles. Is it possible to be extend like that? And how?
Thanks.
Tony
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
In k5n desktop calendar, a day is represented as a retangle in the right panel.
I would like to visually seperate a rectangle that represent a day into 3 rectangles, each of the seperated rectangle stands for one workshift of a day. So i should extend a bit in Class: Calendar panel? How ?
And what if i would like to dynamically add more shifts into a sepecific day, for instance, by right click on a day rectangle, make a popup-menu, choose to add a new shift, then the day rectangle is seperated into 2 rectangles. Is it possible to be extend like that? And how?
Thanks.
Tony
You would need to either modify or override the us.k5n.ui.calendar.CalendarPanel class to do this.