Commit Graph

292 Commits

Author SHA1 Message Date
andrew
2d6ece4fb8 Applied patch from bug #9972 to fix gtk2 memo.selstart
git-svn-id: trunk@12524 -
2007-10-19 22:40:27 +00:00
mattias
e4a0241fcb Makefiles: removed some fcl dependencies
git-svn-id: trunk@12495 -
2007-10-16 22:47:51 +00:00
mattias
9cfb1b4cac gtk2 intf: listview: fixed various gtk warnings
git-svn-id: trunk@12480 -
2007-10-15 22:02:08 +00:00
andrew
3583729c19 Fixed bug #9578 which duplicated items in a listview when items are added before the handle is allocated and there are at least on column added
git-svn-id: trunk@12452 -
2007-10-14 01:27:15 +00:00
andrew
5c4568ffc8 Applied patch from Ales Katona for bug #9932 which fixed a gtk-critical error
git-svn-id: trunk@12446 -
2007-10-13 20:27:41 +00:00
andrew
093ca94abb Fixed a gtk2 bug where TCheckListBox.OnItemClick would always use 0 for the Index param
git-svn-id: trunk@12438 -
2007-10-13 16:02:39 +00:00
andrew
5bc169370e Fixed Gtk2 bug #8374 by implementing TGtk2WSCustomListView.GetItemAt.
git-svn-id: trunk@12433 -
2007-10-12 23:44:05 +00:00
andrew
1fb0f36377 Fixed Gtk2 bug #8378 which made gtk2 listview selection funky when MultiSelect was False
git-svn-id: trunk@12432 -
2007-10-12 22:52:07 +00:00
andrew
8932a0e969 Fixed Gtk2 bug #9213 to show items when the Listview style is vlList and no Columns have been added
git-svn-id: trunk@12430 -
2007-10-12 22:11:03 +00:00
andrew
25e6a4f856 Fixed a crash on newer gtkversion in th OI for a GtkComboBox. There was some code which was not needed at all.
git-svn-id: trunk@12427 -
2007-10-12 21:10:18 +00:00
andrew
e07b98989f Applied patch from bug #9902 to fix gtk2 combobox OnCloseEvent
git-svn-id: trunk@12396 -
2007-10-09 20:26:43 +00:00
andrew
e628172571 Applied patch from Ales Katona for bug #9885 which fixes gtk2 Combobox OnSelect
git-svn-id: trunk@12395 -
2007-10-09 16:35:38 +00:00
andrew
7213963f12 Applied patch from bug #9848 from Ales Katona which fixes bug gtk2 9818
git-svn-id: trunk@12354 -
2007-10-07 14:17:32 +00:00
mattias
f20081a879 IDE: improved and enabled creation of .lrt files and combining all .rst/.lrt files into one .po files per project. ToDo: do the same for packages. From Luis Rodrigues
git-svn-id: trunk@12344 -
2007-10-06 13:59:31 +00:00
sekelsenmat
ea7c9a28a9 Moved the minimum necessary types and constants from commctrl to lcltype to allow compilation of gtk, gtk2, carbon and qt.
git-svn-id: trunk@12321 -
2007-10-04 19:39:15 +00:00
paul
07085f0cb0 gtk2: set font color to ListBox from anatol (issue #0009824)
git-svn-id: trunk@12259 -
2007-10-01 00:41:35 +00:00
paul
83df47bec7 gtk2: added check before SetMainWidget call
git-svn-id: trunk@12255 -
2007-09-30 10:55:04 +00:00
paul
d88841d1ee gtk2: fix another mem leak with combobox (combobox button had separate widgetinfo)
git-svn-id: trunk@12228 -
2007-09-29 06:07:21 +00:00
paul
f60797e179 gtk2: fix combobox memory leak (widget info was not destroyed due to wrong call in DestroyHandle)
git-svn-id: trunk@12227 -
2007-09-29 05:47:40 +00:00
paul
74617f8ba7 gtk2: fix GetMem size error in TGtk2WSCustomListView.CreateHandle
git-svn-id: trunk@12217 -
2007-09-28 14:29:39 +00:00
paul
ffcc357787 gtk2:
- fix makefile problem (we need gtk dir only for inc files)
- add {$I gtkdefines.inc} to gtk2int

git-svn-id: trunk@12216 -
2007-09-28 14:20:34 +00:00
vincents
e4a8f70771 gtk2 widgetset: added ../gtk as include dir
git-svn-id: trunk@12214 -
2007-09-28 11:43:07 +00:00
paul
ead709d041 gtk1/gtk2: try to reduce amount of gtk warnings when you are drawing custom controls with themes
git-svn-id: trunk@12210 -
2007-09-28 08:01:22 +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
paul
e070e82c59 - fix compilation of gtk2 under windows
git-svn-id: trunk@12136 -
2007-09-22 16:41:19 +00:00
sekelsenmat
b8ea56b203 Added gtk1 implementation for TTrayIcon.
git-svn-id: trunk@12109 -
2007-09-21 09:53:17 +00:00
sekelsenmat
69c6ec9a96 Added gtk2 implementation for TTrayIcon and removed the widgetset implementations of GetCanvas on TTrayIcon.
git-svn-id: trunk@12106 -
2007-09-21 09:10:30 +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
mattias
b514d80686 LCL: fixed removing TCustomPage pfAdded when destroying handle
git-svn-id: trunk@11991 -
2007-09-10 19:23:00 +00:00
vincents
37abeb0106 gtk2 interface: removed workaround for calling inherited (bug #9415)
git-svn-id: trunk@11895 -
2007-08-31 22:35:11 +00:00
paul
abe113718c - move TWidgetset.GetListBoxXXX to TWSCustomListBox.GetXXX (where XXX in [GetIndexAtY, GetItemRect]) *untested on Carbon and wince*
- implement GetIndexAtY and GetItemRect for TQtWsListBox

git-svn-id: trunk@11875 -
2007-08-28 17:44:28 +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
ebac9fd99f gtk2 intf: added workaround for inherited call bug of TGtk2WSCustomComboBox.DestroyHandle
git-svn-id: trunk@11779 -
2007-08-10 17:18:51 +00:00
mattias
3b69506329 gtk2 intf: added focus events for combobox, ideintf: textconverter now supports codetool buffers, h2pas wiz: added tool to remove redfinitions, reduced warnings
git-svn-id: trunk@11733 -
2007-08-03 22:38:11 +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
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
d8ebcebd22 gtk2 intf: fixed warnings when initializing open/savedialog
git-svn-id: trunk@11684 -
2007-07-31 10:10:49 +00:00
mattias
923e29b086 LCL reduced some x86_64 warnings
git-svn-id: trunk@11659 -
2007-07-28 11:46:18 +00:00
mattias
271ef15e08 gtk2 intf: clean up
git-svn-id: trunk@11559 -
2007-07-17 23:17:09 +00:00
mattias
8f7f42ab15 gtk2 intf: disabled hiding forms from taskbar, because you loose many comfort functions in many window managers
git-svn-id: trunk@11552 -
2007-07-17 21:25:41 +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
jesus
d270b16e7d LCL, implemented AppHandle in TWidgetset, fixed issue #9239
git-svn-id: trunk@11479 -
2007-07-12 21:09:00 +00:00
andrew
bada39fac6 fixed gtk2 interface from setting the current dir to '' if Dialog.Initial dir = ''
git-svn-id: trunk@11451 -
2007-07-09 15:45:33 +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
vincents
baebd22616 LCL: moved TButton from buttons unit to stdctrls (bug #9137), compilation tested on windows for gtk2, qt and win32 widgetset
git-svn-id: trunk@11367 -
2007-06-25 08:34:41 +00:00
andrew
0ea8ca69fb Implemented gtk2 combobox.sorted property
git-svn-id: trunk@11354 -
2007-06-23 00:43:26 +00:00
mattias
113a06c488 translations: german: from Joerg Braun
git-svn-id: trunk@11335 -
2007-06-19 19:29:09 +00:00
andrew
82b4ef3ed1 Fixed gtk2 bug #8966 where TSaveDialog would ignore .Filename set before executing the dialog
git-svn-id: trunk@11305 -
2007-06-09 13:14:50 +00:00
paul
59aa486876 - another way to show splitter points under gtk1
- buildlazarusdialog adjusted as suggested by Darius

git-svn-id: trunk@11287 -
2007-06-06 02:19:44 +00:00