Commit Graph

55 Commits

Author SHA1 Message Date
paul
c24efa3adf lcl: cleanup + formatting
git-svn-id: trunk@24178 -
2010-03-23 08:11:26 +00:00
paul
d4aa924e22 lcl: don't report that shortcut is handled if shortcut menu item is disabled
git-svn-id: trunk@23604 -
2010-01-30 18:47:58 +00:00
paul
a35c06eeb7 lcl: when menu shortcut is executed perform action update and click starting from the parent to node (this is delphi compatible behavior). Fixes issue #0015427
git-svn-id: trunk@23311 -
2009-12-28 10:48:40 +00:00
paul
e1d98bf7d7 lcl: minor fix for GetHelpContext
git-svn-id: trunk@22743 -
2009-11-24 09:31:20 +00:00
paul
a49f888148 lcl: implement TMenu.GetHelpContext
git-svn-id: trunk@22742 -
2009-11-24 09:30:33 +00:00
paul
48e060d9f7 lcl: MainMenu refactoring and other menu changes:
- AttachMenuToWindow api changed. Now it accepts a window handle and a menu handle instead of TMenu component. This change is made to reduce interfaces dependency from the LCL (in order to reduce exe file size)
  - TMainMenu.WindowHandle is introduced for delphi compatibility
  - Don't show a main menu for the bsDialog windows (delphi compatibility)
  - Explicitly request MainMenu to notify form about destruction

git-svn-id: trunk@21844 -
2009-09-24 09:14:53 +00:00
paul
10df6e55fe lcl: don't handle menu shortcuts in the csDesigning state
git-svn-id: trunk@21814 -
2009-09-22 02:36:10 +00:00
paul
834d683851 lcl: make TMenu.SetImages safer and more correct
git-svn-id: trunk@21781 -
2009-09-20 07:54:14 +00:00
paul
3a6fe8e7aa lcl: formatting + cleanup
git-svn-id: trunk@20861 -
2009-07-15 06:51:57 +00:00
paul
c01c5e7c6f lcl: formatting
git-svn-id: trunk@20858 -
2009-07-15 03:30:29 +00:00
paul
3f5dc06930 lcl: implement TMenuItem.GlyphShowMode, TApplication.ShowMenuGlyphs, TApplicationProperties.ShowMenuGlyphs
git-svn-id: trunk@20192 -
2009-05-25 08:38:20 +00:00
paul
6af0fb9bc9 lcl: fix asterisk position in the copyright comment
git-svn-id: trunk@19477 -
2009-04-18 04:03:13 +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
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
dbddffe2cb lcl: bidi mode patch from Ido with modifications
git-svn-id: trunk@14991 -
2008-04-27 14:24:22 +00:00
paul
eaa9030572 lcl: fix compilation after bidimode changes
git-svn-id: trunk@14845 -
2008-04-16 01:52:15 +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
paul
d5c7e43700 - BidiMode patch from Zaher Dirkey (0008996) part 1
git-svn-id: trunk@11408 -
2007-07-02 07:00:51 +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
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
micha
a9e0c4e0f2 only use initialized value of FShortcutHandled, not previous one
git-svn-id: trunk@8149 -
2005-11-14 18:29:29 +00:00
micha
68d4ba68c5 improve memo/edit keystroke "handled" property, which is, message result
add ability to continue processing shortcut events (fixes issue #1308)

git-svn-id: trunk@8062 -
2005-11-05 10:19:27 +00:00
vincents
a0311c2cba removed cvs logs
git-svn-id: trunk@7541 -
2005-08-22 12:30:03 +00:00
vincents
7e441f98c9 remove ===-lines in cvs log comments, so removelog awk script does its work correctly
git-svn-id: trunk@7538 -
2005-08-22 10:05:31 +00:00
mattias
0b4faac301 various Delphi compatibilities from C Western
git-svn-id: trunk@6910 -
2005-03-07 00:52:51 +00:00
micha
6fa632827f implement shortcut handling, tcustomlabel accelerator focuscontrol functionality
git-svn-id: trunk@6725 -
2005-02-03 15:10:23 +00:00
vincents
68ed2f8fe4 don't create handle for unvisible menu item
git-svn-id: trunk@6494 -
2005-01-07 13:04:08 +00:00
mattias
2efd1ba30a destroying clean up
git-svn-id: trunk@6334 -
2004-12-05 13:25:47 +00:00
mattias
5c02893c8b destroying TMenu Handle when Set Parent=nil
git-svn-id: trunk@6333 -
2004-12-05 13:20:29 +00:00
vincents
3ec726878e Destroy menu handle, when destroying form handle.
git-svn-id: trunk@6227 -
2004-11-10 20:53:18 +00:00
micha
f9d650d137 convert LM_CREATE message to interface methods
remove SendMsgToInterface, CNSendMessage and related methods
remove TWidgetSet.IntSendMessage3; all LCL to interface messages have been converted

git-svn-id: trunk@6073 -
2004-09-24 21:34:14 +00:00
mattias
ce11f9f6e2 implemented mainunit hints for include files
git-svn-id: trunk@5393 -
2004-04-10 17:58:57 +00:00
micha
912d81b51e revert intf split
git-svn-id: trunk@5225 -
2004-02-23 08:19:05 +00:00
micha
8c520fe744 split interface into non-lcl and lcl-component dependent parts
git-svn-id: trunk@5224 -
2004-02-22 22:52:59 +00:00
micha
3cd2333df2 attachmenutowindow cleanup
git-svn-id: trunk@4898 -
2003-12-18 08:50:13 +00:00
micha
615e8484ee new interface method to attach a menu to window
git-svn-id: trunk@4733 -
2003-10-26 17:34:41 +00:00
mattias
ae02013fa3 updated rpm scripts
git-svn-id: trunk@4723 -
2003-10-22 17:50:17 +00:00
mattias
b3a9406869 applied win32 menu patch from Micha Nelissen
git-svn-id: trunk@4308 -
2003-06-24 15:57:55 +00:00
mattias
b2c8f75165 started context diff
git-svn-id: trunk@4265 -
2003-06-13 06:05:49 +00:00
lazarus
aedf519f43 MG: fixed TMainMenu creation
git-svn-id: trunk@3624 -
2002-11-12 10:16:17 +00:00
lazarus
88a2927d1c MG: broke LCL<->interface circles
git-svn-id: trunk@3566 -
2002-10-26 15:15:50 +00:00
lazarus
dbe9e4a855 MG: broke menus.pp <-> controls.pp circle
git-svn-id: trunk@3548 -
2002-10-24 09:37:39 +00:00
lazarus
e940f8c711 MG: fixed Menu.Free and gdkwindow=nil bug
git-svn-id: trunk@3363 -
2002-09-19 16:45:54 +00:00
lazarus
2719ecdfd2 MG: fixed non AutoCheck menuitems and editor bookmark popupmenu
git-svn-id: trunk@2941 -
2002-08-18 08:56:25 +00:00
lazarus
80faea4539 MG: started enhanced menuitem
git-svn-id: trunk@1840 -
2002-08-12 15:32:29 +00:00
lazarus
c587c7186b + added / fixed streaming functions for TMenu & TMenuItem, stoppok
git-svn-id: trunk@1716 -
2002-05-30 21:33:10 +00:00
lazarus
5bd3345a54 + added helper functions to enabled streaming of TMenu /TMenuItem
stoppok

git-svn-id: trunk@1695 -
2002-05-19 08:27:43 +00:00
lazarus
ecab4b56b3 MG: reuced output
git-svn-id: trunk@1685 -
2002-05-16 14:23:20 +00:00
lazarus
884efc9ed7 MG: improved lresources for big files
git-svn-id: trunk@1682 -
2002-05-15 15:38:15 +00:00
lazarus
5d01015633 MG: added TMainMenu.Parent
git-svn-id: trunk@1681 -
2002-05-15 05:58:17 +00:00