Commit Graph

60 Commits

Author SHA1 Message Date
sekelsenmat
7e41991294 LCL-CustomDrawn: Fixes clicking in controls inside second page of a TNotebook, starts implementing the drawing of TGroupBox
git-svn-id: trunk@35979 -
2012-03-14 14:12:55 +00:00
sekelsenmat
eee15bd691 LCL-CustomDrawn: Corrects the z-order of clicking
git-svn-id: trunk@35975 -
2012-03-14 12:39:46 +00:00
sekelsenmat
85189e77c8 LCL-CustomDrawn: Starts adding buffering for the form image too
git-svn-id: trunk@35918 -
2012-03-13 07:59:05 +00:00
sekelsenmat
221327700f LCL-CustomDrawn: Starts implementing the new drawing model with buffered control images
git-svn-id: trunk@35917 -
2012-03-13 07:26:07 +00:00
sekelsenmat
00ebdc2239 Patch from Giuliano for LCL-CustomDrawn-X11 compilation fix + fixes endless loop in the fonts search
git-svn-id: trunk@35886 -
2012-03-11 14:23:05 +00:00
sekelsenmat
0d5b0bb37d Improves the LCL-CustomDrawn-Win32 non-native font handling
git-svn-id: trunk@35880 -
2012-03-11 10:16:08 +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
194e0679ac customdrawnws: Fixes clicking of controls while is scrolled mode
git-svn-id: trunk@35073 -
2012-02-01 15:10:12 +00:00
sekelsenmat
3943362c0c Improves LCL-CustomDrawn scrolling
git-svn-id: trunk@34526 -
2011-12-31 12:24:07 +00:00
sekelsenmat
8e92a68084 Rewrites the LCL-CustomDrawn scrolling code to be Android compatible
git-svn-id: trunk@34524 -
2011-12-31 11:56:03 +00:00
sekelsenmat
2a92924d26 Starts Y form scrolling in LCL-CustomDrawn and converts tabs to space in the messaging fields table
git-svn-id: trunk@34523 -
2011-12-31 11:34:04 +00:00
sekelsenmat
96654d4b05 customdrawnws: Fixes the initial text value in TEdit by creating the intf control earlier
git-svn-id: trunk@34497 -
2011-12-29 15:12:20 +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
cbb0725222 Fixes focusing into intf controls
git-svn-id: trunk@34364 -
2011-12-22 16:43:37 +00:00
sekelsenmat
eaab533d22 LCL-CustomDrawn-X11: Improves the timer precision, allows bigger waits when no timers are active and implements AppProcessMessages
git-svn-id: trunk@34354 -
2011-12-21 16:20:05 +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
62b39a7ba1 lcl-customdrawn-android: Updates all forms when the screen rotates, not only the current one
git-svn-id: trunk@34282 -
2011-12-19 15:02:34 +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
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
4a5b2a2815 customdrawn-android: Improves the non-native form handling and implement appropriate support for the Back hardware key
git-svn-id: trunk@34180 -
2011-12-14 13:16:24 +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
aa5c1a901c customdrawnws: Starts implementing TEdit, Starts implementing Android key events, updates the example
git-svn-id: trunk@34167 -
2011-12-14 08:14:19 +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
9c38c40343 Reworks the assyncronous modal dialogs interface and adds it to the TCustomForm too. Reimplements the Android support for modal dialogs to support 1 Java implementation for both MessageBox and PromptUser. Implements LCLIntf.PromptUser for Android
git-svn-id: trunk@34127 -
2011-12-12 07:30:55 +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
9a66e29797 customdrawn-x11: Improves the paint profiling debug info, starts unifying the code to draw the form and speeds up the X11 rendering by eating redundant paint messages
git-svn-id: trunk@34039 -
2011-12-08 10:32:13 +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
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
8e8771651b customdrawnws: Adds background drawing for TPanel
git-svn-id: trunk@34026 -
2011-12-07 14:27:36 +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
6c068f32f8 customdrawn-windows: Starts rewriting for the new unified handle
git-svn-id: trunk@33969 -
2011-12-05 13:33:33 +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
7a4de2176d customdrawn-android and x11: Implements proper targeting for MouseUp
git-svn-id: trunk@33883 -
2011-12-01 09:24:36 +00:00
sekelsenmat
fbce00e46d customdrawn: Implements button clicking in x11 and android
git-svn-id: trunk@33872 -
2011-11-30 15:41:53 +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
fdf484944c customdrawn: Starts the support for TButton, it already shows
git-svn-id: trunk@33869 -
2011-11-30 11:27:44 +00:00
sekelsenmat
c1d9f4ed99 customdrawnws: Starts implementing TBitmap
git-svn-id: trunk@33855 -
2011-11-29 21:32:48 +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
97e6bf6b03 customdrawnws: Improves a little the debug info
git-svn-id: trunk@33847 -
2011-11-29 08:00:11 +00:00
sekelsenmat
3a5fb38765 customdrawn-android: Fixes the screen blinking
git-svn-id: trunk@33839 -
2011-11-28 17:08:05 +00:00
sekelsenmat
d337911f12 customdrawn-android: Merges the defines VerboseCDWindow and VerboseCDForms
git-svn-id: trunk@33832 -
2011-11-28 15:34:37 +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
6478043aae customdrawn-android: Now OnPaint renders correctly
git-svn-id: trunk@33823 -
2011-11-28 10:47:46 +00:00
sekelsenmat
73b7aedc0b customdrawn-android: Painting via paint events already partially works, there is now a pixel format missmatch
git-svn-id: trunk@33821 -
2011-11-28 10:27:59 +00:00
sekelsenmat
fa4d4ca971 customdrawn-android: Implements DebugLn/DebugOut and advances the painting code, painting already works inside Pascal, but not yet when using TLazCanvas
git-svn-id: trunk@33819 -
2011-11-28 10:17:58 +00:00