marc
5047e33c0a
gtk-splitup: cleanup compiler hints, removed unsued variables
...
git-svn-id: trunk@26013 -
2010-06-09 23:08:38 +00:00
marc
46ebaabc7a
gtk-splitup: merged gtk source into gtk2, removed gtk1 ifdefs
...
git-svn-id: trunk@26012 -
2010-06-09 23:01:52 +00:00
paul
42558682c9
gtk2: fix text drawing defects introcudced in r24628 #72259342cb
...
git-svn-id: trunk@24643 -
2010-04-16 01:40:26 +00:00
mattias
72259342cb
gtk2 intf: fixed pango bidi, bug #16271
...
git-svn-id: trunk@24628 -
2010-04-15 08:38:02 +00:00
paul
6bf6b20594
gtk, gtk2: move SetWindowRgn to gtk2 code since gtk1 does not have appopriate functions. fixes gtk1 compilation
...
git-svn-id: trunk@24008 -
2010-03-15 08:33:23 +00:00
paul
0c1c7b1a6c
lcl, gtk, gtk2: fix some ParentWindow problems when assigned to TCustomForm
...
git-svn-id: trunk@23984 -
2010-03-14 07:29:50 +00:00
paul
45e870d575
win32, gtk, qt: implement viewport affine transformation functions by tk (issue #0014857 )
...
git-svn-id: trunk@23137 -
2009-12-14 05:59:52 +00:00
mattias
38e5fefe4a
gtk2 intf: fsUnderline, from Ts. Petrov, bug #15237
...
git-svn-id: trunk@23038 -
2009-12-08 19:30:42 +00:00
martin
09023a487e
GTK2 ScrollWindowEx: added checks for nil, possible issue #15074
...
git-svn-id: trunk@22565 -
2009-11-13 10:12:14 +00:00
martin
aa1e9cf44b
Gtk2: Tweak ScrollWindowEx (used by SynEdit vertical scrolling), apparently gdk_window_move_region does not always invalidate the "scrolled-in" area. See issue #14297
...
Fixed added invalidation, if no previous invalidation did exist
git-svn-id: trunk@21149 -
2009-08-09 21:04:11 +00:00
martin
1dd3dbe142
Gtk2: Tweak ScrollWindowEx (used by SynEdit vertical scrolling), apparently gdk_window_move_region does not always invalidate the "scrolled-in" area. See issue #14297
...
git-svn-id: trunk@21148 -
2009-08-09 19:21:00 +00:00
paul
8a9fdf48eb
gtk2: fix CreateFontIndirect for default font with non-default height (issue #0013851 )
...
git-svn-id: trunk@20286 -
2009-05-28 14:40:17 +00:00
paul
f977ee640b
lcl: update font on Height change. Change the size only is not correct since LogFont contains lfHeight = Height. fixes bug #0013727
...
git-svn-id: trunk@20010 -
2009-05-17 13:57:24 +00:00
martin
9a731134fb
Gtk2: improving ScrollWindowEx (for SynEdit / issue #7717 )
...
git-svn-id: trunk@19999 -
2009-05-17 01:34:00 +00:00
paul
32096568a9
gtk2: fix size for default font with changed attributes
...
git-svn-id: trunk@19968 -
2009-05-15 02:42:58 +00:00
paul
aec9fbec6e
gtk2: fix comparition with default font (reported on IRC by Ionic)
...
git-svn-id: trunk@19917 -
2009-05-11 02:20:08 +00:00
mattias
ad180e7e4d
gtk2: added flag -dDisableGtk2ScrollWindow
...
git-svn-id: trunk@19807 -
2009-05-04 20:35:55 +00:00
martin
1312656bf4
Implemented ScrollWindowEx for Gtk2 Widgetset. This improves SynEdit scrolling, Issue #7717
...
git-svn-id: trunk@19801 -
2009-05-04 14:06:06 +00:00
paul
02531136a5
gtk2: use more font attributes to determine default font
...
git-svn-id: trunk@19710 -
2009-04-30 15:44:54 +00:00
paul
49a493794c
gtk, gtk2: initial support for native alpha bitmaps (using pixbuf as storage) tested on windows only
...
git-svn-id: trunk@19503 -
2009-04-19 09:46:08 +00:00
paul
263fa6c078
gtk, gtk2: return workarea for monitor under X
...
git-svn-id: trunk@19266 -
2009-04-07 06:33:27 +00:00
paul
a75bb49700
lcl: make sure HMONITOR <> 0 for valid monitors
...
git-svn-id: trunk@19263 -
2009-04-07 04:58:55 +00:00
paul
ddf2b15e66
gtk: implement TMonitor support
...
git-svn-id: trunk@19260 -
2009-04-07 01:37:50 +00:00
paul
3a19dfff75
lcl: add TMonitor class which represents single screen monitor, add TScreen.MonitorCount, TScreen.Monitors[]
...
win32, qt, gtk2: implement EnumDisplayMonitors, GetMonitorInfo
git-svn-id: trunk@19239 -
2009-04-06 08:14:58 +00:00
paul
f251f2caf1
gtk2: fix memory leak
...
git-svn-id: trunk@19165 -
2009-03-31 05:14:02 +00:00
paul
199d9f563c
gtk2: use lfFontName if LongFontName is not set by C Western (part 2 of issue #0013317 )
...
git-svn-id: trunk@18977 -
2009-03-13 06:34:00 +00:00
paul
00a23f0df7
gtk2:
...
- check for bold stlye when creating a default font
- set correct default font family
git-svn-id: trunk@17047 -
2008-10-19 03:33:45 +00:00
mattias
473313cf49
gtk2 intf: fixed UpdateDCTextMetric for default font
...
git-svn-id: trunk@16197 -
2008-08-23 13:23:51 +00:00
mattias
2996a3c332
rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
...
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
mattias
50c3731145
gtk2 intf: implemented optimization for textout with the same text from Luiz
...
git-svn-id: trunk@15758 -
2008-07-13 09:21:33 +00:00
paul
a97246aad9
gtk2: set fpu control word globally for gtk2-win32, or it will crash on setting form or application icon. remove old places where I did that.
...
git-svn-id: trunk@15750 -
2008-07-11 15:46:00 +00:00
paul
d179d98ddb
gtk2: check for max size only cursor in CreateIconIndirect
...
git-svn-id: trunk@15614 -
2008-06-30 03:13:49 +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
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
paul
efb0e8990c
gtk2: ifdef SetCW, ResetCW only for windows
...
git-svn-id: trunk@15388 -
2008-06-11 15:35:58 +00:00
paul
55fe69da9b
gtk2: use another way of fixing cursor creating crash under window
...
git-svn-id: trunk@15379 -
2008-06-11 02:16:55 +00:00
mattias
a62a570ffd
gtk2 intf: cache for DC textout operations from Paul
...
git-svn-id: trunk@15010 -
2008-04-29 12:12:27 +00:00
mattias
3f1466b361
IDE: fixed checking circle dependencies between designer properties
...
git-svn-id: trunk@14880 -
2008-04-18 18:20:06 +00:00
paul
04ef8c1251
gtk2: fix GetTextExtentPoint - it should return zero size if count <= 0 (fixes issue #0009188 )
...
git-svn-id: trunk@14830 -
2008-04-15 14:44:09 +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
mattias
2ccba88670
gtk2 intf: improved rotated fonts
...
git-svn-id: trunk@14045 -
2008-02-09 13:58:27 +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
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
ad65de5bd4
gtk2: load custom cursor workaround for windows
...
git-svn-id: trunk@12684 -
2007-11-02 03:39:56 +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
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
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
mattias
12b5287922
gtk2 intf: fixed UpdateWindow result
...
git-svn-id: trunk@11436 -
2007-07-06 12:50:24 +00:00
mattias
466d2337c3
gtk2 intf: implemented UpdateWindow
...
git-svn-id: trunk@11434 -
2007-07-06 12:42:20 +00:00
mattias
45cbd18a0c
gtk2 intf: fixed TMemo setting echo mode and password char: not suported by TMemo
...
git-svn-id: trunk@11145 -
2007-05-15 13:49:33 +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
05fa424bb7
gtk2 intf: fixed codetools include paths, fixed double painting
...
git-svn-id: trunk@10870 -
2007-04-04 18:08:37 +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
932075c34f
* Patch from Paul Ishenin (max custom cursor size)
...
git-svn-id: trunk@10676 -
2007-02-24 15:25:32 +00:00
mattias
0362114bc2
gtk intf: added custom mouse cursor images from Marc
...
git-svn-id: trunk@10616 -
2007-02-09 17:42:52 +00:00
marc
6737a6ef3d
* cursor patch from Paul Ishenin
...
+ added extra handle checks
* enabled some gtk2.2 code for getting cursorpos
git-svn-id: trunk@10597 -
2007-02-06 01:34:29 +00:00
mattias
01c3d62fc8
IDE: project definitions are now automatically added to all directories in the unit search path (same for packages)
...
git-svn-id: trunk@10221 -
2006-11-20 15:38:48 +00:00
andrew
d817c43808
drastically improved gtk2 synedit speed
...
git-svn-id: trunk@10212 -
2006-11-16 22:36:32 +00:00
micha
ad37c9edfd
fix compilation for {$T+}
...
git-svn-id: trunk@10042 -
2006-10-05 16:55:43 +00:00
mattias
051d30d599
gtk2 intf: fixed UTF multibyte chars
...
git-svn-id: trunk@9532 -
2006-06-30 22:53:21 +00:00
mattias
8027a9738d
gtk intf: added minimum size for TTrackBar
...
git-svn-id: trunk@9506 -
2006-06-27 22:08:49 +00:00
mattias
31810fcee6
gtk2 intf: GDI fonts are now pango layouts instead of pango font descriptions, using the font cache similar to gtk1
...
git-svn-id: trunk@9499 -
2006-06-27 11:28:17 +00:00
mattias
3385779d03
gtk2 intf: added GetDefaultPangoLayout
...
git-svn-id: trunk@9494 -
2006-06-24 08:35:25 +00:00
mattias
3e00d7d57f
gtk intf: improved font selection for synedit from Darek
...
git-svn-id: trunk@9424 -
2006-06-12 19:20:57 +00:00
mattias
6549ac35a0
clean up
...
git-svn-id: trunk@9264 -
2006-05-13 08:41:09 +00:00
mattias
0138b73a5a
gtk2/gtk1 intf: improved TextOut with size and color from Darek
...
git-svn-id: trunk@9263 -
2006-05-13 08:25:27 +00:00
mattias
173f5c5a42
fixed gtk2 compilation
...
git-svn-id: trunk@9256 -
2006-05-09 07:57:41 +00:00
mattias
6eb4930179
fixed references to COPYING.LCL
...
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
jesus
fe17bc7959
simplified GTK2 CreateFontIndirectEx
...
git-svn-id: trunk@9203 -
2006-04-29 19:53:33 +00:00
mattias
5c9c26ad49
enable autoadjust size of tLabel after changing font from Darek
...
git-svn-id: trunk@9125 -
2006-04-15 10:37:40 +00:00
vincents
a0311c2cba
removed cvs logs
...
git-svn-id: trunk@7541 -
2005-08-22 12:30:03 +00:00
vincents
7ecd5dbcf0
remove ===-lines in cvs log comments, so removelog awk script does its work correctly
...
git-svn-id: trunk@7540 -
2005-08-22 11:51:25 +00:00
marc
55f3a45a70
+ Added RemoveProp winapi call
...
* Some maintenace on winapi/lclintf files
git-svn-id: trunk@6830 -
2005-02-23 01:12:47 +00:00
mattias
81a07bf019
fixed some gtk2 intf mem leaks, clean ups
...
git-svn-id: trunk@6788 -
2005-02-16 23:56:51 +00:00
mattias
650a6ec0c5
fixed expandingtabs in synedit painting
...
git-svn-id: trunk@6668 -
2005-01-23 11:43:38 +00:00
mattias
891b8aa58a
disabled hardly used gtk FillScreenFont, this should be only done on demand, improved getting default font family for gtk
...
git-svn-id: trunk@6221 -
2004-11-08 19:11:55 +00:00
mazen
922cb9f947
* fix UTF8 text display in source note book
...
git-svn-id: trunk@5737 -
2004-08-04 15:48:44 +00:00
mattias
7f77713e6c
replaced writeln by debugln
...
git-svn-id: trunk@5456 -
2004-05-11 12:16:48 +00:00
peter
0cc6b98039
* fixed gtk2 compilation
...
git-svn-id: trunk@5289 -
2004-03-09 15:30:15 +00:00
marc
a2bfc9390a
* Renamed TGtk2Object to TGtk2WidgetSet
...
git-svn-id: trunk@5262 -
2004-03-05 00:41:15 +00:00
mattias
033a8d0037
added CLX colors
...
git-svn-id: trunk@5161 -
2004-02-04 12:48:17 +00:00
mattias
434b161072
changed TColorRef from longword to longint
...
git-svn-id: trunk@4958 -
2003-12-26 10:16:54 +00:00
ajgenius
cba186a6dd
add csForm, start fixing Style matching for syscolors and fonts
...
git-svn-id: trunk@4709 -
2003-10-15 20:33:37 +00:00
ajgenius
9e4f8acf95
minor pango/gtk2 font fixes
...
git-svn-id: trunk@4698 -
2003-10-03 04:01:22 +00:00
ajgenius
c4e082796c
more fixes for GTK2, synedit now mostly-useable
...
git-svn-id: trunk@4691 -
2003-10-02 03:35:29 +00:00
ajgenius
3c20566b59
break GTK2 object and winapi into includes like the GTK interface
...
git-svn-id: trunk@4661 -
2003-09-22 20:08:56 +00:00