Commit Graph

49 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
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
zeljko
0309af8ded Gtk2: fixed clientRect of GtkTreeView, new routine GetWidgetClientRect() in gtk2proc to simplify gtk2winapi, fixed offset for custom drawn listview.
git-svn-id: trunk@39043 -
2012-10-11 09:11:48 +00:00
mattias
3bcdf39bcb gtk2 intf: fixed gtk2GrabNotify, added comment
git-svn-id: trunk@37290 -
2012-05-15 11:41:09 +00:00
mattias
aa2de353ed gtk2: clean up
git-svn-id: trunk@37129 -
2012-05-01 17:40:40 +00:00
mattias
53e5a4ea10 gtk2 intf: clean up old mouse capture
git-svn-id: trunk@37032 -
2012-04-26 12:15:42 +00:00
mattias
36cd77c6bf gtk2 intf: when liboverlay scrollbar active use signal value-changed
git-svn-id: trunk@36896 -
2012-04-18 17:19:05 +00:00
mattias
22e37e0981 gtk2: clean up
git-svn-id: trunk@36790 -
2012-04-15 11:20:46 +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
mattias
fd84e1aef1 gtk2: clean up
git-svn-id: trunk@36749 -
2012-04-13 16:14:32 +00:00
zeljko
8b863c792d Gtk2: do not set widget name, it's completelly unnecessary and produce unexpected behaviour if some keywords are in widget name.issue #21661
git-svn-id: trunk@36608 -
2012-04-06 13:24:28 +00:00
zeljko
b20b91c23e Gtk2: resize column to fit contents when column separator is double clicked. issue #18381
git-svn-id: trunk@35577 -
2012-02-24 10:45:30 +00:00
zeljko
967f02d777 Gtk2: fixed columns resizing by mouse. issue #21354
git-svn-id: trunk@35569 -
2012-02-23 17:24:04 +00:00
zeljko
33a2b41630 Gtk2: merged gtk2dragcallback.inc,gtk2comboboxcallback.inc and gtk2pagecallback.inc into gtk2callback.inc.
git-svn-id: trunk@35457 -
2012-02-18 17:04:43 +00:00
zeljko
dc1d8744d8 Gtk2: removed unused redundant procs
git-svn-id: trunk@35433 -
2012-02-17 18:24:08 +00:00
zeljko
447396f4b7 Gtk2: rewritten TGtk2WidgetSet.EnumFontFamiliesEx to use pure pango font families.Old behaviour (raw X11 font naming) can be reached with -dGTK2OLDENUMFONTFAMILIES. part of issue #18795
git-svn-id: trunk@35400 -
2012-02-16 15:56:36 +00:00
zeljko
a7b3cc4001 Gtk2: allow change of tab font in TCustomTabControl. issue #15375
git-svn-id: trunk@35147 -
2012-02-05 10:49:47 +00:00
blikblum
4e8a2856a5 gtk2: remove Get/SetHiddenLCLObject and related code. The only place that was still being called is a dead code since at least 2003. Fixes issue #21021
git-svn-id: trunk@34592 -
2012-01-05 10:34:09 +00:00
zeljko
91eda267c1 Gtk2: cleanup
git-svn-id: trunk@34519 -
2011-12-30 17:18:18 +00:00
zeljko
ac0b4e91c6 Gtk2: cleanup, removed GetWindowManager, it already exist in Gtk2WidgetSet
git-svn-id: trunk@34063 -
2011-12-09 07:42:04 +00:00
zeljko
ca089c06f8 Gtk2: finally make TTabControl useable, also fixed crashes in pageswitch signals. issue #20822
git-svn-id: trunk@34020 -
2011-12-07 11:08:04 +00:00
juha
3c946347ae LCL: Remove styles properly in GTK2. Issue #20625, patch from cobines
git-svn-id: trunk@33592 -
2011-11-17 18:18:47 +00:00
sekelsenmat
f498b421a6 Reverts wrong changes from Gtk2
git-svn-id: trunk@33111 -
2011-10-27 15:30:43 +00:00
sekelsenmat
73f0887e09 Fixes bug #20065. Removes ssCaps, ssNum and ssScroll because they are implemented based on the key lock in win32, which is not the same as shift state, they are added only for MouseWhell events and very unreliable across platforms (cannot be correctly implemented in win32 for example). Also corrects the ShiftState for MouseWhell messages in Windows. Removes State from the mousewhell internal message, now Button is used, which is more consistent with Win32.
git-svn-id: trunk@33092 -
2011-10-26 15:08:10 +00:00
zeljko
da3f158361 Gtk2: introduced GetWindowManager:String function for later tuning of differences between metacity and other wm's under X11.
git-svn-id: trunk@31596 -
2011-07-07 19:39:28 +00:00
juha
ab611393ae LCL: fire correct ScrollCodes in TScrollbar.OnScroll event. Patch from August Klein, issue #14728
git-svn-id: trunk@31447 -
2011-06-29 00:16:05 +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
mattias
b68fd5c06b gtk2 intf: added flag Gtk2CallMouseDownBeforeContext to call mousedown before lm_context
git-svn-id: trunk@30939 -
2011-05-27 20:20:17 +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
juha
4e95f6a390 LCL: Show menu shortcuts also when they are sequencial keys combinations (like Ctrl+Q, B)
git-svn-id: trunk@29853 -
2011-03-15 14:05:55 +00:00
juha
0928ead547 LCL: Changed function ColorToRGB's return value to TColorRef. Many related changes around the code.
git-svn-id: trunk@29734 -
2011-03-06 12:45:59 +00:00
zeljko
de531a2af0 Gtk2: fixed crash when WinKey + Some key pressed and range check is on. issue #18743
git-svn-id: trunk@29548 -
2011-02-14 16:32:35 +00:00
zeljko
b8d5b4793d Gtk2: introduced TGtkDeviceContext.ClipRect, now gtk_paint_xxx() respects clipping rectangle. issue #14660
git-svn-id: trunk@29537 -
2011-02-13 20:26:48 +00:00
zeljko
1611f70770 Gtk2: fixed assert with TCustomListView and lisFocused on gtk2 >= 2.20, Gtk2TranslateScrollStyle moved to gtk2proc to be reused by all
scrolling controls.

git-svn-id: trunk@29508 -
2011-02-13 11:30:14 +00:00
mattias
8f79d4c1be gtk2 intf: clean up
git-svn-id: trunk@29462 -
2011-02-11 09:33:34 +00:00
mattias
a63a10dee6 gtk2 intf: clean up
git-svn-id: trunk@29429 -
2011-02-09 14:46:06 +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
d5c63f7aad gtk2: move focus-in after handler to focus-in handler. This cause interface to handle focus switches inside the focus events properly (fixes bug #17801)
git-svn-id: trunk@28104 -
2010-11-06 04:18:42 +00:00
zeljko
dffaa39719 Gtk2: ifdefed gtk2proc CaptureMouseForWidget with GTK2_USE_OLD_CAPTURE define.
git-svn-id: trunk@27641 -
2010-10-10 18:02:43 +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
paul
a3dac0b6df lcl: redo context menu message handling:
- when called by keyboard pass -1, -1 coords
  - remove child->parent loop from LCL to widgetsets (win32 and wince do this automatically, qt do it too if mouse propagation is on)
  - don't show parent context menu if child has own standard menu (like TEdit)
qt: redo mouse handling, turn on mouse propagation and mouse tracking for most of widgets, stop propagation in event filters
gtk2: implement context menu loop
widgetsets: remove LM_PRESSED, LM_RELEASED messages (LCL does not use them and they are not needed for any compatbility reasons)

git-svn-id: trunk@26637 -
2010-07-14 08:47:02 +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
98f9a52bdf gtk2: fix copyright header
git-svn-id: trunk@23152 -
2009-12-17 04:05:26 +00:00
mattias
6cc37ddac3 gtk2 intf: added style-after event - no implementation yet
git-svn-id: trunk@23085 -
2009-12-11 19:58:30 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
sekelsenmat
30b56850c0 Separates gtk2spin
git-svn-id: trunk@14872 -
2008-04-17 19:24:04 +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
f098565cff Starts separating gtkproc for gtk2 in gtk2proc.
git-svn-id: trunk@14854 -
2008-04-17 01:55:53 +00:00