juha
550b1d3a3a
LCL, GTK2: Update ScrollBox.VertScrollBar.Position when scrolling with mouse wheel. Patch from August Klein, issue #19428
...
git-svn-id: trunk@30967 -
2011-05-29 23:08:52 +00:00
zeljko
6b1b1b22d1
Gtk2: respect TCustomForm.ShowInTaskbar in case of modal form.Only when value is stAlways modal form will be visible in taskbar.Moved GtkWindowShowModal() to gtk2proc.
...
git-svn-id: trunk@30236 -
2011-04-07 13:07:57 +00:00
paul
0373c8de84
lcl: make ScrollBy more delphi compatible:
...
- invert direction of scroll
- add TWinControl.ScrollBy to scroll inner controls
- scroll controls in TScrollingWinControl (fixes issue #0016721 )
git-svn-id: trunk@29944 -
2011-03-21 02:41:43 +00:00
mattias
b3a8dd03b1
fixed typos: childs
...
git-svn-id: trunk@29440 -
2011-02-10 09:37:16 +00:00
zeljko
9815e521d3
Gtk2: reset LastWFPResult used by WindowFromPoint() in case when shown/hidden,enabled/disabled,moved,resized widget overlaps current cache.Fixes issue #17389
...
git-svn-id: trunk@28288 -
2010-11-17 08:59:09 +00:00
paul
b385553fb5
qt, gtk, carbon: send LM_MOUSEENTER(LEAVE) instead of CM_MOUSEENTER(LEAVE). CM_ messages must be sent by LCL, not a widgetset
...
git-svn-id: trunk@27934 -
2010-10-29 04:50:26 +00:00
zeljko
22c960e012
Gtk2: fixed configure event when moving form under compiz. fixes #17625
...
git-svn-id: trunk@27705 -
2010-10-14 07:22:55 +00:00
zeljko
9da784edf0
Gtk2: removed unused units.
...
git-svn-id: trunk@27642 -
2010-10-10 18:11:22 +00:00
zeljko
eab39ab766
Gtk2: Gtk2WSForms.ShowModal() code moved to Gtk2WSForms.ShowHide(), since gtk_window_present() will call show on widget if it isn't already visible.
...
git-svn-id: trunk@27640 -
2010-10-10 17:54:25 +00:00
zeljko
afb190401d
Gtk2: fixed setCapture(), now it uses new way of capturing, old can be used with -dGTK2_USE_OLD_CAPTURE.
...
fixed unwanted focus grab of THintWindow.
fixed bug when scrollbar button double clicked, we need 2 clicks to focus our client area. Fixed bugs #13878 #17596 .
git-svn-id: trunk@27638 -
2010-10-10 15:26:45 +00:00
zeljko
d9e439282b
Gtk2: fixed alien configure events from composition manager (usually compiz). fixed #17523
...
git-svn-id: trunk@27625 -
2010-10-08 18:47:02 +00:00
zeljko
94827d66c8
Gtk2: fixed form focus. fixes #17533 , #17544
...
git-svn-id: trunk@27596 -
2010-10-07 06:31:58 +00:00
zeljko
76d62da455
Gtk2: use GDK_CONFIGURE event on TCustomForms to avoid multiple triggering of OnResize() event. fixes #17015
...
git-svn-id: trunk@27414 -
2010-09-19 18:32:24 +00:00
zeljko
1a283e877f
Gtk2: fixed asserts from gtk2 lib when using gtk_window_set_keep_above() but our form is reparented to some other control (eg. TPanel).
...
git-svn-id: trunk@27288 -
2010-09-10 09:50:05 +00:00
zeljko
67fa623ccb
Gtk2: check if form is designing when using gtk_window_set_keep_above()
...
git-svn-id: trunk@26765 -
2010-07-21 20:11:48 +00:00
zeljko
960c3f895a
Gtk2: use gtk_window_set_keep_above() just before show/hide. fixes #16595
...
git-svn-id: trunk@26764 -
2010-07-21 20:02:23 +00:00
zeljko
354b05f27c
Gtk2: reimplemented Gtk2WSScrolledWindow.ScrollBy(), also GtkWSCustomForm.ScrollBy() using patch from Mazen Niefer as better approach so gtk 2.8 is supported also.
...
git-svn-id: trunk@26258 -
2010-06-22 17:40:37 +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
mattias
f60167a4e3
gtk intf: clean up
...
git-svn-id: trunk@25798 -
2010-05-31 08:02:58 +00:00
dmitry
54910c2c04
gtk2: change FormStyle on run-time
...
git-svn-id: trunk@25732 -
2010-05-28 17:46:31 +00:00
zeljko
3dfe0e61f3
Gtk2: use SetResizeRequest() instead FormSavedPos (removed my latest patch for for positioning after hide).fixes #16507
...
git-svn-id: trunk@25549 -
2010-05-20 17:59:22 +00:00
zeljko
d7de33e1aa
Gtk2: fixed restoring form position after form is hidden, and then shown.
...
Fixes #15069,#15417,#16507
git-svn-id: trunk@25519 -
2010-05-19 17:33:54 +00:00
zeljko
a5e15bfc90
Gtk2: fixed infinite loops with windowstate change events.WindowState callback is handled by GDK_WINDOW_STATE event instead of signal.
...
Added new member (TGdkEventWindowState) into TWidgetInfo to track real changes of window state. fixes #16505 .
Prevented recursion by AppMinimize by checking current window state in TWidgetInfo.FormWindowState.
git-svn-id: trunk@25509 -
2010-05-19 09:00:39 +00:00
zeljko
ba561e84f3
Gtk2: fixed LM_MOUSEENTER & LM_MOUSELEAVE for forms. fixes #14574
...
git-svn-id: trunk@25483 -
2010-05-17 17:42:32 +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
mattias
0f03af74d5
gtk2 intf: change BorderStyle for nested forms: do not recreatewnd
...
git-svn-id: trunk@25373 -
2010-05-13 16:36:17 +00:00
zeljko
c4a4395865
Gtk2: implemented TGtk2WSCustomForm.SetFormBorderStyle so it does not recreate handle for nothing also fixes #16407
...
git-svn-id: trunk@25369 -
2010-05-13 15:07:11 +00:00
mattias
708e6de6d9
LCL: implemented Application.TaskBarBehavior, bug #13537
...
git-svn-id: trunk@24682 -
2010-04-17 19:28:43 +00:00
zeljko
ecf56f9f71
Gtk2: implemented Gtk2WSScrollingWinControl.ScrollBy(), gtk >= 2.8 uses "changed-value" instead "value-changed" on all TScrollingWinControls (GtkRange instead GtkAdjustment callbacks) from now on.NOTE: with gtk >= 2.18 users must set environment variable GDK_NATIVE_WINDOWS=1 otherwise GdkWindow paintings will be funny (when scrolling GtkScrolledWindow). fixes #7321 , #10390 .
...
git-svn-id: trunk@24217 -
2010-03-26 11:35:06 +00:00
mattias
c4527d2bc9
translations: german: updates from Joerg Braun
...
git-svn-id: trunk@24101 -
2010-03-19 18:25:41 +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
zeljko
3b8ff2f3ba
Gtk2: do not ignore fsStayOnTop for borderless forms. fixes #15953
...
git-svn-id: trunk@23965 -
2010-03-12 14:56:33 +00:00
mattias
37a024507a
gtk2 intf: implemented fsStayOnTop for other BorderStyles than bsNone, bug #8988
...
git-svn-id: trunk@23946 -
2010-03-11 16:10:01 +00:00
paul
6265a0532d
gtk: implement TCustomForm.PopupParent
...
git-svn-id: trunk@23739 -
2010-02-19 07:22:18 +00:00
paul
b24bd8f15d
gtk2: implement TWsCustomForm.SetAlphaBlend
...
git-svn-id: trunk@23568 -
2010-01-27 08:34:20 +00:00
paul
393c3eea5f
gtk: formatting
...
git-svn-id: trunk@20425 -
2009-06-05 08:40:43 +00:00
paul
72c3e1a908
gtk2: don't use GtkFrame for TScrollingWinControl since GtkScrolledWindow can draw shadow itself (fixes also #0013892 )
...
git-svn-id: trunk@20365 -
2009-06-03 01:45:21 +00:00
marc
216a9ab9a2
* Fixed bitmap and icon transparency (ussue #13883 )
...
git-svn-id: trunk@20334 -
2009-06-01 17:58:36 +00:00
paul
66a22b1146
gtk: fix some constants which makes bsDialog forms sizable
...
git-svn-id: trunk@19582 -
2009-04-23 05:09:24 +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
1394f53c75
gtk, gtk2: fix visibility warnings and some other
...
git-svn-id: trunk@17620 -
2008-11-28 04:08:16 +00:00
paul
94618453db
gtk2: fix incorrect use of g_list_append
...
git-svn-id: trunk@17017 -
2008-10-16 06:31:02 +00:00
paul
aef5894c52
gtk2: dont add zero pixbufs to icon list
...
git-svn-id: trunk@17016 -
2008-10-16 06:06:42 +00:00
paul
06924525ea
lcl, widgetsets: reimplement form, application icon setting to allow set 2 icons: small and big ( #0012401 )
...
git-svn-id: trunk@17015 -
2008-10-16 03:23:40 +00:00
mattias
2996a3c332
rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
...
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +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
f40ea524b5
win32, gtk1, gtk2: update/add TWSCustomForm.SetIcon implementation
...
git-svn-id: trunk@15500 -
2008-06-21 13:00:44 +00:00
mattias
a008d75250
gtk2 intf: moved doublebuffering from synedit to gtk2 as this is faster since gtk2.12
...
git-svn-id: trunk@15362 -
2008-06-08 13:17:51 +00:00
sekelsenmat
e8e001fd1d
Finishes separating TGtk2WSCustomMemo from the gtk1 counterpart.
...
git-svn-id: trunk@14863 -
2008-04-17 10:11:42 +00:00
sekelsenmat
58d9858249
Fixes form events in gtk2 and further separates the widgetsets.
...
git-svn-id: trunk@14862 -
2008-04-17 09:50:17 +00:00