Commit Graph

2932 Commits

Author SHA1 Message Date
mattias
7d96a7ed1d LCL: updated Makefiles
git-svn-id: trunk@42815 -
2013-09-15 15:12:42 +00:00
mattias
5c16922af0 clean up
git-svn-id: trunk@42084 -
2013-07-14 06:36:50 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
juha
f68bd44412 LCL: replace the Arrow component with a better version from H. Page-Clark. The old one used widgetset bindings which was not needed.
git-svn-id: trunk@41221 -
2013-05-16 12:30:52 +00:00
juha
48f88c37ef Revert "Use AllFilesMask everywhere instead of GetAllFilesMask, mask must be fixed in FPC libs"
git-svn-id: trunk@40957 -
2013-04-30 16:35:02 +00:00
juha
73fb9ab0e2 Use AllFilesMask everywhere instead of GetAllFilesMask
git-svn-id: trunk@40849 -
2013-04-19 07:08:03 +00:00
juha
7b19e58f07 LCL: Implement function SetRectRgn for Windows and Gtk(2). Issue #23288, patch from Valdinilson Lourenço da Cunha
git-svn-id: trunk@39263 -
2012-11-07 22:56:59 +00:00
juha
32fa5fe6c5 LCL: Implement function EqualRgn for Windows and Gtk(2). Issue #23287, patch from Valdinilson Lourenço da Cunha
git-svn-id: trunk@39262 -
2012-11-07 22:56:49 +00:00
juha
2f0ee470cb LCL: Implement function PaintRgn for Windows and Gtk(2). Issue #23286, patch from Valdinilson Lourenço da Cunha
git-svn-id: trunk@39261 -
2012-11-07 22:53:54 +00:00
juha
b466b6ee60 LCL: Implementation of function FillRgn to GTK/GTK2. Issue #23241
git-svn-id: trunk@39224 -
2012-11-01 19:36:00 +00:00
juha
b36cc487aa LCL: Correction for RectInRegion in GTK/GTK2 bindings. Issue #23239
git-svn-id: trunk@39223 -
2012-11-01 19:35:52 +00:00
juha
2ed0e7a34c LCL: implement PtInRegion for GTK2 and RectInRegion for all widgetsets properly
git-svn-id: trunk@39160 -
2012-10-25 00:19:00 +00:00
mattias
bdef003197 LCL: makefiles: compile lcl.pas
git-svn-id: trunk@36679 -
2012-04-09 14:29:34 +00:00
mattias
6b9752807f LCL: updated unit paths in Makefile.compiled
git-svn-id: trunk@36678 -
2012-04-09 13:55:09 +00:00
mattias
07da74130a lcl: updated Makefile.compiled
git-svn-id: trunk@36672 -
2012-04-09 10:14:04 +00:00
mattias
221788591b updated Makefiles
git-svn-id: trunk@36671 -
2012-04-09 10:05:12 +00:00
paul
df6f72a520 lcl, widgetsets: remove IntfSendsUTF8KeyPress from the widgetset interfaces implementation and call GetLCLCapability instead inside the generic function body
git-svn-id: trunk@36446 -
2012-03-30 08:28:34 +00:00
paul
880401dbb8 lcl: remove ver2_2_x defines
git-svn-id: trunk@36368 -
2012-03-27 07:16:11 +00:00
zeljko
3ca38dadcd Qt,Gtk2,Gtk: prepared winapi GetSystemMetrics to get accurate measures for maximized and fullscreen forms.part of #21119
git-svn-id: trunk@36103 -
2012-03-17 08:48:39 +00:00
zeljko
47ff29d2a7 Gtk: fixed wrong result in TGtkWidgetSet.ClientToScreen() and TGtkWidgetSet.InvalidateRect() in case of TScrollingWinControl
git-svn-id: trunk@35882 -
2012-03-11 13:03:32 +00:00
paul
82e9d3f4ce lcl: remove LM_DEACTIVATE message. In windows and in Delphi both activation and deactivation are handled by WM_ACTIVATE message. Better to do this merge in LCL before 1.0 to prevent later problems
git-svn-id: trunk@35518 -
2012-02-21 06:59:12 +00:00
zeljko
1b0fc1ad3d Gtk, Gtk2: update rawimage description when we are about 1bpp since gtk/gtk2 expects XBM format for 1bpp bitmaps, otherwise it crashes. issue #12362
git-svn-id: trunk@35502 -
2012-02-20 07:57:55 +00:00
paul
bbb4a0f776 lcl: add Target: TControl argument to NotifyApplicationUserInput(), pass this target to event handlers instead of TApplication
git-svn-id: trunk@35500 -
2012-02-20 06:20:01 +00:00
zeljko
0e876bd527 Gtk, Gtk2: fixed drawing bitmaps with pf32bit. issue #8553
git-svn-id: trunk@35177 -
2012-02-06 11:17:02 +00:00
sekelsenmat
2ef6d922c8 Restructures the LazDeviceAPIs WS implementation to be on a separate unit instead of in the LCLIntf. This allows us to move the types which bellong in the lazdeviceapis unit back to it and make things more modular too.
git-svn-id: trunk@34946 -
2012-01-26 10:07:10 +00:00
juha
6bdfef31e7 GTK and GTK2: Replace const string arrays with RTTI value and WriteStr()
git-svn-id: trunk@34758 -
2012-01-15 23:51:06 +00:00
sekelsenmat
1963fc9eb5 Removes gtk1 Frame
git-svn-id: trunk@34451 -
2011-12-27 22:54:09 +00:00
paul
ecdc478798 gtk, gtk2: fix crash in SetSysColors
git-svn-id: trunk@34419 -
2011-12-26 06:59:11 +00:00
sekelsenmat
89dd7c918b Fixes bug #20195: Removes LCLIntf.Frame in favor of a cross-platform implementation for TCanvas.Frame
git-svn-id: trunk@34379 -
2011-12-24 10:52:33 +00:00
zeljko
5d7716606b Gtk: TGtkWidgetSet.ShowWindow(), changed behaviour so it's win32 and qt compatibile.Respect SW_SHOW and SW_HIDE if handle is PGtkWidget without window.
git-svn-id: trunk@34098 -
2011-12-11 13:57:30 +00:00
sekelsenmat
b347aa14e5 Reverts wrong changes from gtk1
git-svn-id: trunk@33112 -
2011-10-27 15:35:23 +00:00
sekelsenmat
73f0887e09 Fixes bug #20065. Removes ssCaps, ssNum and ssScroll because they are implemented based on the key lock in win32, which is not the same as shift state, they are added only for MouseWhell events and very unreliable across platforms (cannot be correctly implemented in win32 for example). Also corrects the ShiftState for MouseWhell messages in Windows. Removes State from the mousewhell internal message, now Button is used, which is more consistent with Win32.
git-svn-id: trunk@33092 -
2011-10-26 15:08:10 +00:00
sekelsenmat
13daaaa219 Makes LazUtils a base package for the LCL and moves FileUtil, Masks and lazutf8classes to it. Updates the Makefile structure to reflect this.
git-svn-id: trunk@32936 -
2011-10-17 09:24:01 +00:00
sekelsenmat
73542b658a Renames TCustomNotebook to TCustomTabControl, a major breakthrough into fixing the tab-controls
git-svn-id: trunk@31767 -
2011-07-20 14:39:50 +00:00
sekelsenmat
4244d3ea84 Removes the old, completely broken, TTabControl and substitutes it with the new implementation. This also cleans the namespace for renaming TCustomNotebook
git-svn-id: trunk@31766 -
2011-07-20 14:04:55 +00:00
sekelsenmat
bc7a2ba310 Moves TCustomNotebook to ComCtrls in preparation for renaming it
git-svn-id: trunk@31552 -
2011-07-04 09:43:21 +00:00
zeljko
84d29ef869 LCL: TCustomListView, TListView added new properties SortDirection and AutoSort. All ws now use CompareItems() for sorting.
Implemented sorting for gtk2, fixed qt sorting, updated win32 and wince to use CompareItems().

git-svn-id: trunk@31458 -
2011-06-29 18:34:01 +00:00
zeljko
a0933e1606 Gtk: implemented ListView.Exchange() and ListView.Move().
LCL: do not call Exchange() or Move() if both indexes are equal.

git-svn-id: trunk@31367 -
2011-06-24 20:10:28 +00:00
zeljko
95ba53fc11 Gtk: fixed crash in createHandle() of listview.
git-svn-id: trunk@31366 -
2011-06-24 19:33:15 +00:00
sekelsenmat
35a781c607 Adds more TScreen properties, from patch from bug #19379 by wovan.bugger
git-svn-id: trunk@31339 -
2011-06-22 21:03:25 +00:00
juha
6f47638fc2 LCL: fix gtk1 the same way r30134 #e999be5449 fixed gtk2. Patch from Burkhard Carstens, issue #19358
git-svn-id: trunk@30797 -
2011-05-18 14:48:32 +00:00
mattias
de999b53f3 lcl: fixed Makefile.compiled
git-svn-id: trunk@29887 -
2011-03-17 12:19:41 +00:00
juha
f8585cd5ce LCL: Clean comments after changing the shortcut function signatures.
git-svn-id: trunk@29885 -
2011-03-17 11:54:31 +00:00
juha
5d796b9cbb LCL: Remove OldShortCut from SetShortCut parameters and add the real shortcut keys there.
git-svn-id: trunk@29872 -
2011-03-16 16:53:36 +00:00
juha
f38190794b Formatting: joined lines where only ');' was split to its own line, in procedure defs.
git-svn-id: trunk@29871 -
2011-03-16 16:52:28 +00:00
juha
4e95f6a390 LCL: Show menu shortcuts also when they are sequencial keys combinations (like Ctrl+Q, B)
git-svn-id: trunk@29853 -
2011-03-15 14:05:55 +00:00
mattias
3e938820fa gtk1 intf: fixed compilation
git-svn-id: trunk@29839 -
2011-03-14 14:13:20 +00:00
juha
b2fbbd9b34 LCL: Fix the rest of Assert to DebugLn conversion.
git-svn-id: trunk@29837 -
2011-03-14 11:54:38 +00:00
paul
f0bce37226 interfaces: remove AssignSelf method
git-svn-id: trunk@29827 -
2011-03-14 02:17:55 +00:00
juha
01db3bb47c LCL (mostly), Replace Assert(False... with //DebugLn(... Now Assert can be used for its original purpose again.
git-svn-id: trunk@29820 -
2011-03-13 18:21:51 +00:00