Commit Graph

80 Commits

Author SHA1 Message Date
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
45c5cd91e9 Gtk2: fixed visibility of THintWindow when switching desktops.issue #24363
git-svn-id: trunk@41001 -
2013-05-02 15:09:58 +00:00
zeljko
516dfebcfc Gtk2: fixed THintWindow visibility when minimizing application.part of #24363
git-svn-id: trunk@41000 -
2013-05-02 12:09:30 +00:00
mattias
f46f4ab4f4 LCL: gtk2: check if gtk_window
git-svn-id: trunk@40262 -
2013-02-11 17:04:10 +00:00
mattias
a8fa92ac7f lcl: gtk2: fixed showing form modal, close, showing non modal, bug #23876
git-svn-id: trunk@40261 -
2013-02-11 16:54:50 +00:00
blikblum
d26811409a gtk2: replace the deprecated gtk_object_get/set_data by g_object_get/set_data
git-svn-id: trunk@37751 -
2012-06-23 18:25:44 +00:00
mattias
9ea3b4e0fe gtk2 intf: test for gtk_window_set_icon_from_file
git-svn-id: trunk@37706 -
2012-06-20 15:33:56 +00:00
mattias
ece462c2a0 gtk2: increased big icon size SM_CXICON,SM_CYICON to 128
git-svn-id: trunk@37691 -
2012-06-19 12:07:54 +00:00
mattias
f7fbc97d3f gtk2: clean up
git-svn-id: trunk@36784 -
2012-04-15 01:45:34 +00:00
zeljko
cf9baeddd4 Gtk2: cleanup
git-svn-id: trunk@36249 -
2012-03-23 08:55:19 +00:00
zeljko
abdba4431a Qt,Gtk2,Carbon: do not try to show form as non-modal over modal if lcl parent is assigned.
git-svn-id: trunk@36177 -
2012-03-20 12:45:30 +00:00
zeljko
c66c521fbe Gtk2: fixed bug where wsFullScreen windowState does not work on form showing.
git-svn-id: trunk@36104 -
2012-03-17 08:57:28 +00:00
zeljko
1f615514a7 Gtk2: check if we are designed form when showing nonmodal over modal.
Qt: do not apply nonmodal over modal rules for darwin - it simply does not work.

git-svn-id: trunk@35920 -
2012-03-13 10:22:12 +00:00
zeljko
7f09bdfb96 Gtk2, Qt: allow show nonmodal form over modal form. issue #21459
git-svn-id: trunk@35919 -
2012-03-13 09:33:04 +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
948afeefd5 Gtk2: fixed regression with THintWindow introduced in r34676 #93ebe05b41. issue #21194
git-svn-id: trunk@35277 -
2012-02-09 19:28:08 +00:00
zeljko
0bba1c10de Gtk2: do not allow form resizing if border style bsDialog or bsSingle.issue #20741
git-svn-id: trunk@34680 -
2012-01-09 14:10:42 +00:00
zeljko
93ebe05b41 Gtk2: fixed showing and handling of popup forms over modal forms.issues #20074 and #20369
git-svn-id: trunk@34676 -
2012-01-09 11:41:32 +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
zeljko
01385540aa Gtk2: add GDK_WINDOW_TYPE_HINT_DIALOG to modal windows, so gtk is happy on all window managers
git-svn-id: trunk@33960 -
2011-12-04 17:25:01 +00:00
juha
620534553b LCL: Fix scrolling TFrame inside a TScrollBox with mouse wheel, in TGtk2WSScrollingWinControl.CreateHandle. Issue #20540
git-svn-id: trunk@33057 -
2011-10-23 20:02:42 +00:00
juha
42967bec9c LCL: formatting TGtk2WSScrollingWinControl.CreateHandle
git-svn-id: trunk@33056 -
2011-10-23 20:02:30 +00:00
zeljko
d7a4f586a0 Gtk2: TScrollingWinControl: fixed scrolling when pressed scrollbar arrows.Patch by August Klein. issue #19676
git-svn-id: trunk@31566 -
2011-07-05 06:30:23 +00:00
paul
cb7061fa17 gtk2: when FillRect is called with a hatched/bitmap brush first fill the rect with a BkColor if BkMode = OPAQUE
git-svn-id: trunk@31472 -
2011-06-30 10:09:56 +00:00
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