Commit Graph

34 Commits

Author SHA1 Message Date
zeljko
59f1dd3592 Gtk2: fixed itemheight with lbOwnerDrawFixed style of listbox. issue #24629
git-svn-id: trunk@41772 -
2013-06-21 06:22:30 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
zeljko
37eaddb272 Gtk2: use better approach for RecreateWnd in TGtk2WSCustomListView, fix rendering of icon view. issue #23171
git-svn-id: trunk@39147 -
2012-10-21 09:10:09 +00:00
zeljko
99d869e0a1 Gtk2: fixed crash with TListView introduced with r39032 #be121459c7.
git-svn-id: trunk@39033 -
2012-10-10 08:22:33 +00:00
zeljko
be121459c7 Gtk2: do not render listbox item by default if we are customdrawn. issue #23093
git-svn-id: trunk@39032 -
2012-10-10 07:59:27 +00:00
zeljko
48d57049f6 Gtk2: fixed TGtk2WSCustomListView.GetDisplayRect, also fixed cell renderer which sent wrong item id to owner drawn list view.issue #23094
git-svn-id: trunk@39030 -
2012-10-10 07:07:44 +00:00
mattias
f7fbc97d3f gtk2: clean up
git-svn-id: trunk@36784 -
2012-04-15 01:45:34 +00:00
zeljko
8bdf87abed LCL: TListViewItems: implemented Exchange() and Move() to easy move or exchange items in list. Implementation done for gtk2 and qt
git-svn-id: trunk@31358 -
2011-06-24 12:04:01 +00:00
zeljko
7077bce83c Gtk2: fixed vertical centering of text inside readonly combobox. issue #15367
git-svn-id: trunk@29686 -
2011-02-27 16:15:14 +00:00
zeljko
28632554b9 LCL: TLMMouse.Keys:PtrInt becomes TLMMouse.Keys: PtrUInt to avoid range check errors.
Qt, Gtk2: added various type casts to avoid range check errors. Patches by Juha Manninen. fixes #17531

git-svn-id: trunk@27786 -
2010-10-21 10:32:41 +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
fa717236dc gtk2: virtual listview support
git-svn-id: trunk@22789 -
2009-11-26 08:12:37 +00:00
mattias
5f5e0ff648 LCL: renamed TBaseOwnerDrawState to TOwnerDrawState
git-svn-id: trunk@21657 -
2009-09-11 22:05:53 +00:00
andrew
6f3230e340 * Fixed a crash if Listcolumn or ListItem = nil
git-svn-id: trunk@17592 -
2008-11-26 00:32:52 +00:00
andrew
39f84ae546 * a better fix for bug #12695 and some cleanup
git-svn-id: trunk@17555 -
2008-11-23 23:16:36 +00:00
andrew
f05a37586c * fixed obscure bug #12695 where gtk2 listview caused a crash
git-svn-id: trunk@17554 -
2008-11-23 22:32:28 +00:00
andrew
6a71c231ad * Fixed bug #12690
* Removed unused vars

git-svn-id: trunk@17514 -
2008-11-22 14:39:14 +00:00
andrew
af616a4578 * improved the gtk2 listview to not store data twice
* gtk2 listview can now have ownerdrawn items
* gtk2 listview only keeps one copy of a pixbuf per it's imagelist instead of one per item in the listview
* fixed two memory leaks in gtk2 listview
* added method TListItem.GetCheckedInternal

git-svn-id: trunk@17502 -
2008-11-22 03:21:36 +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
09f4ca53a5 gtk2 intf: TComboBox: fixed getting item index
git-svn-id: trunk@15410 -
2008-06-13 17:17:55 +00:00
paul
1fe2f01c5e lcl: publish TListBox.OnMeasureItem (it works for windows, gtk2, qt)
gtk2: redo some parts of LCLIntfCellRenderer, implement item measure

git-svn-id: trunk@15178 -
2008-05-19 05:38:25 +00:00
paul
9925daf8cd gtk2: workaround problem with setting itemIndex in multiselected listbox
git-svn-id: trunk@13825 -
2008-01-22 04:43:39 +00:00
andrew
35e76c1971 fixed gtk2 combobox to use only one gtkrenderertext and not one for each item. It should improve loading a large list of items into a combobox
git-svn-id: trunk@12571 -
2007-10-24 00:33:52 +00:00
andrew
5ba8252275 Fixed some gtk2 memory leaks where GtkTreePath's were not freed
git-svn-id: trunk@12565 -
2007-10-23 14:47:19 +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
andrew
c88e03d97c Fixed gtk2 combobox painting
git-svn-id: trunk@11263 -
2007-06-02 01:09:17 +00:00
andrew
61d6337105 fixed painting of combobox items if they are selected in gtk2
implemented sending of closeup message for a combobox in gtk2

git-svn-id: trunk@11079 -
2007-05-04 23:49:36 +00:00
mattias
68ad9e2527 gtk2 intf: improved combobox style and items
git-svn-id: trunk@11053 -
2007-05-02 18:33:54 +00:00
mattias
62b4e66473 gtk2 intf: rewrite of the combobox code from Andrew Haines
git-svn-id: trunk@10896 -
2007-04-06 09:04:47 +00:00
mattias
882a5c5696 gtk2 intf: improved cell renderer test for drawn items from Andrew Haines
git-svn-id: trunk@10122 -
2006-10-28 15:43:23 +00:00
mattias
b8e285a693 gtk2 intf: added gdkwindows for client widgets: gtk_fixed_new
git-svn-id: trunk@10120 -
2006-10-28 15:07:08 +00:00
andrew
fc03d1600d Some 64bit changes for TWS.Create Timer
Fixed gtk2 listbox events
Partially fixed gtk2 painting issues  bug #964
Fixed bug #7067
Gtk2 Opendialogs now use GtkFileChooserDialog
Added a check for the clipboard in case it get stuck in a repeat loop
lclgtkcellrenderer now knows the itemindex to paint correctly

git-svn-id: trunk@10067 -
2006-10-15 13:27:27 +00:00
mattias
58e54288e5 gtk2 intf: fixed compilation for fpc 2.1.x
git-svn-id: trunk@10028 -
2006-10-03 20:03:41 +00:00
mattias
f488b7ca3f gtk2 intf: added custom cellrenderer for finer control of TListBox
git-svn-id: trunk@9551 -
2006-07-03 17:52:18 +00:00