Commit Graph

111 Commits

Author SHA1 Message Date
sekelsenmat
9d1b80451a Changes all dynamic methods in the ide, lclintf and lcl to virtual methods, because they are the same in fpc and dynamic is a legacy directive
git-svn-id: trunk@21280 -
2009-08-18 14:44:25 +00:00
paul
b5301d1c72 lcl: check children handles on menu item LM_ACTIVATE message (fixes win32 part of issue #0014144)
git-svn-id: trunk@20859 -
2009-07-15 03:35:04 +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
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
cac90a2be9 lcl, win32: use cLineCaption instead of '-' for separator menu
win32: change menu item enabled state when we change caption since we can change caption from '-' to normal caption and vice versa (fixes bug #0012055)

git-svn-id: trunk@18581 -
2009-02-05 14:54:47 +00:00
paul
bbd473e2ef lcl: set default values for properties of TMenuItem
git-svn-id: trunk@18012 -
2009-01-01 17:00:54 +00:00
paul
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
mattias
0b0d219245 fixed some visibilities
git-svn-id: trunk@17521 -
2008-11-22 16:13:03 +00:00
mattias
8759733936 LCL: added ssMeta, scMeta to Shortcuts, carbon: Cmd now sets ssMeta, Ctrl now sets ssCtrl, Alt now sets ssAlt, IDE: changed Mac OS X key mapping scheme
git-svn-id: trunk@15911 -
2008-07-29 21:21:33 +00:00
vincents
283d4dfd56 LCL: added parameterless TPopupMenu.Popup from Benito van der Zander (issue #11726)
git-svn-id: trunk@15840 -
2008-07-23 07:28:04 +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
1843642237 lcl: rearrange some class fields as suggested by Luiz to reduce occupied memory
git-svn-id: trunk@15201 -
2008-05-22 02:10:13 +00:00
paul
30d1e0adcc set application hint when user selects menu items:
- TMenuItem.IntfDoSelect
- win32, qt, gtk2 implementation

git-svn-id: trunk@15002 -
2008-04-29 07:06:44 +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
9a0a3d9bfd qt: The OnClose event of TPopupMenu is not fired when is closed (part of 0009436)
git-svn-id: trunk@13958 -
2008-02-03 08:28:25 +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
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
f1ce28907c Menus:
- improved TMenuItem ImageIndex / Bitmap logic
- draw win32 menus with effects (disabled, selected, normal)

git-svn-id: trunk@12794 -
2007-11-09 06:29:07 +00:00
marc
31f9b02560 * fixed compilation on fpc 2.0.4
git-svn-id: trunk@12711 -
2007-11-03 02:41:12 +00:00
vincents
fd83263261 LCL: made menu caption and hint translatable (#9876)
git-svn-id: trunk@12389 -
2007-10-09 08:27:16 +00:00
vincents
70af0c3bc1 lcl: made TPopupMenu.DoClose a virtual protected method, like DoPopup (bug #9426) from Luiz
git-svn-id: trunk@11808 -
2007-08-13 21:39:05 +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
vincents
180a3b4e0c LCL: made TPopupMenu.Popup virtual (Delphi compatible, #8395)
git-svn-id: trunk@10684 -
2007-02-25 22:26:01 +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
mattias
d13febced8 added TMenuItem.IsLine from Graeme
git-svn-id: trunk@8987 -
2006-03-22 19:01:55 +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
mattias
78d3820117 added NewMenu, NewSubMenu, NewItem, NewLine menu functions
git-svn-id: trunk@7737 -
2005-09-19 08:24:41 +00:00
mattias
ff7171bad0 implemented dynamic menu item in MenuIntf, Source Editor now uses the menuintf
git-svn-id: trunk@7616 -
2005-09-02 17:46:30 +00:00
mattias
7ef1a6df74 CodeExplorer now uses the MenuIntf
git-svn-id: trunk@7457 -
2005-07-30 15:01:39 +00:00
mattias
2d239b23cd MessagesView now uses the MenuIntf
git-svn-id: trunk@7456 -
2005-07-30 13:47:05 +00:00
mattias
104c0d4d6a menuintf: filled in some section code
git-svn-id: trunk@7442 -
2005-07-29 16:00:54 +00:00
mattias
f8d5c91d6f moved CM_ message constants from crontrols.pp to lmessages.pp to break circles and clean up controls.pp
git-svn-id: trunk@6940 -
2005-03-11 14:40:37 +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
mattias
4e924ae6a2 implemented open project after open standard windows
git-svn-id: trunk@6367 -
2004-12-12 03:54:09 +00:00
mattias
4049e50ad0 implemented TMenuItem.SetVisible
git-svn-id: trunk@6360 -
2004-12-10 21:36:27 +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
eb5698fec0 fix menuitem caption issue (partly by martin smat)
remove ShortCutToText and TextToShortCut wrapper functions

git-svn-id: trunk@6158 -
2004-10-24 14:50:31 +00:00
micha
4c7a853aca convert LM_SHORTCUT message to interface methods
git-svn-id: trunk@6018 -
2004-09-17 10:56:26 +00:00
micha
d189d5601f convert LM_SETLABEL message to interface methods
git-svn-id: trunk@5954 -
2004-09-10 09:43:13 +00:00
mattias
8fb1867a6b removed obsolete unit vclglobals
git-svn-id: trunk@5814 -
2004-08-18 09:31:21 +00:00
mattias
885b54ba20 fixed codetools ConstSet, implemented notifying TApplication whenmenu popups
git-svn-id: trunk@5776 -
2004-08-13 10:20:19 +00:00
mattias
220f368496 implemented painting menuitem icons from ImageList
git-svn-id: trunk@5575 -
2004-06-17 21:24:19 +00:00
mattias
f7b6d663a8 fixed setting ImageIndex when TMenuItem.ActionChange
git-svn-id: trunk@5574 -
2004-06-17 20:52:19 +00:00
marc
34c1c7f47b * Interface reconstruction. Created skeleton units, classes and wscontrols
git-svn-id: trunk@5311 -
2004-03-17 00:34:37 +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
mattias
c111d6709d TMenuItem.Bitmap is now auto created on read. Added TMenuItem.HasBitmap
git-svn-id: trunk@5181 -
2004-02-08 11:31:32 +00:00
mattias
7218b6a616 implemented Actions for TSpeedButton, TMenuItem, TCheckBox
git-svn-id: trunk@5172 -
2004-02-05 09:45:33 +00:00