Commit Graph

608 Commits

Author SHA1 Message Date
cfd18f9fb2 * Replace UTF8String by String in all demos
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1107 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-31 14:06:29 +00:00
1843817e9d * more adjustments to advanced demo layout
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1106 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-31 13:48:54 +00:00
76c4ff077e * Register TDBNetGradient
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1105 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-31 13:10:55 +00:00
61d2516245 * Publish BorderSpacing property for GradButton and GradTabControl (with permission of Eugen Bolz)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1104 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-31 13:09:57 +00:00
86d2440a32 * Advanced demo: fix layout to look good on all platforms + cleaunp
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1103 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-31 11:39:42 +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
3c4e5cee0e * Remove old file
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1101 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-30 16:33:24 +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
f3fb89ac89 * Initial implementation of alpha blending for gtk, gtk2, qt
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1093 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-28 19:12:44 +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
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