Commit Graph

2952 Commits

Author SHA1 Message Date
ondrej
0cd8ed04e5 LCL: combobox, listbox: fix drawing of customdrawn items. Change TOwnerDrawStateType.odPainted to odBackgroundPainted
git-svn-id: trunk@55304 -
2017-06-10 11:43:19 +00:00
juha
1184822164 LCL: Use a helper function for testing fontname 'default'. Issue #31940, patch from AlexeyT.
git-svn-id: trunk@55188 -
2017-06-03 18:56:34 +00:00
juha
e800a738ad Copy AVL_Tree from FPC trunk and replace classes in AvgLvlTree and in CodetoolsStructs with it.
The unit in FPC packages will be used directly later.

git-svn-id: trunk@54524 -
2017-04-05 08:34:48 +00:00
michl
076beac6c5 LCL: TCustomTabControl: Remove doubled, since revision 33537 #fa02b703f1 deprecated, types.
git-svn-id: trunk@54004 -
2017-01-25 21:13:49 +00:00
michl
6a9b9d4d9e LCL: TCustomTabControl: Win32: Allow setting tab width and tab height. Issue #31109, patch from AlexeyT.
git-svn-id: trunk@54002 -
2017-01-25 17:42:06 +00:00
juha
a714a91311 LCL: Move TLCLPlatform and related non-GUI code to a new unit to be used without GUI.
Organize uses-sections by package so that dependencies can be easier seen.

git-svn-id: trunk@53711 -
2016-12-17 22:58:08 +00:00
mattias
1acb6ad60d lcl: added cocoa/agl.pp
git-svn-id: trunk@53317 -
2016-11-08 15:36:00 +00:00
mattias
52b89347f6 lcl: updated makefiles
git-svn-id: trunk@52002 -
2016-03-20 13:05:51 +00:00
ondrej
f7158c1393 lcl: disable windows on system dialog execute
win32: fix parent window handle for system dialogs
Issue #28631

git-svn-id: trunk@51798 -
2016-03-02 05:45:52 +00:00
ondrej
fd3ff3b9c5 lcl: set TMenu ownerdraw properties and events as restricted.
git-svn-id: trunk@51647 -
2016-02-17 11:29:11 +00:00
ondrej
81733b2e74 lcl: rewrite PopupMode/PopupParent
- unify code for PopupMode/PopupParent in one function TCustomForm.GetRealPopupParent for all WS.
- change TWSCustomFormClass.SetPopupParent to TWSCustomFormClass.SetRealPopupParent without PopupMode parameter.
- Fix TPopupMode documentation.
Issue #29247

git-svn-id: trunk@51032 -
2015-12-25 15:37:10 +00:00
juha
6bb18f6fbd LCL: Implement TCustomMemo.ScrollBy. Refactor widgetset ScrollBy from ScrollingWinControl to WinControl. Solves issue #29067.
git-svn-id: trunk@50523 -
2015-11-29 18:45:53 +00:00
mattias
fa3ae668cd lcl: less with-blocks for FPC 3.1.1
git-svn-id: trunk@50292 -
2015-11-11 13:17:51 +00:00
mattias
f814866d82 lcl: less with-blocks for FPC 3.1.1
git-svn-id: trunk@50291 -
2015-11-11 13:17:45 +00:00
mattias
1a4afb9d1d lcl: less with-blocks for FPC 3.1.1
git-svn-id: trunk@50290 -
2015-11-11 13:17:39 +00:00
mattias
2c46e6e468 IDE+lazbuild+makefiles: on darwin use -gw instead of -g
git-svn-id: trunk@49906 -
2015-10-01 18:40:54 +00:00
mattias
ec28f19074 examples: removed obsolete SrcPath
git-svn-id: trunk@48099 -
2015-03-02 18:52:45 +00:00
mattias
0768cb0727 LCL: qt, gtk1, win32: dropfiles for sub forms
git-svn-id: trunk@45560 -
2014-06-16 22:29:02 +00:00
maxim
f281e6830c LCL: fixed typos in comments ("extention" -> "extension"), patch by Reinier, bug #26154
git-svn-id: trunk@45029 -
2014-05-12 23:12:18 +00:00
martin
8510d36eaf LCL: TScrollBox, remove unnecessary Invalidate on Windows. Issue #0026087 Move Invalidate in WS code for all other WS
git-svn-id: trunk@44840 -
2014-04-28 20:17:56 +00:00
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