Commit Graph

48 Commits

Author SHA1 Message Date
sekelsenmat
7010f065b8 Fixes bug #21279 improves Android font handling
git-svn-id: trunk@35365 -
2012-02-14 16:39:59 +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
3625472f5d LCL-CustomDrawn-Windows: Fixes compilation
git-svn-id: trunk@34338 -
2011-12-21 07:09:33 +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
b41b044791 Finishes screenshot code in LCL-CustomDrawn-Cocoa
git-svn-id: trunk@34292 -
2011-12-19 19:46:23 +00:00
sekelsenmat
3eb7e6d65f Starts the keyboard support in LCL-CustomDrawn-Cocoa
git-svn-id: trunk@34213 -
2011-12-15 21:04:45 +00:00
sekelsenmat
9e9d729258 LCL-CustomDrawn: Starts implementing X11 utf8keypress and adds redrawing when focus changes
git-svn-id: trunk@34211 -
2011-12-15 16:10:55 +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
05cd46835f Advances keyboard events in Android and X11. Simple key down/up can already be received in both
git-svn-id: trunk@34207 -
2011-12-15 13:19:01 +00:00
sekelsenmat
52611f279a customdrawnws: Adds more stub code to the text metrics to prevent crashes. Updates the non-android example for the second form
git-svn-id: trunk@34174 -
2011-12-14 09:46:26 +00:00
sekelsenmat
cab34d03db customdrawnws: Implements TLabel
git-svn-id: trunk@34161 -
2011-12-13 20:06:36 +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
9d9bf409cd customdrawn-ws: Fixes non-android compilation
git-svn-id: trunk@34133 -
2011-12-12 12:42:42 +00:00
sekelsenmat
d80ca7832e customdrawn-windows: Fixes the drawing of sub-controls and starts using the unified message handlers
git-svn-id: trunk@34068 -
2011-12-09 09:29:32 +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
506fc9ad3b lazregions sub-rect point in region fix and fixes compilation of customdrawn-cocoa
git-svn-id: trunk@34035 -
2011-12-08 07:36:52 +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
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
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
98933652e7 customdrawn-cocoa: Starts implementing text measurement
git-svn-id: trunk@33917 -
2011-12-02 20:27:48 +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
0c2a036e9b customdrawnws: Implements initial TProgressBar support
git-svn-id: trunk@33890 -
2011-12-01 15:15:30 +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
5774ecec7d customdrawn: Implements TButton clicking, implements InvalidateRect in X11
git-svn-id: trunk@33870 -
2011-11-30 14:05:01 +00:00
sekelsenmat
ab766bdc87 customdrawnws: Very small debug info improvement
git-svn-id: trunk@33856 -
2011-11-29 21:48:27 +00:00
sekelsenmat
70eea2d476 customdrawnws: Implements redirecting events to subcontrols in X11 and implements using BaseWindowOrg and SaveState/ResetCanvasState/RestoreState for safer TWinControl drawing
git-svn-id: trunk@33849 -
2011-11-29 09:52:44 +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
f98f1d227e customdrawnws: Adds skeleton for android support and upgrades to use the compatibility routines from lazcanvas
git-svn-id: trunk@33761 -
2011-11-24 16:36:31 +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
a5a68f3e4c customdrawnws: Fixes compilation with fpc 2.4
git-svn-id: trunk@33746 -
2011-11-24 07:41:52 +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
fb6e9cb2b6 customdrawnws: Improves SelectObject to really return the old brush by using new capabilities from LazCanvas
git-svn-id: trunk@33715 -
2011-11-23 07:58:18 +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
f67944b557 customdrawnws: Advances the cocoa backend, makes the debug ifdefs more uniform and advances the rendering, only the final blit to the control canvas is missing now
git-svn-id: trunk@33684 -
2011-11-22 07:09:41 +00:00
sekelsenmat
4b4869b641 customdrawnws: Adds a new unit for misc generic routines
git-svn-id: trunk@33680 -
2011-11-21 21:18:02 +00:00
sekelsenmat
0df82c300f customdrawnws: Fixes the compilation for Cocoa
git-svn-id: trunk@33673 -
2011-11-21 19:49:38 +00:00
sekelsenmat
2488c66a69 customdrawnws: Minor adjustments and improvements, adds a temporary work around to see something in the screen on Rectangle drawing while there isnt yet a proper Pen and Brush
git-svn-id: trunk@33672 -
2011-11-21 17:00:53 +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
sekelsenmat
65165e6ebb customdrawnws: Implements GetWindowInfo in the win32 backend, advances the drawing buffer, improves a bit the debug info and rebases the winapi_win inc to be based in the win32 file
git-svn-id: trunk@33669 -
2011-11-21 15:58:20 +00:00
sekelsenmat
f2c700c262 customdrawnws: Advances the painting code, but it does not work yet
git-svn-id: trunk@33667 -
2011-11-21 14:58:05 +00:00
sekelsenmat
e6a076911a customdrawnws: Adds skeleton for winapi/lclintf
git-svn-id: trunk@33664 -
2011-11-21 13:14:00 +00:00