Commit Graph

82 Commits

Author SHA1 Message Date
sekelsenmat
b44a2ec7f3 LCL-CustomDrawn: Fixes a bug. It didnt consider the possibility of a alClient align with borders and wasnt drawing the parent control in this case
git-svn-id: trunk@38250 -
2012-08-15 18:32:12 +00:00
sekelsenmat
2ae6c90244 LCL-CustomDrawn-Android: Further improves the improved timer. Starts adding a list to make sure nothing is GCed, uses global reference and adds a new parameter to in the future use only the list ID instead of the raw reference
git-svn-id: trunk@37246 -
2012-05-10 16:18:54 +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
e458b3a891 LCL-CustomDrawn: Implements support for TForm.Color
git-svn-id: trunk@37010 -
2012-04-24 11:39:06 +00:00
sekelsenmat
259c163efb Fixes yet again the new DisableFormBackgroundDrawingProc
git-svn-id: trunk@36706 -
2012-04-10 10:03:48 +00:00
sekelsenmat
a9e7650b4e LCL-CustomDrawn: Dont consider invisible controls to disable drawing covered controls
git-svn-id: trunk@36704 -
2012-04-10 09:43:41 +00:00
sekelsenmat
80721245e5 Small fix for the form background drawing disabling
git-svn-id: trunk@36703 -
2012-04-10 09:41:58 +00:00
sekelsenmat
cd24e7b458 LCL-CustomDrawn: Buffers the canvas bitmap in Android which greatly diminishes the garbage collector activity and speeds drawing. Also adds a new callback routine to select forms of the project which should have the background drawing painting skipped to speed up drawing
git-svn-id: trunk@36700 -
2012-04-10 08:48:17 +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
6f76486093 Patch from Giuliano Colla with a new timer, it is disabled by default because it crashes the test nonandroidtest
git-svn-id: trunk@36513 -
2012-04-02 07:45:23 +00:00
sekelsenmat
e3ce0595fa ops, the drawing optimizations had broken clicking: Repairs that while keeping the optimization itself and removes the defines to cleanup the drawing code
git-svn-id: trunk@36455 -
2012-03-30 10:31:42 +00:00
sekelsenmat
1dad086508 LCL-CustomDrawn: Further improves the painting performance by checking if a control is completely covered by other ones, this improves the magnifier painting speed by 20%, from 790ms to 630ms, although it is still way too high
git-svn-id: trunk@36437 -
2012-03-30 07:32:31 +00:00
sekelsenmat
af0c29f995 Improves the TTF debug log
git-svn-id: trunk@36384 -
2012-03-27 14:10:34 +00:00
sekelsenmat
194f7e5e2d Minor improvement in TTF debugging, cd_test_all and CustomDrawn glyph drawing
git-svn-id: trunk@36270 -
2012-03-23 11:30:16 +00:00
sekelsenmat
5d9dce28f6 Patch from circular to improve LazFreeType
git-svn-id: trunk@36242 -
2012-03-23 06:41:02 +00:00
sekelsenmat
a19f9693da Patch from Guiliano to remove a double-close of TT_Face and adds more debug info to the bitmap code in LCL-CustomDrawn
git-svn-id: trunk@36214 -
2012-03-22 10:53:15 +00:00
sekelsenmat
f7c92839bd Minor customdrawn improvement, fixes compilation in some fpc versions
git-svn-id: trunk@36164 -
2012-03-19 11:52:01 +00:00
sekelsenmat
397bb45af5 LCL-CustomDrawn: Implements background erasing support which fixes the background color of TNotebook pages, among other controls
git-svn-id: trunk@36153 -
2012-03-18 21:06:22 +00:00
sekelsenmat
32b1b8d917 LCL-CustomDrawn-X11: Further optimized the invalidation by redrawing only after all events are finished
git-svn-id: trunk@36067 -
2012-03-16 07:28:54 +00:00
sekelsenmat
2e54dd5e2e LCL-CustomDrawn-X11: Buffer all invalidate calls and execute at most one per form per event
git-svn-id: trunk@36065 -
2012-03-16 06:47:45 +00:00
sekelsenmat
ae72fa682f LCL-CustomDrawn: Fixes a crash due to uninitialized CDBaseControl.Children and starts implementing bitbtn glyph support
git-svn-id: trunk@36036 -
2012-03-15 16:10:31 +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
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