Commit Graph

53 Commits

Author SHA1 Message Date
Maxim Ganetsky
f0eb9b849d IDE, LCL: Lazarus help output refactoring by n7800, issue #40690:
1. The text has been slightly corrected and made more uniform.
2. The parameters are sorted in some logical order, starting with the more "global" ones. A long list of values for debugging is located at the end. Now all parameters are visible at once, without scrolling.
3. Indentations fixed.
4. The list of values for the --skip-checks parameter is listed in a column, similar to the values for the --debug-enable parameter. This is easier to read and does not create a very long line, which is visible in the screenshot.
5. The "LCL Interface specific options:" header is displayed only if such parameters exist.
6. Changed max line length to a more standard 80.
7. Help output has been moved in a nested function.
8. Removed unused code.
2024-01-20 05:04:42 +03:00
Juha
211d95da17 LCL: Use TLCLHandle instead of a redefined LCLType.THandle or TLCLIntfHandle. Deprecate them. 2023-07-03 11:17:01 +03:00
juha
b2501a2b9a Customdrawn: Implement EnumDisplayMonitors and GetMonitorInfo for CD_X11 and CD_win32. Issue #31738, patch from Anton Kavalenka.
git-svn-id: trunk@62841 -
2020-04-01 10:43:08 +00:00
juha
beaf08063c CustomDrawn: Fixed crash on startup. Implement EnumDisplayMonitors() and GetMonitorInfo(). Issue #36574, patch from Yuriy Sydorov.
git-svn-id: trunk@62599 -
2020-01-30 17:12:37 +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
sekelsenmat
4cd0f4db3c LCL-CustomDrawn: Implements some more generic winapis
git-svn-id: trunk@37084 -
2012-04-29 15:52:53 +00:00
sekelsenmat
ce188a223e LCL-CustomDrawn: Advances the WinAPI cross-platform implementations
git-svn-id: trunk@37050 -
2012-04-27 19:16:53 +00:00
sekelsenmat
a294a8baf8 LCL-CustomDrawn: Implements SetFocus and corrects a lot of control injection code which was not updated to the latest way of doing it
git-svn-id: trunk@37048 -
2012-04-27 12:20:11 +00:00
sekelsenmat
3d39574258 LCL-CustomDrawn: Start implementing clipboard, not working yet
git-svn-id: trunk@36998 -
2012-04-24 08:45:49 +00:00
sekelsenmat
b2d4e3fd19 LCL-CustomDrawn: Implements FocusRect
git-svn-id: trunk@36610 -
2012-04-06 14:14:25 +00:00
sekelsenmat
8ef9333cd8 LCL-CustomDrawn: Starts implementing stock objects
git-svn-id: trunk@36609 -
2012-04-06 14:07:00 +00:00
sekelsenmat
f6b773ed90 LazRegions and LCL-CustomDrawn: Expands the support of region creation and combination, now supports the OR operator and more properly handles the simple region to complex region change
git-svn-id: trunk@36604 -
2012-04-06 12:23:53 +00:00
sekelsenmat
2c6aed50c6 LCL-CustomDrawn: Implements FrameRect
git-svn-id: trunk@36600 -
2012-04-06 10:16:42 +00:00
sekelsenmat
1bcb7d9585 Patch from Giuliano to improve the new X11 timer and to implement screenshot taking in X11 + My improvements over the code to implement GetDeviceSize
git-svn-id: trunk@36558 -
2012-04-04 10:31:21 +00:00
sekelsenmat
a8ad7b2373 LCL-CustomDrawn: Implements GetCliBox, now TGrid starts to appear
git-svn-id: trunk@36544 -
2012-04-03 15:48:52 +00:00
sekelsenmat
1ad6cf828c Patch from Guiliano Colla for a new painting model no LCL-CustomDrawn-X11 and advances the implementation for shift states in this backend
git-svn-id: trunk@36189 -
2012-03-21 11:17:28 +00:00
sekelsenmat
24da8046f7 LCL-CustomDrawn: Fixes crash in themes due to Themes calling DrawControl calling Themes and improves TBitBtn support
git-svn-id: trunk@36028 -
2012-03-15 12:26:04 +00:00
sekelsenmat
4e9f3123b1 Patch from Giuliano Colla for improved non-native CustomDrawn font support + many changes from myself to make the patch more generic and usable in any CustomDrawn backend
git-svn-id: trunk@35879 -
2012-03-11 10:02:15 +00:00
sekelsenmat
8d5fd4cd9f LCL-CustomDrawn-X11: Advances the font chooser
git-svn-id: trunk@35706 -
2012-03-04 15:45:23 +00:00
sekelsenmat
96193a39b6 Moves FreeType font creation into CreateFontIndirect in LCL-CustomDrawn non-native text
git-svn-id: trunk@35690 -
2012-03-03 20:38:23 +00:00
sekelsenmat
994179a76f Initial implementation for non-native Text in LCL-CustomDrawn
git-svn-id: trunk@35688 -
2012-03-03 20:01:10 +00:00
sekelsenmat
913c5364a6 Adds a new object to lazdevicepias: Device and it starts with manufacturer and model info showing in Android and already predicts vibration capabilities. Starts opening the implementation of font enumeration in lcl-customdrawn
git-svn-id: trunk@35291 -
2012-02-10 13:39:06 +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
sekelsenmat
21e55aba98 Fixes the misterious non-windowed control dancing in customdrawnws (implementing Save/RestoreDC was the fix), advances the regions support and starts trayicon implementation in customdrawnws (doesnt work yet)
git-svn-id: trunk@34378 -
2011-12-24 10:06:18 +00:00
sekelsenmat
1933e0f5ff Adds a callback for Android OnCreate and also implements TTimer in X11
git-svn-id: trunk@34350 -
2011-12-21 13:40:14 +00:00
sekelsenmat
322b0f930c LCL-CustomDrawn: Advances bitmap handling code and adds more object deletion support. Attempted to fix a crash when running the magnifier. The crash isnt yet fixed, however.
git-svn-id: trunk@34310 -
2011-12-20 04:08:52 +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
a104532170 customdrawnws: Implements critical sections to avoid the flood of debugln; Fixes a bug in non-native form handling, it didnt inform the LCL that the form was getting closed; Removes the wrongly added BackendAppInit
git-svn-id: trunk@34209 -
2011-12-15 14:57:23 +00:00
sekelsenmat
872dd6830b customdrawn-android: Implements TTimer and improves the key handling
git-svn-id: trunk@34179 -
2011-12-14 12:36:48 +00:00
sekelsenmat
cab34d03db customdrawnws: Implements TLabel
git-svn-id: trunk@34161 -
2011-12-13 20:06:36 +00:00
sekelsenmat
6646781795 Starts the support in the LCL for assyncronous modal dialogs, implements MessageBox in LCL-CustomDrawn-Android and updates the Android example to test this API
git-svn-id: trunk@34117 -
2011-12-11 20:31:09 +00:00
sekelsenmat
af439d12fd customdrawnws: Adds support for set/getprop, adds support for focus by clicking in a control, adds support for bsClear in brush
git-svn-id: trunk@34041 -
2011-12-08 12:42:46 +00:00
sekelsenmat
68d181cd00 Adapts lazcanvas to the new fpcanvas capabilities, Improves the region sizing, adapts the customdrawn backends to support selecting native vs non-native text, removes an undesired resourcestring usage from customdrawncontrols and fixes the checkbox in all customdrawn platforms
git-svn-id: trunk@34022 -
2011-12-07 12:25:44 +00:00
sekelsenmat
af69ab4b0a customdrawnws: Improves TCDWSPanel and implements Frame3D
git-svn-id: trunk@33996 -
2011-12-06 14:17:50 +00:00
sekelsenmat
bb245c48c9 customdrawn-windows: Finishes fixing the windows backend
git-svn-id: trunk@33974 -
2011-12-05 15:32:34 +00:00
sekelsenmat
eb931b330d graphtype: Adds a debug routine; customdrawnws: Starts implementing StretchDraw and TBitmap support, not yet working
git-svn-id: trunk@33968 -
2011-12-05 10:30:39 +00:00
sekelsenmat
bbf9512a32 customdrawnws: Starts the process of harmonized the form handles of all backends to diminish the backend code. For now X11 and Android are harmonized and base on TCDForm. Cocoa and Win32 will need big adjustments
git-svn-id: trunk@33906 -
2011-12-02 09:56:12 +00:00
sekelsenmat
74061c4a42 Adds pallete assignment in customdrawndrawers, stores the fallback palette of each drawer on creation and implements getting fallback colors in LCL-CustomDrawn
git-svn-id: trunk@33894 -
2011-12-01 17:14:59 +00:00
sekelsenmat
108f8bc596 customdrawnws: Consolidates the GetDC implementation into a generic part and backends, starts checkbox although it crashes in Android and works (except for text drawing) in X11
git-svn-id: trunk@33886 -
2011-12-01 12:29:15 +00:00
sekelsenmat
66de3a943b customdrawn: Starts the Pascal to Java JNI ifdefs and adds a skeleton for text drawing/metrics support
git-svn-id: trunk@33884 -
2011-12-01 11:04:22 +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
f76122ed92 customdrawn-android: Renames VerboseWinAPI to VerboseCDWinAPI and starts implementing invalidaterect
git-svn-id: trunk@33831 -
2011-11-28 15:31:30 +00:00
sekelsenmat
46c5039ee7 customdrawnws-win32: Fixes WM_MOVE, WM_SIZE and form closing
git-svn-id: trunk@33759 -
2011-11-24 14:37:46 +00:00
sekelsenmat
bd3a4c7440 customdrawnws: Updates the win32 backend after the last reworks, but it isn't showing the form anymore
git-svn-id: trunk@33745 -
2011-11-24 07:30:30 +00:00
sekelsenmat
050d04c0b3 customdrawnws: Adds many canvas operations
git-svn-id: trunk@33726 -
2011-11-23 14:43:04 +00:00
sekelsenmat
8a7cdf675e customdrawnws: Adds initial pen support
git-svn-id: trunk@33725 -
2011-11-23 14:25:26 +00:00
sekelsenmat
0748370917 customdrawnws: Implements more skeletons for winapi canvas routines and fixes the color channels in Cocoa
git-svn-id: trunk@33717 -
2011-11-23 08:27:08 +00:00
sekelsenmat
11bcccbf7f customdrawnws: Implements basic support for brush color
git-svn-id: trunk@33713 -
2011-11-23 07:29:10 +00:00
sekelsenmat
0df82c300f customdrawnws: Fixes the compilation for Cocoa
git-svn-id: trunk@33673 -
2011-11-21 19:49:38 +00:00
sekelsenmat
d8e9ca3b05 customdrawnws: Mode debug info and fixes an issue in the win32 backend painting, still missing something however
git-svn-id: trunk@33670 -
2011-11-21 16:27:17 +00:00