Commit Graph

68 Commits

Author SHA1 Message Date
Juha
41adb276bb Remove obsolete checks for FPC versions earlier then 3.0. 2023-07-07 17:39:02 +03:00
wp_xyz
a39b58d8cd LCL: Fix fpc version check in LazCanvas' polygon fill routine. 2023-06-27 15:09:04 +02:00
Maxim Ganetsky
261a62e748 LCL: adjusted IFDEFs for TLazCanvas.DoPolygonFill method (DoPolygonFill was merged to FPC 3.2.3) 2023-06-27 01:28:26 +03:00
Maxim Ganetsky
82af317c33 LCL: fixed compilation with FPC 3.2.3 (PolygonNonZeroWindingRule was merged into it), issue #40339 2023-06-21 17:37:27 +03:00
Juha
e045ba01d2 Remove units from uses sections, especially LCLProc which now contains many wrappers to other non-LCL units. 2023-06-18 14:57:06 +03:00
mattias
4323a6e9f5 lcl: fixed compile with fpc 3.2.2 2023-06-12 07:01:41 +02:00
wp_xyz
889c312cb5 LCL: Fix compilation error caused by my previous commit e57f2594df 2023-05-24 19:20:20 +02:00
wp_xyz
e57f2594df LCL: Remove partially implemented TLazCanvas.DoPolygonFill in case of fpc/main where it is fully implemented by ancestor class (issue #40286). 2023-05-24 18:58:42 +02:00
wp_xyz
3685317e2b LCL: Fix difference between rectangle fill and border when drawn by TLazCanvas.Rectangle(). 2023-05-24 18:25:32 +02:00
wp_xyz
8ec140d3b2 lcl: Fix memory leak in TLazCanvas (TLazCanvasState). See https://forum.lazarus.freepascal.org/index.php/topic,62849.msg475481.html 2023-03-29 01:23:21 +02:00
wp_xyz
d03ae50d12 LCL: Add non-zero winding rule Polygon fill to TLazCanvas. 2023-01-29 16:22:38 +01:00
wp_xyz
aa477d8262 LCL: Fix TLazCanvas to respect DrawingModes (alphablending). 2023-01-27 16:47:37 +01:00
juha
d43fa548b8 LazUtils: Rename unit LazUTF8SysUtils -> LazSysUtils. It had nothing to do with character encoding.
git-svn-id: trunk@58630 -
2018-07-25 13:38:59 +00:00
sekelsenmat
207f8493e1 lazcanvas: Implements some abstract routines to avoid warnings
git-svn-id: trunk@53869 -
2017-01-03 15:51:43 +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
89190707c1 LCL: exploded some With-blocks for fpc 3.1.1
git-svn-id: trunk@50237 -
2015-11-06 18:35:28 +00:00
sekelsenmat
65b3b495e2 lazcanvas: Forgotten comment
git-svn-id: trunk@49576 -
2015-07-29 14:51:09 +00:00
sekelsenmat
5ea6418f88 lazcanvas: Greatly speeds up tlazcanvas.polygonfill
git-svn-id: trunk@49575 -
2015-07-29 13:59:59 +00:00
mattias
b5ef5a6a06 LCL: camel case unit names, patch #27666
git-svn-id: trunk@48338 -
2015-03-14 10:35:43 +00:00
mattias
e2d5752135 lcl: clean up
git-svn-id: trunk@46007 -
2014-08-03 22:05:40 +00:00
mattias
76b41ca24f LCL: clean up
git-svn-id: trunk@45198 -
2014-05-27 13:27:55 +00:00
juha
c30eb3edd3 Clean outdated DEFINEs from the code, like old compiler versions and FPC_HAS_CONSTREF.
git-svn-id: trunk@43628 -
2014-01-02 18:16:19 +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
mattias
743dd613d4 LCL: less warnings
git-svn-id: trunk@40634 -
2013-03-24 11:58:49 +00:00
mattias
48ec025ae8 fixed compilation with fpc 2.6.3
git-svn-id: trunk@40410 -
2013-02-25 22:17:54 +00:00
mattias
fb537b160f keep old StrikeTrough for current RC 2.6.2
git-svn-id: trunk@39901 -
2013-01-19 20:35:10 +00:00
mattias
f1fe1fc167 fixed compilation with fpc 2.6.1 23444
git-svn-id: trunk@39879 -
2013-01-18 16:21:23 +00:00
sekelsenmat
f758bdf235 Fixes compilation of Lazarus with FPC trunk due to the fix to spelling mistake in TFPCustomFont
git-svn-id: trunk@39870 -
2013-01-17 09:17:52 +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
0a8f6cd6b1 LCL-CustomDrawn-Cocoa: Fixes a crash and starts adding Menu support
git-svn-id: trunk@36799 -
2012-04-15 18:36:21 +00:00
sekelsenmat
f988a68552 Activates the new fast copy routine by default and implements a new fast pixel filling optimization. Decreases the drawing time of a fullscreen form with some controls from 95ms to 33ms
git-svn-id: trunk@36580 -
2012-04-05 15:09:56 +00:00
sekelsenmat
a643c45d47 Improves the new fast image copying to use Move for the entire line (per suggestion by Vincent), adds support for considering the WindowOrg in the size and support for 32 bpp
git-svn-id: trunk@36578 -
2012-04-05 13:00:53 +00:00
sekelsenmat
51262ce4b0 LCL-CustomDrawn: Implements a new much faster image copying based in TLazIntfImage.GetDataLineStart. Speeds the magnifier drawing from 630ms to 477ms in X11
git-svn-id: trunk@36576 -
2012-04-05 12:22:56 +00:00
sekelsenmat
24ea04d036 Reverts define changes in lazcanvas as TFPCustomRegion is not in fpc 2.6.1
git-svn-id: trunk@36555 -
2012-04-04 06:59:05 +00:00
sekelsenmat
6ead435909 lazcanvas and lazregion: Changes the defines for old fcl-image from 2.6.x to 2.6 because my fcl-image improvements were merged to FPC 2.6.1
git-svn-id: trunk@36545 -
2012-04-03 15:49:45 +00:00
sekelsenmat
6edfeb2724 Adds a filter for the special alphablending routine to filter out white pixels and makes the Android look the default in the Android example
git-svn-id: trunk@36391 -
2012-03-28 09:11:32 +00:00
sekelsenmat
276ce26bb5 Part forgotten from last commit
git-svn-id: trunk@35691 -
2012-03-03 20:41:01 +00:00
zeljko
0a251c34b1 LCL: TLazCanvas cleanup of unused variables
git-svn-id: trunk@35221 -
2012-02-07 12:04:19 +00:00
zeljko
ca92488a21 LCL: added missing result to TLazCanvas.SaveState.
git-svn-id: trunk@35218 -
2012-02-07 11:54:18 +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
cbe7d6ff5f Compilation fix and starts TApplication.MoveFormFocusToChildren
git-svn-id: trunk@34365 -
2011-12-22 16:58:18 +00:00
sekelsenmat
3884615b5c Starts native text for LCL-CustomDrawn-Windows
git-svn-id: trunk@34362 -
2011-12-22 15:21:21 +00:00
sekelsenmat
96d5e480cc Advances the support for setting the font size in Android
git-svn-id: trunk@34323 -
2011-12-20 13:12:14 +00:00
sekelsenmat
cab34d03db customdrawnws: Implements TLabel
git-svn-id: trunk@34161 -
2011-12-13 20:06:36 +00:00
sekelsenmat
c7d4748e81 customdrawn-android: Improves the text rendering, starts implementing text metrics. Improves the customdrawn examples.
git-svn-id: trunk@34150 -
2011-12-13 09:30:28 +00:00
sekelsenmat
be198d094a Small naming fix
git-svn-id: trunk@34147 -
2011-12-13 07:51:37 +00:00
sekelsenmat
9fc8c6bedc customdrawn-android: Improves the text rendering by adding a new way of doing alpha blending which ignores the existing pixels. This was required because otherwise many pixels were misteriously being read as red in the target area which resulted in a redish text
git-svn-id: trunk@34145 -
2011-12-13 07:02:01 +00:00
sekelsenmat
446ffaa84b customdrawn-android: Finishes the initial implementation of text rendering, it works ok for a very initial support. Improves the AlphaBlend method in TLazCanvas to be more optimized and support a custom source position.
git-svn-id: trunk@34138 -
2011-12-12 21:10:18 +00:00
sekelsenmat
e495c78e4d Reworks the drawing code in LCL-CustomDrawn to support drawing only 1 control or it and its children, adds more elements to the lazcanvas save state and makes lazregions more similar for fpc 2.7 and old versions by adding a copy of TFPCustomRegion
git-svn-id: trunk@34038 -
2011-12-08 09:48:14 +00:00
sekelsenmat
c10575f191 lazcanvas: Fix a mistake in the sharp stretch and corrects the rectangle implementation
git-svn-id: trunk@34037 -
2011-12-08 08:25:24 +00:00