Commit Graph

3293 Commits

Author SHA1 Message Date
568e491487 * Move Alpha blend function to a intf dependent unit.
* Fix compilation of adv demo to adapt to this change

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1092 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-28 15:43:43 +00:00
ac519c283f * Remove CMSysColorChange
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1091 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-27 07:27:08 +00:00
505346740a * AlignDemo: cleanup and fix some alignment issues
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1090 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-26 21:30:58 +00:00
ba56534b9d * HeaderCustomDrawDemo use hardcoded color to give consistency across widget sets, change encoding to UTF-8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1089 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-26 21:25:45 +00:00
c4aabadd57 * Use OpenURL, adjust toolbar style and clear WindowsXPStyleDemo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1088 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-26 21:10:46 +00:00
a536dc0959 * Disable ThemeSupport even for win32 since it's crashing when used with the XP theme
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1087 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-26 20:16:19 +00:00
6a9016d5f9 * Update xp hover image to get a better looking in xp header
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1086 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-26 19:49:03 +00:00
bfb6f5f56e * Draw the correct check button when using system buttons
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1085 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-26 17:48:47 +00:00
b6ccf41e4f Fixed some small bugs
fixed dayview
reworked event Edit Dlg

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1084 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-24 22:41:52 +00:00
3cc5d924ae * Don't call Invalidate in TBaseVirtualTree.CMFontChanged since is already called by LCL
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1083 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-24 12:42:05 +00:00
6adef76705 * Change LM_SETFONT handler to CM_FONTCHANGED so the tree can properly react to font changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1082 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-24 12:36:17 +00:00
c77e50826f * Fix visibility of CopyTo* methods
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1081 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-23 11:47:55 +00:00
c501017b21 * Fix compilation of gtk2 under windows
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1080 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-23 11:30:24 +00:00
13368cd288 * Remove call to FakeActiveX method
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1079 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-23 09:02:17 +00:00
f5031e0139 * Rename fake windows units to allow compilation with non win32 widgetset under windows
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1078 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-23 09:00:03 +00:00
3e6b2b7bd9 * Use TControl.Width/Height instead of TBitmap.Width/Height: it's faster
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1077 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-23 04:12:17 +00:00
bfc8f654a8 * Optimize the case where FNumberColors = 1
* Code reformatting

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1076 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-23 04:07:52 +00:00
138417f8e4 * Extract DB properties from TNetGradient and create TDBGradient
* Implement FlatBorder, BorderColor, BorderWidth

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1075 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-23 03:26:41 +00:00
d963aba0f0 * Rename TNetGradient to TCustomNetGradient and create a new class TNetGradient with the published properties
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1074 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-22 21:22:35 +00:00
c6b64473fe * Initial commit of smnetgradient (version 2.0.5)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1073 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-22 21:06:14 +00:00
266d65ee1b new module - rxfileutils - in windows allow to get file owner name
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1072 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-19 07:26:53 +00:00
f9e4eb02af * Use TDateEdit instead of TDatePicker in advanced demo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1071 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-17 02:02:01 +00:00
0514629222 * Advanced demos:
- cleanup, set anchors for Speed, GeneralAbilities and Properties demos. 
 - Set forms BorderStyle to  bsNone

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1070 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-16 22:50:04 +00:00
f0db79ea25 * Fix compilation under win32
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1069 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-16 21:42:48 +00:00
adabb04016 * Fix Compilation under non Windows: enable themes only for win32
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1068 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-16 17:03:00 +00:00
b4ff3cb583 * Partially revert 1063
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1067 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-16 03:19:41 +00:00
c7ec9d694e * Remove Local Memory Manager
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1066 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-16 01:00:44 +00:00
e73f1b4ea9 * Replace TList by TFpList
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1065 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-16 00:52:39 +00:00
346578917e * Remove check for Tree version in ReadChunk
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1064 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-16 00:50:30 +00:00
6810a02dfd * Fix code to suppress warnings and hints (where doable)
* Remove hack in TVirtualTreeColumn.GetDisplayName to avoid unicode names (not necessary in lcl)

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1063 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-16 00:47:52 +00:00
0416a5645e * Remove checks for stream version in TVirtualTreeColumn, TVirtualTreeColumns, TBaseVirtualTree
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1062 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-15 22:46:46 +00:00
82dce35e12 * Fix Loading/saving stream of header font name
* Remove check for old versions

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1061 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-15 22:30:20 +00:00
72cc0048a0 * Draw the System* check buttons in the fly to avoid Gtk/Qt glitches
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1060 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-15 21:17:54 +00:00
6bdfb279ec * Compile with Theme Support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1059 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-15 19:24:25 +00:00
4e0e0d5784 fix mem leak for loading images
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1058 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-14 17:26:29 +00:00
2a89c7aea9 * Implement system check images for gtk/Qt
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1057 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-13 13:40:10 +00:00
6ba1ac075c * Check FSelectionCount in CopyToClipboard
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1056 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-13 11:15:12 +00:00
0fb81de4d1 * Replace WideString by UnicodeString
* Don't type cast Pointer to ordinal in QuickSort

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1055 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-13 05:00:53 +00:00
8575e8a108 * Fix visibility of TVirtualTreeHintWindow.Paint
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1054 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-13 04:42:33 +00:00
d8a5912b7c * Use the native LCL methods to build bitmap mask in system check images
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1053 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-13 04:40:44 +00:00
287d58b230 * Removed unused code
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1052 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-13 04:34:02 +00:00
bf720bd525 * Correctly position the header hint when bidimode is rtl
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1051 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-13 03:51:58 +00:00
45b3bd78c7 * Make BorderStyle default to bsSingle
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1050 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-13 03:21:54 +00:00
0772af1ab7 * Fix crash in TBaseVirtualTree.FinishCutOrCopy
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1049 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-12 23:14:56 +00:00
0941527fd4 * Comment unused code
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1048 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-12 21:59:23 +00:00
8bf4cb4e37 * Implement Copy to Clipboard on non windows widgetset
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1047 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-12 21:58:55 +00:00
db29d2cbfb * Fix compilation under fpc 2.24 and under unix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1046 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-12 21:19:16 +00:00
a8f48f3906 * Fix WrapString
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1045 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-12 21:01:20 +00:00
00fcff257a * Add ContentToText and ContentToUnicode for backward compatibility
* Advanced demo: fix compilation and add ability to save as UTF-8

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1044 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-12 20:21:04 +00:00
f5021d5d6a * Properly handle unicode in ContentTo* methods
* Refactor ContentTo* methods to use UTF-8 as the base encoding

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1043 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-12 16:26:43 +00:00