paul
eee75551b6
gtk: don't try to draw Text if Rect is empty
...
git-svn-id: trunk@16665 -
2008-09-21 13:32:30 +00:00
mattias
d8ca4194ff
gtk2 intf: enabling gtk threading when thread manager is set
...
git-svn-id: trunk@16475 -
2008-09-07 23:16:18 +00:00
mattias
8acfc91bed
gtk1+2 intf: added comment about wake up gtk main loop from another threa
...
git-svn-id: trunk@16329 -
2008-08-31 11:28:31 +00:00
mattias
5e37b07ce5
gtk1+2 intf: made FMessageQueue thread safe
...
git-svn-id: trunk@16328 -
2008-08-31 11:18:41 +00:00
mattias
4b50534529
gtk intf: added safety check
...
git-svn-id: trunk@16310 -
2008-08-30 19:26:18 +00:00
mattias
67ebb5aa2d
gtk2: fixed compilation for fpc 2.2.2
...
git-svn-id: trunk@16156 -
2008-08-20 08:50:21 +00:00
mattias
b340abac03
gtk1: fixed GetCursorPos
...
git-svn-id: trunk@16103 -
2008-08-18 07:38:30 +00:00
mattias
8889f04e1d
clean up
...
git-svn-id: trunk@16100 -
2008-08-18 06:56:53 +00:00
mattias
c81aab571f
fixed uninitialized function results
...
git-svn-id: trunk@16088 -
2008-08-16 20:51:45 +00:00
mattias
5f699ac8b2
gtk2: implemented TCanvas.ClipRect during paint, improved hiding/drawing caret with double buffer
...
git-svn-id: trunk@15865 -
2008-07-25 14:42:09 +00:00
mattias
2996a3c332
rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
...
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
92fb8c2d5e
gtk: add default values for SM_CXICON and friends
...
git-svn-id: trunk@15736 -
2008-07-10 13:57:39 +00:00
paul
dabde77f8b
lcl (from me and Marc):
...
- create bitmaps for icon in with icon description instead of alpha bitmaps (fixes #0011514 , #0011539 )
- add support for gtk mono cursors
- fix gtk2 shifts on pixbufs (gtk2 bug)
- misc graphic fixes
git-svn-id: trunk@15557 -
2008-06-24 03:45:36 +00:00
mattias
96e855ad53
LCL: TControlScrollBar: implemented hiding scrollbar, bug #11491
...
git-svn-id: trunk@15470 -
2008-06-19 10:41:09 +00:00
paul
db26dddf06
gtk1, gtk2: Add CreateIconIndirect implementation which returns pixbuf. Move CreateCursor code there and remove its declaration.
...
git-svn-id: trunk@15457 -
2008-06-18 09:14:27 +00:00
mattias
e3520a6d50
gtk intf: reduced warnings/notes - use -dVerboseLCLTodos and -dVerboseGtkTodos to see them
...
git-svn-id: trunk@15422 -
2008-06-14 12:04:46 +00:00
paul
1cd9bfb7a0
TextRect: pass DT_EXPANDTABS to DrawText if Style.ExpandTabs is true
...
DrawText: qt, gtk - add support for DT_EXPANDTABS
TCustomLabel: draw with ExpandTabs = true (issue #0011050 )
git-svn-id: trunk@14702 -
2008-04-01 02:34:47 +00:00
paul
11de6af8b9
decapitalize all procedure and function keywords to make all looks the same
...
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
paul
40c9844f59
GetKeyState:
...
- gtk1, gtk2: implement pressed state for mouse buttons
- qt: return state for X mouse buttons
git-svn-id: trunk@14294 -
2008-02-28 06:07:29 +00:00
paul
083521d007
gtk:
...
- fix GetKeyState (only keys state at moment)
- gtk drag/dock for windows
git-svn-id: trunk@14277 -
2008-02-27 12:54:30 +00:00
mattias
11d6ac41f5
translations: fixed spelling mistake, fixed crash when rst file not found, updated german translation from Joerg Braun
...
git-svn-id: trunk@14245 -
2008-02-25 14:36:59 +00:00
sekelsenmat
fc312ff2bb
Removes the obsolete CListBox under gtk and qt.
...
git-svn-id: trunk@14176 -
2008-02-18 07:02:01 +00:00
mattias
348cc7798a
LCL: small cleanups
...
git-svn-id: trunk@14021 -
2008-02-07 18:52:11 +00:00
mattias
377ac8850f
gtk intf: preventing deleting stock font object
...
git-svn-id: trunk@13998 -
2008-02-06 12:51:53 +00:00
paul
77989dc1e0
gtk2: draw text with rotation
...
- rearrange extras
- introduced TGtk2DeviceContext.DrawTextWithColor (mostly from 0009665 with modifications)
- use DrawTextWithColor in TextOut and ExtTextOut
git-svn-id: trunk@13987 -
2008-02-06 06:13:00 +00:00
paul
dff1565eb1
gtk2:
...
- enable GetObject for HFont
- use MulDiv in font size calculation instead of *, div (as in font.inc) (Grzegorz Zakrzewski)
- use PixelsPerInchY instead of PixelsPerInchX (Grzegorz Zakrzewski)
- minor formatting
git-svn-id: trunk@13985 -
2008-02-06 04:37:06 +00:00
paul
b66fdb0bab
gtk: remove LM_INTERNALPAINT and related things
...
git-svn-id: trunk@13848 -
2008-01-24 01:37:40 +00:00
paul
e48133ad74
gtk: perform erasing background on non opaque controls
...
git-svn-id: trunk@13842 -
2008-01-23 10:21:20 +00:00
paul
bdb8aa451e
gtk:
...
- added some missed function to extra
- correct GetWindowRect
git-svn-id: trunk@13665 -
2008-01-08 09:33:43 +00:00
paul
c8d52d15d6
gtk:
...
- remove FinishComponentCreate: code moved to appropriate ws classes
- remove HookSignals (same reason)
git-svn-id: trunk@13537 -
2007-12-30 18:15:53 +00:00
paul
9e76d7e615
remove OldRawImageProcs
...
git-svn-id: trunk@13495 -
2007-12-28 06:05:12 +00:00
paul
09d6e02546
remove CreatePixmapIndirect
...
git-svn-id: trunk@13344 -
2007-12-15 15:45:49 +00:00
paul
79fbbcfde2
repair VerboseFocus for gtk2
...
git-svn-id: trunk@13326 -
2007-12-14 04:17:15 +00:00
mattias
2261662fc3
gtk2 intf: removed some unused variables and fixed TNoteBook.ClientOrigin
...
git-svn-id: trunk@13109 -
2007-12-01 23:33:54 +00:00
mattias
8ac236ef4e
gtk intf: removed unused vras
...
git-svn-id: trunk@12988 -
2007-11-23 15:48:05 +00:00
marc
28578c3a91
* Started with object based GDI
...
* More splitup of gtk1/gtk2 code
* Fixed restore of GC after linedrawing
* Enabled desktop grabbing for gtk1
git-svn-id: trunk@12975 -
2007-11-23 00:07:45 +00:00
paul
f90b1ff958
change gtk DrawText formatting a bit
...
git-svn-id: trunk@12969 -
2007-11-22 06:09:40 +00:00
paul
821fdb9802
gtk: fix DrawText - it should return height of resulting text instead of 0/1
...
git-svn-id: trunk@12968 -
2007-11-22 06:03:32 +00:00
paul
c6a5a6d431
- use CreateBrushIndirect for gtk and qt to implement CreatePatternBrush
...
- use changes of Luiz Americo from 0008814 to pattern brush
git-svn-id: trunk@12874 -
2007-11-15 01:55:33 +00:00
paul
c3039af8d3
gtk DrawText: if count = -1 then use StrLen to get actual count (as in winapi)
...
git-svn-id: trunk@12868 -
2007-11-14 09:03:53 +00:00
paul
63b2e4b144
gtk: add ref to pixmap in CreatePatternBrush
...
git-svn-id: trunk@12867 -
2007-11-14 08:50:41 +00:00
paul
129ee739df
gtk: implement CreatePatternBrush
...
git-svn-id: trunk@12865 -
2007-11-14 07:25:17 +00:00
paul
c80a848d46
GetSystemMetrics: added SM_CYSIZEFRAME for gtk and qt
...
git-svn-id: trunk@12795 -
2007-11-09 08:25:33 +00:00
paul
fd746ab2f9
gtk1/2: implement GetSystemMetrics(SM_CXTHUMB/SM_CYTHUMB)
...
git-svn-id: trunk@12753 -
2007-11-06 09:11:58 +00:00
mattias
bbf3a6393a
images: made vase transparent
...
git-svn-id: trunk@12724 -
2007-11-03 19:01:50 +00:00
mattias
09342edb8f
gtk intf: fixed GetClientRect for notebook
...
git-svn-id: trunk@12694 -
2007-11-02 10:58:55 +00:00
paul
1c0de89202
gtk: TGtkWidgetSet.FillRect should not fill whole DC if rect is empty
...
git-svn-id: trunk@12691 -
2007-11-02 09:07:22 +00:00
paul
2f77419302
gtk: make TGtkWidgetSet.GetSystemMetrics more safe
...
git-svn-id: trunk@12690 -
2007-11-02 08:30:05 +00:00
paul
d59531f75d
gtk: make TGtkWidgetSet.GetSystemMetrics more safe
...
git-svn-id: trunk@12686 -
2007-11-02 04:06:10 +00:00
mattias
419f5911b4
LCL: reduced notes
...
git-svn-id: trunk@12658 -
2007-10-31 09:41:58 +00:00
paul
8649f4eda1
fix gtk LoadBitmapData for images with Width not divided by 8
...
git-svn-id: trunk@12561 -
2007-10-23 09:01:50 +00:00
andrew
9eeadf2bc5
hopefully fixed the problem in the ide where closing an editor file in gtk2 would close all files except the one you wanted. now we query gtk2 for the control key state
...
git-svn-id: trunk@12450 -
2007-10-13 23:10:11 +00:00
marc
b7c26074b8
* fixed #8550 , CreateBitmap returns a gdkbitmap when bpp=1* fixed #8550 , CreateBitmap returns a gdkbitmap when bpp=1* fixed #8550 , CreateBitmap returns a gdkbitmap when bpp=1* fixed #8550 , CreateBitmap returns a gdkbitmap when bpp=1* fixed #8550 , CreateBitmap returns a gdkbitmap when bpp=1* fixed #8550 , CreateBitmap returns a gdkbitmap when bpp=1* fixed #8550 , CreateBitmap returns a gdkbitmap when bpp=1* fixed #8550 , CreateBitmap returns a gdkbitmap when bpp=1
...
git-svn-id: trunk@12431 -
2007-10-12 22:20:54 +00:00
marc
27cda5e7cd
* fixed bug #8550 for loading and alignment. Creating a 1bit bitmap when requesten still needs to be done
...
git-svn-id: trunk@12387 -
2007-10-09 00:10:15 +00:00
paul
4502a2bf23
gtk: fix wrong custom cursor appearance (issue #0009584 )
...
git-svn-id: trunk@12371 -
2007-10-08 08:49:22 +00:00
mattias
b1eb2613c6
gtk intf: reduced warnings
...
git-svn-id: trunk@12232 -
2007-09-29 10:11:50 +00:00
paul
4f1340e5d6
gtk: reduce amount of gtk warnings in console produced by DrawFrameControl
...
git-svn-id: trunk@12219 -
2007-09-28 17:30:37 +00:00
paul
7fd0499fa1
gtk: fix SM_CXSCREEN, SM_CYSCREEN, SM_CXVIRTUALSCREEN, SM_CYVIRTUALSCREEN for dual monitors (now poScreenCenter and poDesktopCenter works with gtk2 under windows)
...
git-svn-id: trunk@12218 -
2007-09-28 17:02:41 +00:00
paul
b864b14f3d
- change some formatting
...
- fix some verbose strings
git-svn-id: trunk@12207 -
2007-09-28 06:19:02 +00:00
paul
df5e7aa81e
gtk:
...
- separate SM_CXSCREEN and SM_CXVIRTUALSCREEN for gtk2 (affects TForm.ScreenPosition screen/desktop center)
- implement SetCursorPos for gtk2 (if version >= 2.8)
git-svn-id: trunk@12196 -
2007-09-27 09:23:06 +00:00
mattias
4f8d2a8022
IDE: added package option Provides - needed by KOL, gtk intf: reduced warnings, fixed wrong type cast calling gdk_text_extends (crashing Label.OptimalFill=true and miscalculation of width)
...
git-svn-id: trunk@12080 -
2007-09-19 17:58:52 +00:00
paul
d762d100d9
Gtk:
...
- vary widget default cursors (default edit cursor is IBeam, others are arrow)
- remove unused cursor map global variable and related stuff
git-svn-id: trunk@12039 -
2007-09-16 05:42:37 +00:00
marc
c640644c8f
* fixed unreferencing nil colormap
...
git-svn-id: trunk@11932 -
2007-09-03 23:09:13 +00:00
marc
69bf6a17fc
* fixed unreferencinf nil visual
...
git-svn-id: trunk@11931 -
2007-09-03 22:59:19 +00:00
marc
6bf56052f7
* fixed crash on gtk2
...
git-svn-id: trunk@11930 -
2007-09-03 22:39:06 +00:00
jesus
de35bfb0d6
LCL, gtk1, fixes CombineRgn problem when Dest region equals Src1 or Src2
...
git-svn-id: trunk@11922 -
2007-09-03 00:30:00 +00:00
marc
04b4e27b62
* Implemented basic alpha support
...
* Implemented LCL side of imagelist
* restructured rawimage to more OO
Merged revisions 11289-11617 via svnmerge from
http://svn.freepascal.org/svn/lazarus/branches/marc-lcl
........
r11289 | marc | 2007-06-06 22:50:05 +0200 (Wed, 06 Jun 2007) | 1 line
private branch for bitmap rework
........
r11290 | marc | 2007-06-06 23:30:09 +0200 (Wed, 06 Jun 2007) | 2 lines
* Initial linux and win32 implementation
........
r11291 | paul | 2007-06-07 03:20:11 +0200 (Thu, 07 Jun 2007) | 3 lines
- fix compilation with fpc 2.3.1
- remove unneded code for converting cursor mask
- enabled loading of standard windows status icons instead of LCL
........
r11292 | paul | 2007-06-07 11:03:27 +0200 (Thu, 07 Jun 2007) | 1 line
- some bugs with mask and alpha
........
r11299 | marc | 2007-06-08 00:59:26 +0200 (Fri, 08 Jun 2007) | 2 lines
* force alpha channel when PNG has alpha
........
r11302 | paul | 2007-06-09 04:45:12 +0200 (Sat, 09 Jun 2007) | 1 line
- fix black rectangles instead of manu item images
........
r11303 | paul | 2007-06-09 04:46:14 +0200 (Sat, 09 Jun 2007) | 1 line
formatting
........
r11309 | marc | 2007-06-11 02:25:07 +0200 (Mon, 11 Jun 2007) | 3 lines
* Added alpha premultiply
* Published Colorbox selection property
........
r11310 | paul | 2007-06-11 19:10:18 +0200 (Mon, 11 Jun 2007) | 1 line
misc
........
r11312 | marc | 2007-06-12 01:44:03 +0200 (Tue, 12 Jun 2007) | 2 lines
* start with carbon
........
r11313 | paul | 2007-06-12 14:02:48 +0200 (Tue, 12 Jun 2007) | 1 line
- BitBtn glyph transparency
........
r11315 | paul | 2007-06-13 05:20:40 +0200 (Wed, 13 Jun 2007) | 1 line
- problems with internal bitmap saving/loading (is was 24bpp when 32bpp needed)
........
r11319 | paul | 2007-06-14 06:32:04 +0200 (Thu, 14 Jun 2007) | 1 line
- More LCL way of painting images through ThemeServices
........
r11320 | paul | 2007-06-14 06:32:56 +0200 (Thu, 14 Jun 2007) | 1 line
- ability to override bitbtn glyph to nothing
........
r11321 | paul | 2007-06-14 06:34:49 +0200 (Thu, 14 Jun 2007) | 1 line
painting headercontrol images through ThemeServices
........
r11325 | paul | 2007-06-17 10:14:27 +0200 (Sun, 17 Jun 2007) | 1 line
fixing painting of 32bpp bitmaps with no Alpha
........
r11326 | paul | 2007-06-17 10:16:00 +0200 (Sun, 17 Jun 2007) | 1 line
missed file
........
r11337 | paul | 2007-06-20 03:44:47 +0200 (Wed, 20 Jun 2007) | 3 lines
- revert previous commit
- create 24bpp bitmaps by default
........
r11342 | marc | 2007-06-21 01:47:30 +0200 (Thu, 21 Jun 2007) | 3 lines
* Added Alpha support on Carbon
* Simplified win32 rawimage_fromdevice
........
r11343 | paul | 2007-06-21 04:36:28 +0200 (Thu, 21 Jun 2007) | 1 line
- adopt gtk2 code
........
r11344 | paul | 2007-06-21 04:41:41 +0200 (Thu, 21 Jun 2007) | 1 line
make gtk2 work
........
r11353 | paul | 2007-06-22 10:12:19 +0200 (Fri, 22 Jun 2007) | 1 line
- default WS imagelist implementation
........
r11358 | marc | 2007-06-23 13:29:06 +0200 (Sat, 23 Jun 2007) | 2 lines
* Implemented MaskBlit
........
r11359 | paul | 2007-06-23 20:02:52 +0200 (Sat, 23 Jun 2007) | 1 line
draw new imagelist bitmap on widget canvas
........
r11371 | marc | 2007-06-25 23:50:13 +0200 (Mon, 25 Jun 2007) | 2 lines
* Rawimage rework
........
r11372 | marc | 2007-06-25 23:51:00 +0200 (Mon, 25 Jun 2007) | 2 lines
+ Added header
........
r11373 | marc | 2007-06-26 00:05:55 +0200 (Tue, 26 Jun 2007) | 2 lines
* Swapped RGBA <-> ARGB defualt format since most widgetsets use ARGB
........
r11374 | marc | 2007-06-26 00:09:36 +0200 (Tue, 26 Jun 2007) | 2 lines
* added
........
r11462 | marc | 2007-07-12 00:16:02 +0200 (Thu, 12 Jul 2007) | 2 lines
+ added header
........
r11463 | marc | 2007-07-12 00:18:49 +0200 (Thu, 12 Jul 2007) | 2 lines
* Added alpha/masked strechblt support
........
r11464 | marc | 2007-07-12 00:21:27 +0200 (Thu, 12 Jul 2007) | 2 lines
* create DIBSection instead of DIBitmap
........
r11502 | marc | 2007-07-14 00:23:42 +0200 (Sat, 14 Jul 2007) | 2 lines
* Fixed transparentcolor after loading bitmap
........
r11505 | marc | 2007-07-14 15:10:56 +0200 (Sat, 14 Jul 2007) | 2 lines
- Removed ARGB dataconversion, internal format is by default the same now
........
r11531 | marc | 2007-07-17 01:23:34 +0200 (Tue, 17 Jul 2007) | 2 lines
* changed TRawImage into object
........
r11533 | paul | 2007-07-17 05:10:31 +0200 (Tue, 17 Jul 2007) | 3 lines
- change several occurrence of FillChar(..TRawImageDescription..) with call to Init
- change imagelist defines to use old imagelist (new is crashes ide)
- change TWin32ThemeServices to use old imagelist
........
r11534 | paul | 2007-07-17 05:19:02 +0200 (Tue, 17 Jul 2007) | 3 lines
- change several occurrence of FillChar(..TRawImageDescription..) with call to Init in Qt widgetset
- change TRawImageDescription.IsEqual and TRawImage.IsEqual
........
r11535 | paul | 2007-07-17 05:23:53 +0200 (Tue, 17 Jul 2007) | 1 line
- change several occurrence of FillChar(..TRawImageDescription..) with call to Init in wince widgetset
........
r11554 | marc | 2007-07-18 00:10:11 +0200 (Wed, 18 Jul 2007) | 2 lines
* fixed compilation on 2.0.4
........
r11555 | marc | 2007-07-18 00:10:44 +0200 (Wed, 18 Jul 2007) | 2 lines
* fixed compilation
........
r11556 | marc | 2007-07-18 00:11:43 +0200 (Wed, 18 Jul 2007) | 2 lines
* fixed fillchar on TRawImage object
........
r11572 | marc | 2007-07-19 01:41:35 +0200 (Thu, 19 Jul 2007) | 2 lines
* fixed crash when object has vmt
........
r11573 | marc | 2007-07-19 01:42:14 +0200 (Thu, 19 Jul 2007) | 2 lines
* Made TRawimage compatible with record again
........
r11580 | marc | 2007-07-20 01:33:20 +0200 (Fri, 20 Jul 2007) | 2 lines
* enabled newimagelist
........
r11581 | marc | 2007-07-20 01:33:48 +0200 (Fri, 20 Jul 2007) | 2 lines
* fixed font
........
git-svn-id: trunk@11861 -
2007-08-25 01:49:40 +00:00
mattias
576644f062
memcheck: updated for fpc 2.3.1
...
git-svn-id: trunk@11846 -
2007-08-22 21:31:28 +00:00
mattias
83af777229
gtk intf: fixed LineTo to not paint last pixel if Pen.Width<=1
...
git-svn-id: trunk@11711 -
2007-08-02 11:46:06 +00:00
mattias
ed4224184b
gtk1 intf: rotated text, patch from C Western
...
git-svn-id: trunk@11698 -
2007-07-31 23:26:42 +00:00
mattias
63a8c982ad
gtk intf: fixed crash on paste for 64 bit
...
git-svn-id: trunk@11697 -
2007-07-31 23:13:06 +00:00
mattias
1ce8a18caf
LCL: TBitmapCanvas: now keeping bitmap selected on DeselectHandles - otherwise there is no content left in the DC
...
git-svn-id: trunk@11696 -
2007-07-31 21:35:21 +00:00
mattias
95f4b69572
gtk2 intf: using a gtk_im_multicontext_new to use the gtk input method handling - e.g. dead keys for UTF8KeyPress
...
git-svn-id: trunk@11687 -
2007-07-31 13:49:36 +00:00
mattias
923e29b086
LCL reduced some x86_64 warnings
...
git-svn-id: trunk@11659 -
2007-07-28 11:46:18 +00:00
sekelsenmat
8781f4543a
Moved the creation of Edit, StaticText and Panel from the old CreateComponent to the new CreateHandle methods on Gtk. Also moved CreateForm into the CreateHandle method.
...
git-svn-id: trunk@11540 -
2007-07-17 09:31:14 +00:00
paul
c4eda87b12
- Distinct TCustomForm.Position poScreenCenter and poDesktopCenter. ScreenCenter uses sizes of primary Screen but DesktopCenter whole desktop size.
...
- reimplement QT GetSystemMetrics for SM_CXSCREEN, SM_CYSCREEN and move old method to SM_CXVIRTUALSCREEN, SM_CYVIRTUALSCREEN
git-svn-id: trunk@11450 -
2007-07-09 12:50:20 +00:00
mattias
801d3a0023
IDE: project options form: anchoring notebook to okbutton, gtk intf: color clHighlightText, gtk2 intf: dummy page now without gdkwindow - not eating events, LCL: treeview: removed RecreateWnd call
...
git-svn-id: trunk@11385 -
2007-06-27 07:44:01 +00:00
mattias
1eff85d939
gtk2 intf: improved resizing code to not need the caching trick
...
git-svn-id: trunk@11212 -
2007-05-29 00:30:26 +00:00
mattias
78509220c9
LCL: TSpeedButton: if mouse capture lost then update state, fixed state when invoking Click which triggers ShowModal
...
git-svn-id: trunk@11211 -
2007-05-28 12:12:51 +00:00
mattias
95a4c61120
gtk intf: LineTo now sets GDK_CAP_NOT_LAST to not draw the last pixel
...
git-svn-id: trunk@11198 -
2007-05-25 09:14:33 +00:00
mattias
f049d742f3
gtk intf: DeleteObject does not raise an exception, if trying to free an object which is still used, but only gives a warning
...
git-svn-id: trunk@11172 -
2007-05-21 08:31:03 +00:00
mattias
f1ddc29682
LCL: added BeginAlign/EndAlign in TWinControl.Loaded to reduce overhead, gtk2 intf: added GetDefaultClientRect for TGroupBox, doing some resizes now immediately
...
git-svn-id: trunk@11160 -
2007-05-17 21:43:48 +00:00
mattias
8d7812da86
IDE: completion form is now created on demand and the internal double buffer bitmap is resized correct
...
git-svn-id: trunk@11130 -
2007-05-12 09:39:20 +00:00
mattias
9fdf9fcfdf
gtk intf: made creation/freeing of GDI objects more consistent and more strict. gtk2 intf: brush and pen are now created on demand
...
git-svn-id: trunk@11128 -
2007-05-11 16:52:05 +00:00
mattias
0f2b6b8e44
gtk2 intf: fonts of device contexts are now created on demand
...
git-svn-id: trunk@11121 -
2007-05-10 08:44:03 +00:00
mattias
6a41acd5f4
gtk2 intf: the GC of device contexts are now created only when needed
...
git-svn-id: trunk@11106 -
2007-05-08 16:24:44 +00:00
mattias
2b64f5d099
gtk intf: renamed TDeviceContext.Wnd to TDeviceContext.DCWidget to save many typecasts
...
git-svn-id: trunk@11104 -
2007-05-08 12:58:13 +00:00
andrew
0d75fcd87f
applied patch from Luiz Americo for bug #8754 which removes an unused variable.
...
git-svn-id: trunk@11040 -
2007-05-01 00:57:51 +00:00
mattias
ef4cb4d516
gtk2 intf: TComboBox: fixed gtk crit when ITemCount=0
...
git-svn-id: trunk@11015 -
2007-04-27 11:18:59 +00:00
vincents
08761b6cee
gtk interface: fixed range errors in underlining short cuts (bug #8602 ) from Colin Western
...
git-svn-id: trunk@10861 -
2007-04-03 20:42:46 +00:00
paul
78187ac487
- added WsWinControl.CanFocus that inform about ability of control to be focused with default widgetset value = True (overrided for gtk)
...
- changed CanTab of TWinControl to use TWSWinControlClass.CanFocus
- published TRadioGroup.TabStop
git-svn-id: trunk@10829 -
2007-03-30 05:22:36 +00:00
vincents
85a311aa33
LCL: made DrawFrameRect declaration the same as in the windows unit (bug #8468 )
...
git-svn-id: trunk@10813 -
2007-03-27 10:36:49 +00:00
vincents
27409f3080
gtk interface: made Rectangle winapi compatible (bug #8342 )
...
git-svn-id: trunk@10782 -
2007-03-22 19:10:10 +00:00
paul
aec06c66dd
- fixed error in cursor reading previously introduced by me
...
- fixed cursor creating code in widgetsets
git-svn-id: trunk@10779 -
2007-03-22 02:24:41 +00:00
marc
7db0d40c31
* fixed compilation of win32-gtk2 (doesn't run yet)
...
* fixed use of correct gtk in pairsplitter
* some cleanup
git-svn-id: trunk@10745 -
2007-03-13 23:53:11 +00:00
mattias
61700dad67
gtk intf: small optimization as suggested by Luiz
...
git-svn-id: trunk@10726 -
2007-03-09 00:25:38 +00:00
marc
7dcb45bc1f
* patch for tpairsplitter by Paul Ishenin
...
git-svn-id: trunk@10712 -
2007-03-06 00:08:35 +00:00
marc
50cd527148
* Cursor metric patch from Paul Ishenin
...
git-svn-id: trunk@10693 -
2007-02-26 23:42:56 +00:00
mattias
49242c3818
gtk intf: using default when gdk does not know the physical screen size
...
git-svn-id: trunk@10642 -
2007-02-14 11:09:42 +00:00
marc
d7051338d9
* global cursor patch from Paul Ishenin
...
* dragcursor fix
! note: setting of the initial default cursor in gtk needs to be looked at, it should set the cursor as defined by the widget, no the default arrow
git-svn-id: trunk@10609 -
2007-02-07 23:31:44 +00:00