Juha
75aebbee85
LCL: Consider that MemSize can return 0 with a custom MemoryManager. Merge request !27 by Sergey Larin.
2021-10-28 11:23:36 +03:00
juha
9219ea531d
Move unit GraphMath from LCL to LazUtils. It has no dependencies to GUI.
...
git-svn-id: trunk@64303 -
2020-12-29 22:56:40 +00:00
juha
6813e28eef
LazUtils: Move math helper functions from LCLProc to LazUtilities. Deprecate LCLProc versions.
...
git-svn-id: trunk@64197 -
2020-12-12 11:41:07 +00:00
dmitry
ff637c1fd4
lcl: adding LCL compatibility option to define system without accelerators (macOS). For system not supporting accelerator, DialogChar() methods of TControl will not be called (by LCL). See bug #37721 and #37719
...
git-svn-id: trunk@63960 -
2020-10-05 16:21:30 +00:00
dmitry
1acc007cbc
cocoa: lcl: adding a new capability lcCanDrawHidden for widgetsets with optimized drawing that can draw hidden on offscreen controls (macOS). bug #35678
...
git-svn-id: trunk@61341 -
2019-06-08 03:26:39 +00:00
zeljko
5981e87a6b
LCL: added new LCL capability - lcNativeTaskDialog, defaults to true, on mswindows is false for qt/qt5. issue #35577
...
git-svn-id: trunk@61219 -
2019-05-13 12:57:11 +00:00
ondrej
5a0cd96c96
LCL: WS: flag TWidgetSet.AppHandle as platform-dependent, remove DebugLn
...
git-svn-id: trunk@58108 -
2018-06-04 01:03:43 +00:00
juha
c7ba603d21
Reduce typecasts. Use TIntegerList and TByteList where appropriate.
...
git-svn-id: trunk@56399 -
2017-11-13 23:20:44 +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
ondrej
7ad916287c
LCL: customedit: rewrite TextHint emulation, use WinAPI if available.
...
git-svn-id: trunk@53365 -
2016-11-14 14:19:14 +00:00
ondrej
677e9d99f2
LCL: add lcTransparentWindow LCL capability
...
git-svn-id: trunk@53193 -
2016-10-21 19:56:05 +00:00
sekelsenmat
0ac0499be9
Implements support for radial gradient in Qt and the LCL with capability indicator
...
git-svn-id: trunk@51539 -
2016-02-08 19:18:10 +00:00
juha
abf9a845da
Deprecate wrappers for LazUTF8 functions in LCLProc.
...
git-svn-id: trunk@47604 -
2015-02-06 18:25:31 +00:00
juha
f1afc4e4cd
LCL: formatting
...
git-svn-id: trunk@46703 -
2014-10-30 19:46:52 +00:00
paul
292d526fc0
lcl: move LoadIcon, LoadCursor, LoadBitmap to LCLIntf to prevent name clashing with Windows unit (issue #0024222 )
...
git-svn-id: trunk@41817 -
2013-06-23 12:29:11 +00:00
zeljko
3a36ec68a7
gtk3 widgetset added.This is base implementation with alpha status.
...
git-svn-id: trunk@41811 -
2013-06-23 10:35:00 +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
paul
72deea9a78
lcl: add a widgetset independent implementation of GradientFill based on gtk2 implementation for rectangles and on wine implementation for triangles
...
git-svn-id: trunk@38769 -
2012-09-21 03:19:46 +00:00
mattias
a93abd6d81
gtk2: clean up
...
git-svn-id: trunk@36783 -
2012-04-15 00:56:30 +00:00
sekelsenmat
83f7ae1a8d
Adds a capability for Accessibility support
...
git-svn-id: trunk@36113 -
2012-03-17 12:23:40 +00:00
zeljko
309d5ca982
LCL: added lcEmulatedMDI TLCLCapability needed for mdi lcl emulator.
...
git-svn-id: trunk@35356 -
2012-02-13 13:45:30 +00:00
sekelsenmat
217b6bb45b
Changes the lapDefault resolution into Application.Initialize
...
git-svn-id: trunk@34289 -
2011-12-19 18:59:14 +00:00
sekelsenmat
cc0e04b161
Finishes the basic implementation of dpi and screen rotation adjustment for Android. Not 100% perfect, but in general already functional.
...
git-svn-id: trunk@34279 -
2011-12-19 13:51:13 +00:00
sekelsenmat
2b22ea06cb
Further removes LCL-Android and updates the widgetset description status
...
git-svn-id: trunk@33990 -
2011-12-06 08:14:32 +00:00
sekelsenmat
5774ecec7d
customdrawn: Implements TButton clicking, implements InvalidateRect in X11
...
git-svn-id: trunk@33870 -
2011-11-30 14:05:01 +00:00
sekelsenmat
71e316ef50
Removes TWidgetset.DebugLog in favor of DebugLn, reverting my previous stance on the subject
...
git-svn-id: trunk@33863 -
2011-11-30 09:30:31 +00:00
sekelsenmat
2c0508fb0b
Deprecates IntfSendsUTF8KeyPress in favor of GetLCLCapability(lcSendsUTF8KeyPress)
...
git-svn-id: trunk@33862 -
2011-11-30 09:19:10 +00:00
sekelsenmat
c8c3173472
Initial commit of the customdrawn widgetset. It already compiles in win32, but does not link yet.
...
git-svn-id: trunk@33362 -
2011-11-06 08:19:26 +00:00
juha
c4cee0e6dd
IDE+LCL: Combine PropEdits.KeyAndShiftStateToKeyString and TWidgetSet.GetAcceleratorString, move to lclproc. Remove unused constants.
...
git-svn-id: trunk@33283 -
2011-11-04 09:50:46 +00:00
sekelsenmat
be92088f61
Introduces a new capability to help fix bug #20394
...
git-svn-id: trunk@33028 -
2011-10-22 18:34:53 +00:00
sekelsenmat
c85b5cb9b9
Adds TWidgetset.DebugLogLn for widgetset implemented logs
...
git-svn-id: trunk@32093 -
2011-08-29 10:39:37 +00:00
paul
c2aca4cd85
lcl: replace TWidgetSet.AppHandle function with a readwrite property
...
git-svn-id: trunk@29278 -
2011-02-01 04:10:57 +00:00
paul
84aeae0727
lcl: add WidgetSet.AppSetMainFormOnTaskBar prototype
...
git-svn-id: trunk@29263 -
2011-01-31 08:42:18 +00:00
paul
6cf4197828
lcl: fix compilation
...
git-svn-id: trunk@29119 -
2011-01-19 12:17:39 +00:00
sekelsenmat
06c798c587
Starts the foundation for the Android widgetset
...
git-svn-id: trunk@29116 -
2011-01-19 10:53:50 +00:00
paul
ab02ee49aa
lcl: redo QuestionDialog buttons usage, move buttons to outer class for use in widgetsets
...
win32: implement QuestionDialog for Vista+ systems
git-svn-id: trunk@28448 -
2010-11-24 10:12:28 +00:00
paul
d34e4eb1c0
lcl: add a possibility to override QuestionDlg in widgetset
...
git-svn-id: trunk@28445 -
2010-11-24 08:16:34 +00:00
paul
35a4f8ad05
lcl, win32: better support for wm_help command. pass context and keyword to DoOnHelp in a compatible to delphi way (issue #0015065 )
...
git-svn-id: trunk@26744 -
2010-07-20 08:43:36 +00:00
zeljko
c86392f301
LCL: added ASystemTopAlso bool param to TApplication.RemoveStayOnTop & TApplication.RestoreStayOnTop, WS.AppRemoveStayOnTop & WS.AppRestoreStayOnTop, because TApplication.HandleException should normalize all stayontop (app, sys), but app activate/deactivate only fsStayOnTop.
...
git-svn-id: trunk@25535 -
2010-05-20 10:54:19 +00:00
dmitry
403c0fde87
lcl: implement setting amDontCare mode for TCanvas. The actual value set is based on WS.GetLCLCapability
...
git-svn-id: trunk@25416 -
2010-05-15 11:32:32 +00:00
paul
6cbcdb2b75
win32: fix modal form showing when stay on top forms are visible (bug #0015636 )
...
git-svn-id: trunk@25138 -
2010-05-02 16:59:54 +00:00
marc
20448170ae
+ WinApi: added SetTimer/Killtimer based on existing Widgetset.CreateTimer as part of lclextentions integration
...
git-svn-id: trunk@23417 -
2010-01-10 18:57:23 +00:00
sekelsenmat
839f502c1d
Updates LCL Capability constants
...
git-svn-id: trunk@21284 -
2009-08-18 15:47:26 +00:00
sekelsenmat
cc2fd37660
Uses constants instead of raw numbers for the result of GetLCLCapacity
...
git-svn-id: trunk@21281 -
2009-08-18 14:52:56 +00:00
paul
dc4763f6ad
lcl: redo HideFormWithStayOnTop with RemoveStayOnTop which is only sets fsNormal instead of fsStayOnTop, add RestoreStayOnTop method. Add AppRemoveStayOnTopFlags, AppRestoreStayOnTopFlags to TWidgetset, implement them on windows (fixes issue #0013953 )
...
git-svn-id: trunk@20580 -
2009-06-11 01:37:06 +00:00
paul
077b9c0616
lcl: fonts:
...
- add TScreen.IconFont, TScreen.MenuFont, TScreen.SystemFont
- replace TWidgetset.InitHintFont with TWidgetset.InitStockFont
win32, wince: retrieve default font from SystemParametersInfo as described in issue #0013848
git-svn-id: trunk@20275 -
2009-05-28 09:23:07 +00:00
paul
02f8fc163d
lcl: add new LCLCapability flag lcDragDockStartOnTitleClick
...
git-svn-id: trunk@19701 -
2009-04-30 03:22:04 +00:00
paul
6f99c2aab0
lcl: destroy ThemeServices in the TWidgetset.BeforeDestruction method since it can release some gdi objects and some widgetsets (like gtk) stores gdi objects in internal structures and release them in the widgetset destructor
...
git-svn-id: trunk@19212 -
2009-04-04 09:55:53 +00:00
paul
366e21d328
lcl: add lcModalWindow flag to the TLCLCapatibility enum. Windows has this flag set to 0 and other widgetsets which supports native modal forms to 1 (todo: make wince modal handling the same as on win32)
...
git-svn-id: trunk@18630 -
2009-02-10 15:06:14 +00:00
paul
fefaf6be1a
lcl: implement TApplication.UpdateVisible, add TWidgetset.AppSetVisible (defined only for win32 at moment) (mantis #0010544 )
...
git-svn-id: trunk@18403 -
2009-01-24 10:07:36 +00:00