Commit Graph

44 Commits

Author SHA1 Message Date
wp_xxyyzz
4d6f43d583 CalLite: Undo previous commit. Not good.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7605 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-08-15 21:24:27 +00:00
wp_xxyyzz
58ee5bae50 CalLite: Add new option coPersistentSelectedDates
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7604 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-08-15 20:58:28 +00:00
wp_xxyyzz
6dff879d57 CalLite: Add Russian localization.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7486 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-06-16 20:56:15 +00:00
wp_xxyyzz
7e09fbeea1 CalLite: Add new options coShowDayNames and coShowTopLine.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6958 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-27 14:12:51 +00:00
wp_xxyyzz
99e1ca4940 CalLite: Enforce redrawing of control when font changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6957 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-27 08:38:15 +00:00
wp_xxyyzz
ad9b3eb976 CalLite: Some simplification of r6950.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6952 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-26 20:34:04 +00:00
wp_xxyyzz
f6af85d7c6 CalLite: Fix memory leak introduced by previous commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6951 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-26 20:08:54 +00:00
wp_xxyyzz
5e2c0d3122 callite: Refactor drawing routines to avoid flicker.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6950 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-26 13:05:38 +00:00
wp_xxyyzz
e13de9b592 CalLite: Add properties ButtonHeight and ButtonWidth for the size of the month/year navigation buttons in the top row.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6778 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-12-29 20:47:47 +00:00
wp_xxyyzz
219cf32bb7 CalLite: Add demo for multi-selection of dates
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6777 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-12-29 15:32:45 +00:00
wp_xxyyzz
3662758e92 CalLite: Redo translations. Add language lgCustom for which DayNames, MonthNames and DisplayTexts are taken from properties. DayNames and MonthNames can hold long and short names separated by pipe character. Additional DisplayText options for long "Today is..." and calendar caption. Undeprecate property "Languages". Everything should be backward-compatible.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6775 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-12-28 23:00:03 +00:00
wp_xxyyzz
7d36353fbd callight: Use copy of FormatSettings in calendar.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6773 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-12-27 17:06:09 +00:00
wp_xxyyzz
f822a3d475 CalLite: Add Greek language, but mark Languages as deprecated. v0.3.4.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6772 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-12-27 13:31:26 +00:00
wp_xxyyzz
592bea80e8 callite: Fix click selecting incorrect day if mouse is moved during the timer interval.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6544 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-04 22:02:34 +00:00
wp_xxyyzz
36a928c055 callite: Add support to select dates by code.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6543 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-04 21:58:27 +00:00
wp_xxyyzz
750063baa7 callite: Add HiRes palette icon by Roland Hahn
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6115 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-01-06 15:05:53 +00:00
wp_xxyyzz
b115d16c3e callite: Remove lrs resource
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5944 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-06-17 11:51:20 +00:00
wp_xxyyzz
d0ef324ddb callite: New component palette icon, in particular for hi res screens. Replace lrs resource by res. Fix form scaling at high res. Remove folder icons (it is in image_sources now). Version 0.3.1.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5943 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-06-17 11:44:15 +00:00
wp_xxyyzz
4938f826fd CalLite: Add Finnish texts (translation by Seppo Suutarla)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5380 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-23 14:52:04 +00:00
wp_xxyyzz
4b857ef28f CalLite: Set version number to 0.3 (for next zipped release)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5379 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-23 11:59:21 +00:00
wp_xxyyzz
d805353cca CalLite: Fix default English date format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5378 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-23 08:54:42 +00:00
wp_xxyyzz
a4e0e87fd5 CalLite: Override built-in popup menu by using custom popup menu.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5374 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-22 09:13:07 +00:00
wp_xxyyzz
f7c12d318b CalLite: Fix behavior of right mouse click.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5373 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-22 08:53:34 +00:00
wp_xxyyzz
93518f483a CalLite: Fix double-advance of month/year arrow buttons if MultiSelect is disabled.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5364 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-18 13:09:50 +00:00
wp_xxyyzz
9d3cb29114 CalLite: Fix typos in French and Spanish languages (patch by J-G)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5363 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-18 12:55:48 +00:00
wp_xxyyzz
86107c9c25 callite: Add Italian and Polish translations of hard-coded calendar texts (translation by John Greetham)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5361 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-17 21:29:09 +00:00
wp_xxyyzz
d92ca27508 CalLite: Improve selection of workdays per week; remove support of ALT key.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5344 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-13 11:58:11 +00:00
wp_xxyyzz
cf244f31f5 CalLite: Remove unnecessary comments (old commented code). Avoid calling "Draw" outside a paint method (hint by HowardPC).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5343 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-12 09:25:22 +00:00
wp_xxyyzz
479d7fbea9 CalLite: Use binary search in TCalDateList (patch by howardpc). Some cleanup.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5342 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-11 21:52:31 +00:00
wp_xxyyzz
a7f21d2f4c CalLite: Fix streaming of TCalColors
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5341 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-11 21:19:03 +00:00
wp_xxyyzz
6fec96e71d CalLite: Add event OnMonthChange.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5340 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-11 16:45:49 +00:00
wp_xxyyzz
a6a39e32de CalLite: Add MultiSelect support (ctrl: add single date, shift: add date range, alt: add week)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5339 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-11 15:04:34 +00:00
wp_xxyyzz
ea7c88cc0e CalLite: Undo change of the text delimiter of r5336 because it breaks existing code.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5338 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-11 09:05:18 +00:00
wp_xxyyzz
d724556826 CalLite: Always use DisplayTexts.DelimitedText instead of CommaText.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5337 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-11 08:34:36 +00:00
wp_xxyyzz
78680407f8 CalLite: Change delimiter in predefined text lists. Remove memory leak in DrawCell event handler of demo2.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5336 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-10 12:25:01 +00:00
wp_xxyyzz
548fd7a97a CalLite: Add event OnGetDayText to add additional texts to the days of the calendar (e.g. holiday names, birthdays etc).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5335 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-10 09:56:43 +00:00
wp_xxyyzz
0500280dad CalLite: More logical order of parameters of OnDrawCell and OnHint events. ARect in OnDrawCell is a var parameter now.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5334 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-10 09:18:09 +00:00
wp_xxyyzz
17d3179c3d CalLite: Add Hint support for individual days.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5333 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-10 09:13:03 +00:00
wp_xxyyzz
4d79b47a51 CalLite: Add event OnDrawCell to override complete painting of date cells. Add example of its usage to demo2,
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5323 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-07 14:44:08 +00:00
wp_xxyyzz
e36f26bc92 CalLite: Add event OnPrepareCanvas to override day formatting.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5321 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-06 22:29:40 +00:00
wp_xxyyzz
4ac2ecd5ec CalLite: Add colors to demo2. Fix positioning issue for bold TodayRow.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5320 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-06 17:28:04 +00:00
wp_xxyyzz
1d40bd7687 CalLite: Add keyboard support. Some refactoring.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5314 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-04 10:43:52 +00:00
wp_xxyyzz
f83799d4a3 CalLite: Add readme.txt. Less hints.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5313 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-03 23:56:02 +00:00
wp_xxyyzz
7ffd37fa20 CalLite: Initial commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5312 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-03 23:42:04 +00:00