Commit Graph

155 Commits

Author SHA1 Message Date
juha
7548ba8e96 LCL: Support for TImage.AntialiasingMode (stretching). Implement Win32 and GTK2. Issue #22205, patch from Chronos
git-svn-id: trunk@39894 -
2013-01-19 17:42:38 +00:00
zeljko
8e1595bae1 Gtk2: removed (by ifdef) usage of dummy notebook page for gtk2.Old gtk1 fashioned dummy page can be used with define GTK2USEDUMMYNOTEBOOKPAGE.
git-svn-id: trunk@39882 -
2013-01-18 20:46:46 +00:00
paul
977f05a8ef gtk2: rework SetWindowOrgEx() and related code
git-svn-id: trunk@38742 -
2012-09-19 01:48:48 +00:00
mattias
2a2ff5bd9d gtk2 intf: cleaned up releasecapture
git-svn-id: trunk@37033 -
2012-04-26 12:48:50 +00:00
mattias
1d8586a848 gtk2: clean up
git-svn-id: trunk@36791 -
2012-04-15 11:46:16 +00:00
mattias
22e37e0981 gtk2: clean up
git-svn-id: trunk@36790 -
2012-04-15 11:20:46 +00:00
mattias
eec588e537 gtk2: removed OldCreateStatusBarPanel
git-svn-id: trunk@36789 -
2012-04-15 11:08:57 +00:00
mattias
2fd5ebfb38 gtk2: clean up
git-svn-id: trunk@36787 -
2012-04-15 10:59:36 +00:00
mattias
a93abd6d81 gtk2: clean up
git-svn-id: trunk@36783 -
2012-04-15 00:56:30 +00:00
juha
109adf051f LCL: add TGtk2WidgetSet.SetDesigning to prevent Abstract method call in IDE. Issue #21773
git-svn-id: trunk@36779 -
2012-04-14 20:33:16 +00:00
mattias
d82c35b476 gtk2: less hints
git-svn-id: trunk@36771 -
2012-04-14 11:27:22 +00:00
mattias
5b350609ab gtk2: less hints
git-svn-id: trunk@36761 -
2012-04-14 10:27:10 +00:00
mattias
07257ec5cd gtk2: less hints
git-svn-id: trunk@36760 -
2012-04-14 10:05:39 +00:00
zeljko
861c143774 Gtk2: revert TGtk2WidgetSet.FinishCreateHandle() since it's used by opengl implementation. issue #21569
git-svn-id: trunk@36347 -
2012-03-26 17:48:39 +00:00
zeljko
7723f075ae Gtk2: removed unused TGtk2WidgetSet.FinishCreateHandle() and some cleanups
git-svn-id: trunk@36251 -
2012-03-23 09:12:08 +00:00
zeljko
e95c6fcbb0 Gtk2: removed redundant and unused RecreateWnd() from gtk2widgetset, also removed unused GetDoubleBufferedDC()
git-svn-id: trunk@36250 -
2012-03-23 09:07:15 +00:00
zeljko
c5696c73fd Gtk2: removed unused stuff
git-svn-id: trunk@36073 -
2012-03-16 08:42:10 +00:00
zeljko
2203de7ea1 Gtk2: compositeManagerRunning moved from Gtk2WSForms into Gtk2Int.
git-svn-id: trunk@35625 -
2012-02-29 19:07:33 +00:00
zeljko
8cb9d35d98 Gtk2: make it compileable with -dUSE_GTK_MAIN_OLD_ITERATION
git-svn-id: trunk@35565 -
2012-02-23 14:39:49 +00:00
zeljko
e82b157cfd Gtk2: added ifdef around duplicated routines in gtk2extras for fpc >= 2.6.0 (routines exist in fpc's gtk2 package).
git-svn-id: trunk@35491 -
2012-02-19 17:35:46 +00:00
zeljko
045a3558a4 Gtk2: implemented SM_CYCAPTION system metrics.
git-svn-id: trunk@35300 -
2012-02-11 11:56:20 +00:00
zeljko
ba86e46415 Gtk2: fixed running gtk2 forms from library.
git-svn-id: trunk@34639 -
2012-01-07 17:12:12 +00:00
blikblum
bcdef55e90 gtk2: use FreeAndNil where appropriate in Gtk2Int (missing part)
git-svn-id: trunk@34394 -
2011-12-24 20:42:00 +00:00
zeljko
2ce9d7f56a Gtk2: introduced GetWindowManager functino to fix various wm's behaviour under X11.Fixes modal windows problems under kwin with gtk2lcl.issues #18323 and #18823
git-svn-id: trunk@34003 -
2011-12-06 17:11:56 +00:00
mattias
9bb061ab29 gtk2 intf: clean up
git-svn-id: trunk@33461 -
2011-11-10 17:47:02 +00:00
zeljko
b2cfc29c58 Qt, Gtk2: fixes checkbox state when doing Items.Move() from checklstbox.part of issue #20589
git-svn-id: trunk@33171 -
2011-10-30 12:11:43 +00:00
sekelsenmat
1acfc93cd4 Fixes crashes related to GetForegroundWindow by rewrapping the X11 window into a GdkWindow
git-svn-id: trunk@32725 -
2011-10-07 07:11:49 +00:00
juha
4b57ac797b IDE & LCL: Move focus to editor after hitting breakpoint. Patch from August Klein, issue #15967
git-svn-id: trunk@31087 -
2011-06-05 06:22:54 +00:00
blikblum
61ba5061f5 gtk2: remove virtual keywords remnant from Gtk/Gtk21 interface split
git-svn-id: trunk@30249 -
2011-04-09 15:13:07 +00:00
paul
f0bce37226 interfaces: remove AssignSelf method
git-svn-id: trunk@29827 -
2011-03-14 02:17:55 +00:00
zeljko
a5cebb65d2 Gtk2: renamed Gtk1Create & Gtk1Destroy to Gtk2 counterparts.
git-svn-id: trunk@29536 -
2011-02-13 19:16:43 +00:00
paul
c2aca4cd85 lcl: replace TWidgetSet.AppHandle function with a readwrite property
git-svn-id: trunk@29278 -
2011-02-01 04:10:57 +00:00
martin
18f7996a1b GTK2: Adjust the modifier keys (alt, ctrl, ...) state, after app was deactivated. Issue #18033, #16165, #14102
git-svn-id: trunk@28788 -
2010-12-20 10:45:16 +00:00
zeljko
1364a5441f Gtk2: avoid presence of horizontal scrollbar when TListBox is cleared by using gtk_tree_view_columns_autosize().Fixes issue #17837
git-svn-id: trunk@28097 -
2010-11-05 15:37:14 +00:00
zeljko
65e922cbef Gtk2: gtk2lcl now uses gtk_main_context_* instead of deprecated gtk_main_*. In case someone want to use old gtk_main_* iterations there's USE_GTK_MAIN_OLD_ITERATION define.
git-svn-id: trunk@27896 -
2010-10-27 07:31:11 +00:00
zeljko
1c4a0cc726 Gtk2: changed the way how main event loop iterates BUT ONLY VIA -dUSE_GTK_MAIN_CONTEXT_ITERATION until it's stable enough.
Now PostMessage() work correct when messages arrives from other threads. fixes #17548 and probably more issues with gtk2 threads usage.

git-svn-id: trunk@27829 -
2010-10-24 11:57:49 +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
zeljko
891890b3ab Gtk2: implemented AppRemoveStayOnTop, AppRestoreStayOnTop also normalize stayOnTop in appactivate & appdeactivate.
git-svn-id: trunk@25540 -
2010-05-20 11:42:56 +00:00
zeljko
7bb68e7dfa Gtk,Gtk2: reworked app activate / app deactivate, now it works fine, added AppBringToFront. fixes #15859
LCL: removed workaround in TApplication.Deactivate which was there only because of gtk & gtk2.

git-svn-id: trunk@25478 -
2010-05-17 10:59:41 +00:00
zeljko
2773d06487 Qt,Gtk2: added minimize/restore ability to get consistent behaviour on all platforms. Patch by Flavio Etrusco modified by me for qt. fixes #13919
git-svn-id: trunk@25407 -
2010-05-14 19:12:02 +00:00
marc
eacdf95a0f * gtk2: remove unnecesary begin/endupdate & other cleanup
git-svn-id: trunk@23348 -
2010-01-02 18:59:39 +00:00
marc
56ade4e781 * GTK2: Return correct inserion index into gtkliststore when an object is added to a sorted TSrings. Fixes #11942. Based on patch by A. Schneider
git-svn-id: trunk@23347 -
2010-01-02 18:37:36 +00:00
marc
b7391553c7 * Code Reformatted, was part of fix for 11942, but comitted separately
git-svn-id: trunk@23346 -
2010-01-02 18:09:34 +00:00
paul
47879f9a9e gtk2: speedup combobox items insertion
git-svn-id: trunk@22664 -
2009-11-18 03:00:58 +00:00
paul
93bdc30f72 gtk2: handle 'show-help' widget signal for WhatsThis (shift+F1) help type (currently only Application.OnHelp event is executed)
git-svn-id: trunk@20832 -
2009-07-11 10:30:58 +00:00
paul
8ed7281c00 gtk: use more generic code to set menuitem shortcuts and caption, redo SetLabelCaption for gtk2
git-svn-id: trunk@20027 -
2009-05-18 13:04:06 +00:00
paul
c92f6641d1 lcl: replace TWidgetSet.LoadStockPixmap by ThemeServices.GetStockImage
git-svn-id: trunk@19769 -
2009-05-02 15:36:56 +00:00
paul
e496bf630e gtk2: cleanup
git-svn-id: trunk@19395 -
2009-04-13 03:23:45 +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
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