Commit Graph

40 Commits

Author SHA1 Message Date
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
sekelsenmat
9adba3fe2d lazcanvas: Fixes compilation in fpc 2.7.1
git-svn-id: trunk@34033 -
2011-12-07 21:04:48 +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
1967a28403 customdrawnws: Much improves the TBitmap support, now it can render on the screen
git-svn-id: trunk@33977 -
2011-12-05 17:26:51 +00:00
sekelsenmat
6539fdc682 customdrawn: Advances the infrastructure for text drawing. Adds an alpha blending routine to TLazCanvas
git-svn-id: trunk@33924 -
2011-12-02 23:25:34 +00:00
sekelsenmat
98933652e7 customdrawn-cocoa: Starts implementing text measurement
git-svn-id: trunk@33917 -
2011-12-02 20:27:48 +00:00
sekelsenmat
65c761d560 Forgotten part of the last commit
git-svn-id: trunk@33888 -
2011-12-01 14:09:16 +00:00
sekelsenmat
ee2491aa10 lazcanvas: Fixes line drawing in clipped areas
git-svn-id: trunk@33859 -
2011-11-30 06:01:03 +00:00
sekelsenmat
b267352d83 Moves IsPointInPolygon to lazregions
git-svn-id: trunk@33851 -
2011-11-29 11:59:02 +00:00
sekelsenmat
9fb56a56d9 lazcanvas: Implements polygon filling
git-svn-id: trunk@33848 -
2011-11-29 09:51:36 +00:00
sekelsenmat
3246f10981 Minor fix for tabcontrol and adds compatibility routines for older FPC in lazcanvas
git-svn-id: trunk@33760 -
2011-11-24 16:07:42 +00:00
sekelsenmat
42f8712413 LazCanvas: Fully overrides the clipping from TFPImageCanvas
git-svn-id: trunk@33747 -
2011-11-24 07:53:11 +00:00
sekelsenmat
cd917e380b Adds more region support for lazcanvas
git-svn-id: trunk@33743 -
2011-11-24 06:30:28 +00:00
sekelsenmat
a485ecf313 Adds WindowOrg support for lazcanvas and a upsidedown init for graphtype
git-svn-id: trunk@33733 -
2011-11-23 20:54:38 +00:00
sekelsenmat
6966f1da55 Starts adding more complex region support in lazcanvas
git-svn-id: trunk@33731 -
2011-11-23 17:29:12 +00:00
sekelsenmat
90b26076a8 lazcanvas: Structural support for pen selecting
git-svn-id: trunk@33724 -
2011-11-23 14:24:53 +00:00
sekelsenmat
a885d9908b Expands lazcanvas for the needs of LCLIntf.SelectObject
git-svn-id: trunk@33714 -
2011-11-23 07:57:43 +00:00
sekelsenmat
2f3e354c13 lazcanvas: Minimal change forgotten from previous commit
git-svn-id: trunk@33668 -
2011-11-21 15:21:25 +00:00
sekelsenmat
d8824e0700 Starts a new unit, lazcanvas.pas, for adding extensions for TFPImageCanvas to support all our TCanvas features
git-svn-id: trunk@33581 -
2011-11-17 12:26:40 +00:00