Quote
Mello
I want to make a right click option easier to recognise by placing
a symbol against it. how do I go about this?
Uhm... good question :cool:
As usual there are
multiple possibilities for customizing, depending on the used KM-version and the used skin:
- edit menuicons.cfg in current skin (e.g. Klassic)
- edit skins.cfg in current skin (e.g. modern default skin)
- or use a little macro (needs min KM75, can look blurry)
For opening the correct cfg file helps a menU:
Edit > Configuration > MenuIcons
_HowTo_
Of course you need to provide an icon image.
And need to know the
command/macro name for which that icon shall be used.
Most default commands are listed in menu Edit>Configuration>Commands List (opens commands.html)
Or do a Windows file search inside the macros folder, for the text your menuline is showing.
=========== Examples ============
For older skins like Klassic, add something like this to its
menuicons.cfg:
lang_ru.bmp {
macros(Translate_From(ru))
}
lang_ru.bmp {
macros(Translate_To(ru))
}
------
Or selecting images from a multi-icon-row:
macro_blublub.bmp{
0
macros(blublub_popupmenu)
macros(blublub_LinkOpen)
0
macros(blublub_TogglePage)
}
------
Or try using a
macro in KM75 or newer.
Actually "setcmdicon" sets the icon for all uses of that command, not only the menu icon.
Am not quite sure if this is correct, perhaps just try yourself:
Create a file named e.g. my_menuicons.kmm into your macros folder.
Write something like this inside it:
_my_menuicons{
setcmdicon("macros(Translate_From(ru))","lang_ru.bmp[0,16,16]");
}
$OnSetup=$OnSetup."_my_menuicons;";
------
Guess rodocop figured out ways to get SHARP menuicons by using ico-files, he mentioned it somewhere in the forum... Probably also used in his KM-Pro builds.