#
9d30b95a |
|
17-Sep-2017 |
Humdinger <humdingerb@gmail.com> |
BCalendarView: change visuals for 'today' Only using the keyboard navigation colour to indicate the current day isn't that nice in all situations. When using custom system colours, like white on blue for selected items, it can become barely readable. Now we * use bold type face for 'today', * tint 'today's background (lighten for dark, darken for bright bgColor), * use B_LIST_SELECTED_BACKGROUND_COLOR and B_LIST_SELECTED_ITEM_TEXT_COLOR for the selected day, * keyboard navigation colour only for the frame and text when doing keyboard navigation Fixes #13714
|
#
22d88eb4 |
|
01-Sep-2017 |
Akshay Agarwal <agarwal.akshay.akshay8@gmail.com> |
BCalendarView: Adjust day name format to available space. * Use BDateFormat::GetDayName() to fetch weekday names. * Use appropriate symbol width(Mon, Mo, M) depending on the frame width. * Provide functionality to update day name header in case of locale preferences change. Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
b32b6a86 |
|
01-Aug-2017 |
Akshay Agarwal <agarwal.akshay.akshay8@gmail.com> |
Fix highlighting current system date in BCalendarView. Changing the year in Calendar View does not remove the highlighting from previous highlighted day. Changing the system date to a date in a different month(different from the month currently set in calendar view) does not remove the highlighting from currently highlighted day. The disabled day number text belonging to the next month (month after the one currently selected) gets wrongly highlighted while attempting to highlight the day number text belonging to the current month. Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk> ticket : #13605
|
#
8013f2e0 |
|
09-Jul-2017 |
Akshay Agarwal <agarwal.akshay.akshay8@gmail.com> |
Highlight current system date in BCalendarView. * Issue: In BCalendarView presently, there is no notion of a current date and the current date is not highlighted. So in the deskbar tray calendar which uses BCalendarView, we cannot know the current date once we change the selected day. * Fix: Make BCalendarView accept pulse messages, check for system date with every pulse message and update the current date accordingly. Highlight the current date by rendering its day number text in a different color. Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk> ticket : #13592
|
#
f696e88a |
|
09-Dec-2015 |
looncraz <looncraz@looncraz.net> |
Convert various more things to using Set*UIColor. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com> Patches 0038, 0040, 0042-0044 from looncraz, unmodified.
|
#
99e015b4 |
|
02-May-2015 |
Janus <janus2@ymail.com> |
BCalendarView: Use system color. * This widget is used in Time and Deskbar. * Partialy fixes #10840.
|
#
0a925409 |
|
01-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Adjust all BDateFormat callers again.
|
#
afd5ec11 |
|
30-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Add setters to BDate and BCalendarView * BDate setters don't perform any validation, use with caution. * BCalendarView setters do perform validation checks, and will adjust the day so it fits the requested month or year. * Add tests for the BCalendarView setters.
|
#
2a5e33a9 |
|
26-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Move date formatting from BLocale to BDateFormat * There is a little code duplication. This will be moved to BFormat once the time and datetime formatting is also moved out of BLocale * The way to create a BDateFormat from a BLocale is still open for discussion. I'm undecided between making BDateFormat a member of BLocale, or adding a BDateFormat(const BLocale&) constructor. * Adjust all users of the API.
|
#
6846765f |
|
07-Sep-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Work on #7947 (CalendarView not respecting locale's start of week) * support all weekdays as start of week, not only Sunday and Monday (at least Saturday is used for real, too) * introduce BWeekday as enumeration of weekdays (currently in Locale.h, may be moved somewhere else later) * change CalendarView to use BDate as its model, not individual values for day, month and year, such that no more date computation is done in CalendarView itself * some more style cleanups in CalendarView along the way * add monthwise paging to CalendarView * adjusted Deskbar and Time preflet accordingly git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42720 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
87663db4 |
|
28-Aug-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Minor cleanup: respect 80-chars line length limit git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42698 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1e07062b |
|
27-Aug-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Apply patch by Hamish, closing #7947 - thanks! * determine first day of week and draw calendarview accordingly * some cleanup: drop superfluous DateTimeView::Draw() * automatic whitespace cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42697 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2530274d |
|
05-Jun-2011 |
Ryan Leavengood <leavengood@gmail.com> |
Missed this in my previous Time commit, hence the build break, sorry! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41933 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c8b61804 |
|
31-Mar-2011 |
Axel Dörfler <axeld@pinc-software.de> |
* The last month was computed by setting a possibly invalid date (ie. the February only has 28 to 29 days, so setting the current day may fail). * This caused bug #7421. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41155 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1b3303e7 |
|
02-Jul-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31375 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9bee8e93 |
|
02-Sep-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* use the new get function git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27292 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4352fc91 |
|
30-Aug-2008 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
Bug fix: The calculated day of week is based on a week that starts on Sunday, in a calendar with Monday as week start this number has to be adjusted in case of a Sunday. It would be 0 but should be 7. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27244 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f0932941 |
|
30-Aug-2008 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
Simplified initialization of week days for a month. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27243 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c1ed5d75 |
|
29-Aug-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* special case only the end of the year git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27238 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b5e8c134 |
|
29-Aug-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* hrmm, March 2009 was week 0 ... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27237 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
78092ae7 |
|
29-Aug-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* move DateTime and CalendarView into shared * adjust Time preflet to take that into account git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27235 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
99e015b43983f949ef0096e9379099233979ddf8 |
|
02-May-2015 |
Janus <janus2@ymail.com> |
BCalendarView: Use system color. * This widget is used in Time and Deskbar. * Partialy fixes #10840.
|
#
0a925409bc43bc95879729a8bf2cb611f9c9c2f2 |
|
01-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Adjust all BDateFormat callers again.
|
#
afd5ec11d21761cb3f1edcd80e5206347fe975c5 |
|
30-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Add setters to BDate and BCalendarView * BDate setters don't perform any validation, use with caution. * BCalendarView setters do perform validation checks, and will adjust the day so it fits the requested month or year. * Add tests for the BCalendarView setters.
|
#
2a5e33a98056c2b92d46a6c9aae6da808c8524b1 |
|
26-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Move date formatting from BLocale to BDateFormat * There is a little code duplication. This will be moved to BFormat once the time and datetime formatting is also moved out of BLocale * The way to create a BDateFormat from a BLocale is still open for discussion. I'm undecided between making BDateFormat a member of BLocale, or adding a BDateFormat(const BLocale&) constructor. * Adjust all users of the API.
|
#
6846765fbf83f501df7ab9b10811971cbb5375a3 |
|
07-Sep-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Work on #7947 (CalendarView not respecting locale's start of week) * support all weekdays as start of week, not only Sunday and Monday (at least Saturday is used for real, too) * introduce BWeekday as enumeration of weekdays (currently in Locale.h, may be moved somewhere else later) * change CalendarView to use BDate as its model, not individual values for day, month and year, such that no more date computation is done in CalendarView itself * some more style cleanups in CalendarView along the way * add monthwise paging to CalendarView * adjusted Deskbar and Time preflet accordingly git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42720 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
87663db420980bdfe50101b6d067dea5e4ded7b2 |
|
28-Aug-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Minor cleanup: respect 80-chars line length limit git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42698 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1e07062b408258cd82f9590761e8d0fc4ce33765 |
|
27-Aug-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Apply patch by Hamish, closing #7947 - thanks! * determine first day of week and draw calendarview accordingly * some cleanup: drop superfluous DateTimeView::Draw() * automatic whitespace cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42697 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2530274ddc4451ff6eaf2b1dbf4174741791c193 |
|
05-Jun-2011 |
Ryan Leavengood <leavengood@gmail.com> |
Missed this in my previous Time commit, hence the build break, sorry! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41933 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c8b618048e778812ea31c0b9c5a8daa52a45ecf4 |
|
31-Mar-2011 |
Axel Dörfler <axeld@pinc-software.de> |
* The last month was computed by setting a possibly invalid date (ie. the February only has 28 to 29 days, so setting the current day may fail). * This caused bug #7421. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41155 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1b3303e7ee6ccc024028e39340cff35043a8523c |
|
02-Jul-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31375 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9bee8e939b4df23f247942d10b72555924d3d5ea |
|
02-Sep-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* use the new get function git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27292 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4352fc918756ab483e3118543873178fa67153f5 |
|
30-Aug-2008 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
Bug fix: The calculated day of week is based on a week that starts on Sunday, in a calendar with Monday as week start this number has to be adjusted in case of a Sunday. It would be 0 but should be 7. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27244 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f0932941dd2200fa0c5e6afae44d1edeb677355d |
|
30-Aug-2008 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
Simplified initialization of week days for a month. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27243 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c1ed5d75d77fcc0d64238b806e7a58732b633449 |
|
29-Aug-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* special case only the end of the year git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27238 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b5e8c1341a924a54e6d294f17921e0005c812b0d |
|
29-Aug-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* hrmm, March 2009 was week 0 ... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27237 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
78092ae789179f1b5199224109b17898f68a9f9a |
|
29-Aug-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* move DateTime and CalendarView into shared * adjust Time preflet to take that into account git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27235 a95241bf-73f2-0310-859d-f6bbb57e9c96
|