Commit Graph

62 Commits

Author SHA1 Message Date
zeljko
96ead3b94a Gtk2: fixed long standing bug with clBtnText color, removed GetDefaultColor() for TToolBar and TCustomPanel, since it's color is ok now.
git-svn-id: trunk@29491 -
2011-02-12 19:53:25 +00:00
zeljko
bfe9ce2155 Gtk2: fixed problem with clDefault over ToolBar. issues #18520,#18482
git-svn-id: trunk@29467 -
2011-02-11 16:45:11 +00:00
zeljko
da7a65635c Gtk2: Allow font change for TListView. Fixed issue #16964
git-svn-id: trunk@28444 -
2010-11-24 08:13:15 +00:00
zeljko
4d4bcc1584 Gtk2: implemented TTrackBar.Reversed property.
git-svn-id: trunk@28314 -
2010-11-18 10:02:59 +00:00
mattias
12b4bd48c0 gtk2: clean up
git-svn-id: trunk@27877 -
2010-10-26 09:27:49 +00:00
zeljko
e00ff67049 Gtk2: fixed vertical TTrackBar behaviour, start value should be at bottom not at top. fixes #17703
git-svn-id: trunk@27846 -
2010-10-25 06:24:50 +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
c3564e26d8 lcl: TTrackBar.OnChange should be called after Position change in code, add Changed method for VCL compatibility, fix qt, gtk2 to skip message sending in case of position change through code to prevent double calling of the message (issue #0014545)
git-svn-id: trunk@25161 -
2010-05-04 04:29:27 +00:00
paul
24d98ffbae gtk2: cleanup
git-svn-id: trunk@24689 -
2010-04-18 08:21:10 +00:00
paul
e05a368a82 gtk2: implement vsIcon, vsSmallIcon ListView styles
git-svn-id: trunk@24688 -
2010-04-18 07:43:29 +00:00
zeljko
3bd8a20b34 Gtk2: AlignToGtkAlign() moved from gtk2wscomctrls to gtkproc for reusing.Status bar labels alignment rework - fixed #14790.
git-svn-id: trunk@23963 -
2010-03-12 10:25:01 +00:00
zeljko
7962b7d3ab Gtk2: implemented TGtk2WSCustomListView.ItemDisplayRect(). fixes #13933.
git-svn-id: trunk@23923 -
2010-03-10 16:38:23 +00:00
paul
6d7f51a1b3 lcl: fix progress bar division by zero error by Aleksey Lagunov
git-svn-id: trunk@23493 -
2010-01-20 01:27:10 +00:00
andrew
e49b42439b * gtk2 Listview now uses custom GtktreeModel that gets it's data directly from TListItems. Old behavior can be restored by compiling lcl with -dUseOrigTreeModel
git-svn-id: trunk@22945 -
2009-12-03 16:15:31 +00:00
paul
fa717236dc gtk2: virtual listview support
git-svn-id: trunk@22789 -
2009-11-26 08:12:37 +00:00
vincents
b7949e3454 gtk2 widgetset: fixed typo in comment
git-svn-id: trunk@22071 -
2009-10-08 07:33:24 +00:00
paul
00b1b0bbb3 gtk2: implement color changing for TListView and TListBox (issue #0013914)
git-svn-id: trunk@20454 -
2009-06-05 17:19:11 +00:00
paul
a8544fc87d lcl: add TProgressBar.Style property, implement Marquee style for win32, qt, gtk2 (issue #0013807)
git-svn-id: trunk@20161 -
2009-05-24 09:49:13 +00:00
paul
f249315a45 gtk2: place statusbar widget into GtkEventBox to handle events
git-svn-id: trunk@19845 -
2009-05-08 02:08:27 +00:00
paul
f02c53c71c merge lcl-smartlink branch:
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line

lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line

changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line

fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line

Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line

Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line

merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line

cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line

finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line

register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line

remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line

Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line

Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line

Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line

Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy 
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line

moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line

corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line

removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line

qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line

Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line

wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------

git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
paul
c363b5fff8 gtk2: fix item exchange (bug #0013081)
git-svn-id: trunk@18809 -
2009-02-23 13:48:46 +00:00
paul
8bbf2ec14f gtk2: apply TListView.BorderStyle on widget creation (fixes part of bug #0013182)
git-svn-id: trunk@18753 -
2009-02-19 02:24:38 +00:00
paul
1394f53c75 gtk, gtk2: fix visibility warnings and some other
git-svn-id: trunk@17620 -
2008-11-28 04:08:16 +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
paul
f681ff6b6f gtk2: disable trackbar if Max >= Min
git-svn-id: trunk@17107 -
2008-10-23 07:41:52 +00:00
paul
57f365b076 gtk2: workaround Min >= Max for TTrackBar
git-svn-id: trunk@17104 -
2008-10-23 01:19:11 +00:00
paul
f9249c9272 gtk2: use gtk_widget_set_size_request instead of gtk_widget_set_usize since last is deprecated in gtk2
git-svn-id: trunk@16783 -
2008-09-29 05:39:50 +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
976269a47b gtk2 intf: use Set8087CW in AppInit to avoid crash on ubuntu human theme
git-svn-id: trunk@15753 -
2008-07-11 17:19:30 +00:00
paul
73386bbf60 gtk2: don't set gtk2 trackbar page_size to 1 - it will be subtracted from our max value => max will be never reached (at least at windows it is so)
git-svn-id: trunk@15625 -
2008-06-30 12:17:09 +00:00
paul
4ae3fa27db gtk2:
- set trackbar digits to 0 (as all other widgetsets works)
- simplify some code

git-svn-id: trunk@15621 -
2008-06-30 08:26:27 +00:00
paul
6fd5dc9d3d gtk2: simplify gtk2 progress bar code, don't set position on widget creation (#0011382)
git-svn-id: trunk@15285 -
2008-06-02 02:55:16 +00:00
sekelsenmat
81cf5368ef Fully separates gtk2wsctrls from gtkwscomctrls
git-svn-id: trunk@14867 -
2008-04-17 13:42:04 +00:00
sekelsenmat
3b3a8da73c Separates gtk1 and gtk2 TTrackBar
git-svn-id: trunk@14865 -
2008-04-17 12:59:09 +00:00
sekelsenmat
80966d6f64 Fixes the Gtk 2 progress bar.
git-svn-id: trunk@14806 -
2008-04-12 01:35:00 +00:00
paul
845a1c761d statusbar: implement SizeGrip for gtk2
git-svn-id: trunk@14593 -
2008-03-20 07:47:20 +00:00
andrew
0b8a7b047f Implemented Gtk2 ProgressBar. Mostly a copy of the gtk1 version with some small differences. IFDEFed gtk1 only code to not compile when gtk2 is used.
git-svn-id: trunk@14560 -
2008-03-17 21:45:23 +00:00
paul
f5f14337fe gtk2: fix 2 ListView mem leaks
git-svn-id: trunk@12762 -
2007-11-07 01:43:16 +00:00
paul
2bc5188cb4 TListView:
- lcl: better handling of TListItem.Checked
- gtk1/2 implemented TListView.Checkboxes and TListItem.Checked

git-svn-id: trunk@12755 -
2007-11-06 09:20:04 +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
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
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
andrew
b8727ab740 Implemented TGtk2WSCustomTrackBar.GetPosition to be complete.
git-svn-id: trunk@10913 -
2007-04-07 16:33:44 +00:00
andrew
08ed2665f1 Fixed bug #8641 - caused an exception in the ide when setting a
TTrackBar.Position

git-svn-id: trunk@10912 -
2007-04-07 16:24:21 +00:00
marc
466edbbd14 * Fixed bug #1854
git-svn-id: trunk@10481 -
2007-01-20 02:19:19 +00:00
marc
6c79de53ed * Keyhandling rework. Virtual keycodes are looked up by the keycode of the key pressed.
+ Added dynamic modifier mask lookup. 

git-svn-id: trunk@10422 -
2007-01-11 01:09:11 +00:00
mattias
080df83b4c gtk2 intf: TToolBar is now a simnple hbox instead of a gtk_toolbar
git-svn-id: trunk@9476 -
2006-06-22 10:35:34 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
2e08e62328 added ldocktree.pas
git-svn-id: trunk@7311 -
2005-07-01 18:20:41 +00:00