Commit Graph

61 Commits

Author SHA1 Message Date
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
5d796b9cbb LCL: Remove OldShortCut from SetShortCut parameters and add the real shortcut keys there.
git-svn-id: trunk@29872 -
2011-03-16 16:53:36 +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
mattias
28419cb0f7 gtk1 intf: fixed compilation
git-svn-id: trunk@25272 -
2010-05-09 10:31:59 +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
paul
cd98f676d8 gtk2: fix menu positioning. move position ourself if menu is over the screen height (issue #0015547)
git-svn-id: trunk@23578 -
2010-01-28 04:36:33 +00:00
andrew
9c6613b677 Fixed bug #13303 where Showing a modal form from a TMenuItem click could cause an access violation
git-svn-id: trunk@22929 -
2009-12-02 23:42:03 +00:00
paul
de89e6efe0 gtk: also use TPopupMenu.IsRightToLeft to determine the popup position
git-svn-id: trunk@22737 -
2009-11-24 08:44:15 +00:00
paul
58c78a36ab gtk, gtk2: implement TPopupMenu.Alignment
git-svn-id: trunk@22736 -
2009-11-24 08:30:43 +00:00
paul
6e06aafd15 gtk: fix compilation
git-svn-id: trunk@20863 -
2009-07-15 07:41:14 +00:00
paul
405bc268f5 gtk, gtk2: handle situations when popup menu has been inserted into main menu submenu (remaining part of issue #0014144)
git-svn-id: trunk@20862 -
2009-07-15 07:31:18 +00:00
paul
78d39caf04 lcl: cleanup
git-svn-id: trunk@20860 -
2009-07-15 06:41:09 +00:00
paul
5119208a5d gtk, gtk2: fix popup menu popup - set activation time as gtk docs require to resove mouse capture conflicts (resolves issue #0009435)
git-svn-id: trunk@20847 -
2009-07-13 03:34:51 +00:00
paul
1062d0b0aa gtk: gtkWSPopupMenuDeactivate must be procedure instead of function according to gtk sources and docs
git-svn-id: trunk@20846 -
2009-07-13 02:42:05 +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
cef5fc775d gtk, gtk2: port menu item fix to the gtks
git-svn-id: trunk@18583 -
2009-02-05 15:09:11 +00:00
paul
565ee9773a widgetsets: use cLineCaption instead of '-' for menus
wince: port the same fix as for win32 (not tested)

git-svn-id: trunk@18582 -
2009-02-05 15:05:19 +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
f7c01f9fda gtk: revert part of 16324. use g_idle_add. gtk_timeout_add leads to crash (#0012114)
git-svn-id: trunk@16601 -
2008-09-15 22:34:04 +00:00
mattias
7329c36e1f gtk1+2 intf: replaced g_idle_add with gtk_timeout_add. g_idle_add is not called when app is busy (e.g. using OnIdle)
git-svn-id: trunk@16324 -
2008-08-31 08:38:48 +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
f54bea2fc5 Separates gtk1 and gtk2 menu item code. Started implementing shortcuts for gtk2 menu items, but was unable to finish it. It didn't work before, so commited anyway because the new code is at least cleaner.
git-svn-id: trunk@14842 -
2008-04-16 00:22:08 +00:00
jesus
54208be697 LCL, gtk, fix problem on closing popupmenu, issue #10884
git-svn-id: trunk@14266 -
2008-02-27 00:01:56 +00:00
paul
8d3ee2378e gtk: fix bugs with calendar controls (0010687)
git-svn-id: trunk@13959 -
2008-02-03 08:47:18 +00:00
paul
ff2de09e84 typo
git-svn-id: trunk@13957 -
2008-02-03 08:20:21 +00:00
paul
710239fce1 gtk: The OnClose event of TPopupMenu is not fired when is closed - patch from Luiz Americo with modifications (part of 0009436)
git-svn-id: trunk@13956 -
2008-02-03 07:03:11 +00:00
paul
c8d52d15d6 gtk:
- remove FinishComponentCreate: code moved to appropriate ws classes
- remove HookSignals (same reason)

git-svn-id: trunk@13537 -
2007-12-30 18:15:53 +00:00
paul
07cb989050 gtk: move CreateComponent code for ToggleBox, RadioButton, Checkbox, PopupMenu, MainMenu to CreateHandle and FinishComponentCreate to SetCallbacks
git-svn-id: trunk@13457 -
2007-12-26 03:06:56 +00:00
paul
6dd71e054c TMenu, TMenuItem:
- update icon on changes of imagelist and bitmap
- fix HasIcon - now it looks at Bitmap.IsEmpty too (issue #0010313)

git-svn-id: trunk@13125 -
2007-12-03 07:30:37 +00:00
mattias
4f8d2a8022 IDE: added package option Provides - needed by KOL, gtk intf: reduced warnings, fixed wrong type cast calling gdk_text_extends (crashing Label.OptimalFill=true and miscalculation of width)
git-svn-id: trunk@12080 -
2007-09-19 17:58:52 +00:00
vincents
8025a708bc gtk widgetset: remove use of NoGdkPixbufLib define
git-svn-id: trunk@11750 -
2007-08-06 18:48:29 +00:00
mattias
0d0427f294 gtk2 intf: moved menuitem handle creation code from CreateComponent, gtk2 intf: handling menu underscore shortcuts of Application.MainForm
git-svn-id: trunk@11255 -
2007-06-01 16:55:15 +00:00
mattias
fe1ca96a65 LCL: implemented TStaticText.DialogChar to focus FocusControl, gtk2 intf: shortcuts of buttons, radiobuttons, checkboxes are now handled by the LCL
git-svn-id: trunk@11245 -
2007-05-31 21:38:56 +00:00
mattias
5afdbd9657 gtk intf: added menu items short cut labels, popup sub menu of menu bar shortcuts
git-svn-id: trunk@10591 -
2007-02-05 19:47:39 +00:00
marc
5e6f809b63 * made gtk2 keyboard initialisation independent of X
- removed unix -> X implication
* start of some gtk1/2 split

git-svn-id: trunk@10535 -
2007-01-29 23:07:59 +00:00
mattias
339e49de45 LCL help: fixing path delims after substituting macros
git-svn-id: trunk@9862 -
2006-09-12 09:41:44 +00:00
mattias
22e3d017fb gtk2 intf: fixed crash on menu items without ampersand
git-svn-id: trunk@9475 -
2006-06-22 10:01:53 +00:00
mattias
bfb3fd9685 added class keyword to proc bodies for fpc 2.1.1
git-svn-id: trunk@9364 -
2006-05-27 17:40:59 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
c03e8cd810 added DefineRectProperty
git-svn-id: trunk@8811 -
2006-02-23 16:29:43 +00:00
andrew
6de45e4ce8 Fixed big 1641
git-svn-id: trunk@8559 -
2006-01-18 21:44:51 +00:00
mattias
ee624a05ee redirecting gtk accelerator to a dummy callback, since the LCL handles menu shortcuts
git-svn-id: trunk@8445 -
2006-01-04 18:51:05 +00:00
mattias
679cd0bc8e implemented TCustomForm.OnWindowStateChange for gtk2
git-svn-id: trunk@8066 -
2005-11-05 12:55:53 +00:00
vincents
94d6dff18c simplified TGtkWSMenuItem.SetRadioItem
git-svn-id: trunk@8035 -
2005-11-02 13:43:53 +00:00
vincents
d5d6476368 fixed gtk compilation
git-svn-id: trunk@8033 -
2005-11-02 13:19:53 +00:00
vincents
34bd4ff3a5 Show radiobutton, if TMenuItem.RadioItem is checked (issue #1377)
git-svn-id: trunk@8032 -
2005-11-02 12:44:29 +00:00
marc
68321456bb * Renamed InterfaceObject to WidgetSet
- Removed some logs
* Changed mainloop to a callback through the interface

git-svn-id: trunk@7585 -
2005-08-28 23:38:18 +00:00
mattias
f2ecd38e12 moved some menu intf methods to the TXXXWSMenuItem class from Martin Smat
git-svn-id: trunk@7310 -
2005-07-01 12:07:50 +00:00
mattias
05899acc9e fixed gtk intf popup menu placement from Andrew Haines
git-svn-id: trunk@7261 -
2005-06-21 22:36:22 +00:00
mattias
6697af3196 accelerated TMemo on gtk, gtk2 and win32 interface from Andrew Haines
git-svn-id: trunk@7060 -
2005-04-05 19:41:19 +00:00