Commit Graph

707 Commits

Author SHA1 Message Date
paul
880401dbb8 lcl: remove ver2_2_x defines
git-svn-id: trunk@36368 -
2012-03-27 07:16:11 +00:00
paul
bbb4a0f776 lcl: add Target: TControl argument to NotifyApplicationUserInput(), pass this target to event handlers instead of TApplication
git-svn-id: trunk@35500 -
2012-02-20 06:20:01 +00:00
juha
6bdfef31e7 GTK and GTK2: Replace const string arrays with RTTI value and WriteStr()
git-svn-id: trunk@34758 -
2012-01-15 23:51:06 +00:00
sekelsenmat
b347aa14e5 Reverts wrong changes from gtk1
git-svn-id: trunk@33112 -
2011-10-27 15:35:23 +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
sekelsenmat
73542b658a Renames TCustomNotebook to TCustomTabControl, a major breakthrough into fixing the tab-controls
git-svn-id: trunk@31767 -
2011-07-20 14:39:50 +00:00
juha
f8585cd5ce LCL: Clean comments after changing the shortcut function signatures.
git-svn-id: trunk@29885 -
2011-03-17 11:54:31 +00:00
juha
f38190794b Formatting: joined lines where only ');' was split to its own line, in procedure defs.
git-svn-id: trunk@29871 -
2011-03-16 16:52:28 +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
01db3bb47c LCL (mostly), Replace Assert(False... with //DebugLn(... Now Assert can be used for its original purpose again.
git-svn-id: trunk@29820 -
2011-03-13 18:21:51 +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
bcb3d7d1a7 Gtk: fixed clBtnText wrong color.
git-svn-id: trunk@29492 -
2011-02-12 20:03:33 +00:00
mattias
b3a8dd03b1 fixed typos: childs
git-svn-id: trunk@29440 -
2011-02-10 09:37:16 +00:00
zeljko
11a302cae4 Gtk2: implemented psOwnerDraw for gtk2 statusbar. fixes #16614
git-svn-id: trunk@25838 -
2010-06-02 09:46:51 +00:00
mattias
28419cb0f7 gtk1 intf: fixed compilation
git-svn-id: trunk@25272 -
2010-05-09 10:31:59 +00:00
zeljko
0e28bf6f69 Gtk2: fixed small typo
git-svn-id: trunk@25226 -
2010-05-06 15:27:25 +00:00
mattias
cf55952b42 removed OldAutoSize
git-svn-id: trunk@25190 -
2010-05-04 19:16:18 +00:00
mattias
1370bedf98 gtk2 intf: Add Bidi to Menus, bug #16387
git-svn-id: trunk@25174 -
2010-05-04 09:58:30 +00:00
mattias
1799c5a206 gtk intf: reduced debugging
git-svn-id: trunk@24982 -
2010-04-26 20:35:08 +00:00
mattias
af904f7c5a LCL: TCustomForm.WMWindowPosChanged, gtk intf: do not send WMWindowPosChanged because of strange side effects
git-svn-id: trunk@24979 -
2010-04-26 18:12:48 +00:00
mattias
79ac48c33b gtk2 intf: send WMWindowPosChanged instead of WMSize and WMMove
git-svn-id: trunk@24974 -
2010-04-26 16:53:13 +00:00
mattias
708e6de6d9 LCL: implemented Application.TaskBarBehavior, bug #13537
git-svn-id: trunk@24682 -
2010-04-17 19:28:43 +00:00
mattias
b1b4157851 LCL: disabled exception for handle creation during loading, needed by glscene
git-svn-id: trunk@24382 -
2010-04-03 19:51:51 +00:00
mattias
e16bb0cfa4 LCL:
autosize: turn childs visible before parent
autosize without visible handle: clear requests
TWinControl.UpdateControlState: call AdjustSize to delay showing after bound computation
TWinControl.WMSize: ignore if no bounds were sent to intf
TToolBar.CreateWnd: delay autosize
TControl.DoAllAutoSize: do not autosize invisible controls

git-svn-id: trunk@24377 -
2010-04-03 13:28:35 +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
b67e10007a gtk2: apply patch by cobines which improves menu icon positioning (issue #0015565)
git-svn-id: trunk@24004 -
2010-03-15 04:15:11 +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
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
mattias
874b22249a LCL: made NewAutoSize default, added -dOldAutoSize
git-svn-id: trunk@23943 -
2010-03-11 15:49:01 +00:00
zeljko
b6218b0cd8 Gtk2: introduced RectFromGdkRect(), GdkRectFromRect() moved from gtkthemes to gtkproc. Fixed wrong result in TGtk2WSCustomListView.ItemDisplayRect() because TGdkRectangle isn't same like TRect.
git-svn-id: trunk@23927 -
2010-03-10 18:37:59 +00:00
mattias
b734582362 gtk intf: reduced debugging
git-svn-id: trunk@23896 -
2010-03-09 16:18:55 +00:00
paul
233b6549b8 lcl: start implementation for gtk SetParent and TWinControl.ParentWindow
git-svn-id: trunk@23856 -
2010-03-07 06:23:24 +00:00
mattias
f15052d222 LCL: newautosize: more debugging
git-svn-id: trunk@23855 -
2010-03-07 00:43:08 +00:00
mattias
09834f1ed5 gtk intf: reduced warnings
git-svn-id: trunk@23849 -
2010-03-06 21:52:54 +00:00
paul
963759090b gtk: AddControl should add to the fixed widget with Control coordinates (not Parent coordinates) + formatting and cleanup
git-svn-id: trunk@23847 -
2010-03-06 19:42:17 +00:00
paul
30c02025b3 gtk: fix AV in GetWindowDebugReport based on patch of Flávio Etrusco (issue #0015857) + formatting
git-svn-id: trunk@23811 -
2010-03-01 07:21:33 +00:00
paul
d08379fcd7 gtk: apply gtk clipboard patch by C Western (issue #0015097)
git-svn-id: trunk@23212 -
2009-12-21 09:56:10 +00:00
andrew
2df5004aed * WidgetInfo memory is cleared to nil before it is freed so that bugs will be exposed if widgetinfo is referenced after it is freed
git-svn-id: trunk@22913 -
2009-12-02 02:30:30 +00:00
mattias
f93e24d3de LCL: newautosize: debugging
git-svn-id: trunk@22583 -
2009-11-13 23:06:17 +00:00
jesus
1ab6860b98 LCL, added metrics to fix grid's auto scrollbar issue #14799
git-svn-id: trunk@22535 -
2009-11-11 20:59:23 +00:00
mattias
812b84fe1f gtk: newautosize: send size messages when not realized
git-svn-id: trunk@22533 -
2009-11-11 18:06:50 +00:00
paul
495f9f3481 gtk: apply patch of Burkhard Carstens to fix possible memory leaks of XGetWindowProperty calls (issue #0014659)
git-svn-id: trunk@21833 -
2009-09-23 10:27:34 +00:00
mattias
85a065e6cd gtk intf: fixed uninitialized variables
git-svn-id: trunk@21787 -
2009-09-20 22:16:07 +00:00
paul
fa1b49813e gtk2: don't emulate eaten keys if key handler was stopped (fixes issue #0014481)
git-svn-id: trunk@21545 -
2009-09-03 01:27:07 +00:00
paul
040131af50 gtk: hide some warnings when HideKeyTableWarnings is defined
git-svn-id: trunk@21519 -
2009-09-01 14:01:10 +00:00
paul
e7abeb60a0 gtk2: better fix CharToKeyVal
git-svn-id: trunk@21457 -
2009-08-26 17:52:01 +00:00
paul
cd516210d7 gtk2: fix typo in CharToKeyVal logic
git-svn-id: trunk@21456 -
2009-08-26 17:47:14 +00:00
paul
5ebfb46064 gtk: hide internal tooltip window or it shows on the screen as small artefact
git-svn-id: trunk@21386 -
2009-08-21 16:54:39 +00:00
mattias
4e41553208 gtk2 intf: calendar: implemented GetPreferredSize
git-svn-id: trunk@21202 -
2009-08-12 15:43:30 +00:00