Commit Graph

51 Commits

Author SHA1 Message Date
3c62d5f19d Fixes the compilation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2097 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-10-27 08:26:45 +00:00
68477cc125 * Merge fixes from 4.8 branch
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1239 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-06-28 16:51:38 +00:00
13cf96482b * Add 64bit compatibility. Patch from Jonas Wielicki
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1185 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-03-23 18:57:20 +00:00
975c2eac17 * Fix compilation under non win32 and fpc 240
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1120 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-01-07 15:38:32 +00:00
013797b510 * Protect all call to log functions/units by ifdef
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1118 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-01-06 23:54:23 +00:00
2350cbe7ab * Disable SetMapMode in Gtk (due bug in LCL)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1102 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-31 11:07:40 +00:00
17f4355903 * Fix scrolling horizontally on gtk2 (gtk intf ScrollWindow implementation is broken)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1100 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-30 14:07:15 +00:00
2e9533f226 * Call PrepareDrag in non windows
* Dont offset the Start point in PrepareDrag
* Add some logger call to debug header dragging

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1099 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-30 11:51:07 +00:00
2d3c5a3d89 * Fix the position of the header popup menu
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1098 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-30 11:22:56 +00:00
4656d793e8 * Call DoHeaderMouseMove only if inside header
* Don't adjust the coordinates passed to DoHeaderMouseMove since they already in client coordinates

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1097 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-30 11:00:45 +00:00
139fedb7c8 * Fix compilation on non win32
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1096 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-29 19:42:43 +00:00
1f4bf79d5b * removed delphi specific directives
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1095 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-28 21:26:16 +00:00
32c9311fd5 * Comment win32 specific theme code. Enable theme support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1094 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-28 21:23:18 +00:00
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
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
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
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
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
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
fba3d9bd52 * Remove ContentTp* overloads to avoid infinite loop
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1038 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-08 15:33:04 +00:00
48521cb82f * Use VTVDragManager instead of Controls.DragManager in DragAndDrop
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1037 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-08 15:21:39 +00:00
6f6aee59f0 * Use {$packset 1} so sets can be of 1 or 2 bytes (by Juha Manninen)
* Change TVirtualNode to record instead of a packed record. Remove dummy padding field

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1036 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-08 15:13:52 +00:00