Commit Graph

14266 Commits

Author SHA1 Message Date
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
sekelsenmat
147eb696f1 Adds a mechanism for widgetsets to override DebugLn/DebugOut
git-svn-id: trunk@33817 -
2011-11-28 10:10:48 +00:00
sekelsenmat
baa4004c59 customdrawnws-android: Adds more debug info, not yet working
git-svn-id: trunk@33816 -
2011-11-28 07:29:15 +00:00
sekelsenmat
ee2aac4e7b customdrawnws-android: Minor changes
git-svn-id: trunk@33815 -
2011-11-28 06:56:43 +00:00
sekelsenmat
d80dc9727c customdrawnws-android: Adds support for the jnigraphics version of our Android code, it loads correctly, but doesnt yet render like I expected
git-svn-id: trunk@33814 -
2011-11-27 22:03:20 +00:00
sekelsenmat
bc3db2ddf8 customdrawnws-android: Yet another try to debug the issue
git-svn-id: trunk@33807 -
2011-11-26 20:30:19 +00:00
sekelsenmat
a70c1ef502 customdrawnws-android: Attempting to get something to render, nothing working yet
git-svn-id: trunk@33806 -
2011-11-26 20:17:11 +00:00
juha
2383449ad9 LCL: Remove TPageControl.DoChange. OnChange handler was run twice. Issue #20758, patch from Marcos Douglas
git-svn-id: trunk@33805 -
2011-11-26 19:24:03 +00:00
mattias
1cc509f495 lcl: clean up
git-svn-id: trunk@33788 -
2011-11-26 01:27:14 +00:00
sekelsenmat
1207aa33c0 Adds support for RGB of depth 16 bits in GraphType in and LCL-CustomDrawn
git-svn-id: trunk@33783 -
2011-11-25 17:12:07 +00:00
sekelsenmat
c2aebf3ca5 customdrawnws-android: First attempt at showing a bitmap, not yet working
git-svn-id: trunk@33782 -
2011-11-25 16:35:34 +00:00
sekelsenmat
adc029d470 customdrawnws-android: Now it can show a green stuff in Android
git-svn-id: trunk@33781 -
2011-11-25 15:48:53 +00:00
sekelsenmat
bfad794a88 customdrawnws-android: Updates the lcl.lpk to know the ndk bindings and its directory
git-svn-id: trunk@33780 -
2011-11-25 15:27:31 +00:00
sekelsenmat
86141e2b2e customdrawnws-android: Adds the ndk bindings
git-svn-id: trunk@33778 -
2011-11-25 12:43:53 +00:00
juha
bcb7030b54 Improve ListFilterEdit and apply it to compiler message dialog.
git-svn-id: trunk@33774 -
2011-11-25 09:40:15 +00:00
sekelsenmat
a476d9e7ee customdrawnws-win32: Improves the region searching and expands it to more events
git-svn-id: trunk@33772 -
2011-11-25 08:02:45 +00:00
sekelsenmat
349ddc6785 customdrawnws: Starts using the regions for clipping events too
git-svn-id: trunk@33771 -
2011-11-25 07:47:49 +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
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
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
e900ce2ba7 customdrawnws: Repairs the win32 backend
git-svn-id: trunk@33758 -
2011-11-24 13:32:18 +00:00
sekelsenmat
0e6e43b2b8 Fixes a memory leak in TTabControl
git-svn-id: trunk@33756 -
2011-11-24 12:29:24 +00:00
zeljko
12dba80ad6 Qt: fixed tristate checkbox in TQtCheckListBox, also simplified some code.issue #20740
git-svn-id: trunk@33755 -
2011-11-24 11:20:29 +00:00
juha
dfbf4c2aec LCL: Fix also the order of the 3 states of CheckBox. Issue #19980, patch from August Klein
git-svn-id: trunk@33754 -
2011-11-24 09:35:30 +00:00
zeljko
efd91117a1 Qt: set tristate handling (allowgrayed) on TQtCheckBox. part of #20740
git-svn-id: trunk@33751 -
2011-11-24 08:59:12 +00:00
zeljko
37f6b6943c Qt: fixed capture behaviour for TQtCustomControl.issue #20742
git-svn-id: trunk@33750 -
2011-11-24 08:39:30 +00:00
sekelsenmat
e97ab1eaa6 customdrawnws-cocoa: Compilation fix
git-svn-id: trunk@33749 -
2011-11-24 08:03:08 +00:00
sekelsenmat
d3a2cf706c customdrawnws: Updates the X11 backend to paint child wincontrols
git-svn-id: trunk@33748 -
2011-11-24 07:57:05 +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
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
a4e581205b customdrawnws: Activates using our clipping by default
git-svn-id: trunk@33744 -
2011-11-24 06:31:08 +00:00
sekelsenmat
cd917e380b Adds more region support for lazcanvas
git-svn-id: trunk@33743 -
2011-11-24 06:30:28 +00:00
juha
7e15bcec7a LCL: Fix GTK2 TCheckListBox.AllowGrayed. Issue #19980, patch from August Klein
git-svn-id: trunk@33741 -
2011-11-23 23:51:17 +00:00
sekelsenmat
2692c6cc47 customdrawnws: Advances the code to render sub-controls and fixes the upside Cocoa bitmap
git-svn-id: trunk@33734 -
2011-11-23 20:57:58 +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
72ea67ba06 customdrawn-x11: Finishes the handle rework
git-svn-id: trunk@33732 -
2011-11-23 17:32:24 +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
31e5579de6 customdrawn-x11: Reworks the structure so that TX11WindowInfo is the window Handle now, which is more reliable and removes the need for keeping a list of windows
git-svn-id: trunk@33730 -
2011-11-23 16:55:08 +00:00
sekelsenmat
ff21b0cfdf customdrawn-x11: Rearranges some x11 misc procs
git-svn-id: trunk@33729 -
2011-11-23 16:15:21 +00:00
sekelsenmat
fc9d9ffdc9 customdrawnws: X11: Starts implementing events. Implements OnMouseMove, form closing, OnClick
git-svn-id: trunk@33728 -
2011-11-23 15:54:52 +00:00
sekelsenmat
77e748c9cb customdrawnws: Renames 2 units for more unique names
git-svn-id: trunk@33727 -
2011-11-23 14:59:36 +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
90b26076a8 lazcanvas: Structural support for pen selecting
git-svn-id: trunk@33724 -
2011-11-23 14:24:53 +00:00
sekelsenmat
1fb920a99c Initial commit of lazregions, the non-native region manager
git-svn-id: trunk@33723 -
2011-11-23 14:05:00 +00:00
paul
2112307399 cocoa: use TCocoaRegion
git-svn-id: trunk@33722 -
2011-11-23 12:41:43 +00:00
sekelsenmat
ed3d2c2cd8 customdrawnws: Fully corrects the image drawing in X11 at least for 24-bit displays
git-svn-id: trunk@33721 -
2011-11-23 12:03:06 +00:00
sekelsenmat
ca3c63e532 customdrawnws: Fixes X11 window size setting
git-svn-id: trunk@33720 -
2011-11-23 10:32:44 +00:00
sekelsenmat
6e0c0f4dd4 customdrawnws: Improves the XCreateImage/XPutImage code, now it renders something more similar to what I want
git-svn-id: trunk@33719 -
2011-11-23 10:11:37 +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
6293824469 Adds more init formats to graphtype
git-svn-id: trunk@33716 -
2011-11-23 08:26:18 +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
a885d9908b Expands lazcanvas for the needs of LCLIntf.SelectObject
git-svn-id: trunk@33714 -
2011-11-23 07:57:43 +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
90b0ebd926 customdrawnws: Fixes compiling the cocoa backend
git-svn-id: trunk@33711 -
2011-11-23 07:03:12 +00:00
paul
5d1c06e32a cocoa: fix RectToViewCoord. simplification of different record convert procedures
git-svn-id: trunk@33710 -
2011-11-23 05:25:20 +00:00
paul
9a2d80ca4f cocoa: a trial to port carbon antialiasing switch
git-svn-id: trunk@33709 -
2011-11-23 02:34:33 +00:00
paul
a740183729 cocoa: port carbon pen code
git-svn-id: trunk@33708 -
2011-11-23 01:47:41 +00:00
paul
426a9b9005 cocoa: fix brush pattern drawing by storing the bitmap copy, add TCocoaBitmap copy constructor
git-svn-id: trunk@33706 -
2011-11-23 01:08:08 +00:00
sekelsenmat
ae01fefa3a customdrawnws: Advances the XShm code
git-svn-id: trunk@33699 -
2011-11-22 17:10:39 +00:00
sekelsenmat
2033ca876d customdrawnws: Switches to using XShm and now things are getting really faster
git-svn-id: trunk@33698 -
2011-11-22 16:36:41 +00:00
sekelsenmat
62709dc69a customdrawnws: A small fix for XCreateImage and adds a profiler: The profiler shows that XPutImage is so slow as to be unusable
git-svn-id: trunk@33697 -
2011-11-22 16:22:17 +00:00
sekelsenmat
81705e60b8 customdrawnws: Small improvement to the XCreateImage call
git-svn-id: trunk@33696 -
2011-11-22 15:52:24 +00:00
sekelsenmat
211d3b4c45 customdrawnws: Can already render something in x11 (although not what I drew)
git-svn-id: trunk@33695 -
2011-11-22 14:49:42 +00:00
sekelsenmat
f9bdc6ccb0 customdrawnws: Advances the X11 DC and painting, but it still does not work
git-svn-id: trunk@33694 -
2011-11-22 14:31:50 +00:00
sekelsenmat
9c171e073c customdrawnws: Fixes the x11 list of windows, now OnPaint is called
git-svn-id: trunk@33693 -
2011-11-22 13:42:58 +00:00
sekelsenmat
4b1759c647 customdrawnws: Adds a paint event handler in x11
git-svn-id: trunk@33692 -
2011-11-22 13:01:59 +00:00
sekelsenmat
0748006021 customdrawnws: Adds code to position the form in X11
git-svn-id: trunk@33691 -
2011-11-22 12:37:06 +00:00
paul
4f99496446 cocoa: redo private classes - use corba interfaces instead for simplification of implementation and better inheritance, implement few combobox events, redo gdi object handling and implement most of brush properties
git-svn-id: trunk@33689 -
2011-11-22 10:52:25 +00:00
sekelsenmat
e78539be74 customdrawnws: Implements window showing and title setting and reading for X11
git-svn-id: trunk@33688 -
2011-11-22 10:35:29 +00:00
sekelsenmat
8b9b6bba77 customdrawnws: Fixes compilation of the x11 backend
git-svn-id: trunk@33687 -
2011-11-22 09:59:34 +00:00
sekelsenmat
f23a1b62cc customdrawnws: Merges cocoa context and bitmap improvements from lcl-cocoa and advances a little bit the rendering
git-svn-id: trunk@33686 -
2011-11-22 07:56:47 +00:00
sekelsenmat
6c62624064 cocoa: Adds a initial code for rendering a TCocoaBitmap into a TCocoaContext
git-svn-id: trunk@33685 -
2011-11-22 07:55:15 +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
maxim
ece5f34e4e Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #20727
git-svn-id: trunk@33679 -
2011-11-21 21:17:47 +00:00
sekelsenmat
4935091835 customdrawnws: Adds units to lcl.lpk
git-svn-id: trunk@33674 -
2011-11-21 20:25:52 +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
ca8736cbb4 customdrawnws: Adds the rawimage->hbitmap conversion
git-svn-id: trunk@33671 -
2011-11-21 16:42:57 +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
2f3e354c13 lazcanvas: Minimal change forgotten from previous commit
git-svn-id: trunk@33668 -
2011-11-21 15:21:25 +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
4beb1d09f0 customdrawnws: Advances a little bit win32 painting
git-svn-id: trunk@33666 -
2011-11-21 14:02:37 +00:00
sekelsenmat
e6a076911a customdrawnws: Adds skeleton for winapi/lclintf
git-svn-id: trunk@33664 -
2011-11-21 13:14:00 +00:00
sekelsenmat
3eb98c1723 customdrawnws: Large rework, makes the win backend much more similar to lcl-win32. Now the window starts in the correct position already
git-svn-id: trunk@33663 -
2011-11-21 12:30:50 +00:00
zeljko
0c5bf06d0c Qt: fixed crash in TQtTrayIcon during animate (imagelist). issue #20717
git-svn-id: trunk@33661 -
2011-11-21 07:03:31 +00:00
maxim
936c1e3175 regenerated translations; updated Russian translation
git-svn-id: trunk@33654 -
2011-11-20 22:48:30 +00:00
sekelsenmat
c3367eb858 Implements support for TSelectDirectoryDialog in LCL-WinCE by using lazdialogs
git-svn-id: trunk@33652 -
2011-11-20 21:19:29 +00:00
sekelsenmat
1c3ceae6df Initial commit of the non-native Lazarus Dialogs. Supports a PDA design for open, save and selectdir
git-svn-id: trunk@33650 -
2011-11-20 20:25:29 +00:00
zeljko
a17b227ac0 Gtk2: cleanup
git-svn-id: trunk@33640 -
2011-11-20 09:44:38 +00:00
zeljko
88dfff8959 Gtk2: fixed compilation with -dVerboseMouseFix
git-svn-id: trunk@33639 -
2011-11-20 09:35:20 +00:00
zeljko
2c94b355cb Gtk2: fixed wrong implementation of gtk2 listview beginupdate & endupdate.Now it's possible to make selections inside beginupdate & endupdate blocks.ListView is slower now, but it's correct. issue #20631
git-svn-id: trunk@33638 -
2011-11-20 09:23:59 +00:00
zeljko
7f3a0f2c10 Gtk2: do not attach gtkmenu to widget for style, since it can produce leaks in gtk2 lib.issue #20625
git-svn-id: trunk@33636 -
2011-11-20 09:00:38 +00:00
zeljko
01ea1658f7 Qt: trigger OnChange event when programatically change value of spin editors.issue #19881
git-svn-id: trunk@33630 -
2011-11-19 16:26:50 +00:00
juha
78b6a2d026 LCL: Implement method TreeView.Items.AddNode. Issue #15807
git-svn-id: trunk@33618 -
2011-11-18 19:19:05 +00:00
juha
2554f47ab1 Change variable name "l" because it resembles "1".
git-svn-id: trunk@33615 -
2011-11-18 16:20:31 +00:00
paul
af9d15b12b cocoa: update all controls when screen.cursor is set to new value
git-svn-id: trunk@33613 -
2011-11-18 14:37:59 +00:00