Menu With Icons.
Moderators: Hacker, petermad, Stefan2, white
Icons in menus should be the corollary of StickyNomad's redesigned icon set. I just can no longer wait...
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
2all
Thanks
I hope it was worthwhile.
2StickyNomad
I guess you tried the demo with _another_ file, did you?
It's looks somehow more...complete when this file is used instead
2TychoBarfy
I have just updated the archvie so you can play around a bit more comfortable:
http://www.lefteous.de/tc/archives/iconmenu_demo/iconmenu_demo.sqx
2Sir_SiLvA
This could be indeed disliked by some users. In the buttonbar it makes sense to provide some kind of fallback to have a more general icon instead of no icon. My idea to provide only a well chosen subset of suitable icons would be a new section [menu_mappings] which would be added to Wcmicons.inc where the mappings for the menu are defined. If the section doesn't exist the default mappings are used.
Thanks
I hope it was worthwhile.
2StickyNomad
I guess you tried the demo with _another_ file, did you?
It's looks somehow more...complete when this file is used instead
2TychoBarfy
I have just updated the archvie so you can play around a bit more comfortable:
http://www.lefteous.de/tc/archives/iconmenu_demo/iconmenu_demo.sqx
2Sir_SiLvA
This could be indeed disliked by some users. In the buttonbar it makes sense to provide some kind of fallback to have a more general icon instead of no icon. My idea to provide only a well chosen subset of suitable icons would be a new section [menu_mappings] which would be added to Wcmicons.inc where the mappings for the menu are defined. If the section doesn't exist the default mappings are used.
- StickyNomad
- Power Member
- Posts: 1933
- Joined: 2004-01-10, 00:15 UTC
- Location: Germany
2Lefteous
I was first a bit confused by your remark (and thought you could have misinterpreted my 'even more nope'-answer that I didn't like your the last demo, which I do!), but after a little while of brain-torturing, I think I got the point now. It indeed looks even better with _this_ file ...2StickyNomad
I guess you tried the demo with _another_ file, did you?
It's looks somehow more...complete when this file is used instead
2Lefteous
What about the current dots and checkmarks to the left of the menu items? Where do you suggest they should be moved to? - Or should the icons of active menu items get another look to indicate the state?
What about the current dots and checkmarks to the left of the menu items? Where do you suggest they should be moved to? - Or should the icons of active menu items get another look to indicate the state?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
2petermad
* Show the check/radio symbols and the icons.
* Show the checked state like a button in checked state.
Any other ideas?
There are several wayWhat about the current dots and checkmarks to the left of the menu items? Where do you suggest they should be moved to? - Or should the icons of active menu items get another look to indicate the state?
* Show the check/radio symbols and the icons.
* Show the checked state like a button in checked state.
Any other ideas?
- StickyNomad
- Power Member
- Posts: 1933
- Joined: 2004-01-10, 00:15 UTC
- Location: Germany
Yeah, show the icon with an overlayed radio-/checkmarkAny other ideas?
No, 'Spass fort', I think both ways you mentioned are suitable. Radio/check symbols would be a bit easier to recognize, and checked icons would look a bit more nifty. I'm not sure which solution I'd prefer, but I slightly tend to checked icons...
2StickyNomad
Brain-torturing? I thought that was straightforwardI was first a bit confused by your remark (and thought you could have misinterpreted my 'even more nope'-answer that I didn't like your the last demo, which I do!), but after a little while of brain-torturing, I think I got the point now. It indeed looks even better with _this_ file ... Cool
OK I will try if I can add this aspect to my little demo app.I think both ways you mentioned are suitable. Radio/check symbols would be a bit easier to recognize, and checked icons would look a bit more nifty. I'm not sure which solution I'd prefer, but I slightly tend to checked icons...
- StickyNomad
- Power Member
- Posts: 1933
- Joined: 2004-01-10, 00:15 UTC
- Location: Germany
2Lefteous
Well, actually it was, it just took me a thought or two to get it. NevermindBrain-torturing? I thought that was straightforward
That would be great! I think it would be very helpful to be able try both variations, as it is no trivial decision...OK I will try if I can add this aspect to my little demo app.
In a standard menu, checkmarks and dots are displayed to the left of color icon. This costs nothing to implement. All other ways require some efforts. So I think Christian should use standard menu features.
In addition to previous sample code, to add a checkmark:and to add a dot:
In addition to previous sample code, to add a checkmark:
Code: Select all
mii.fMask = MIIM_BITMAP | MIIM_STATE;
mii.fState = MFS_CHECKED;
Code: Select all
mii.fMask = MIIM_BITMAP | MIIM_STATE | MIIM_FTYPE;
mii.fType = MFT_RADIOCHECK;
mii.fState = MFS_CHECKED;
2Lefteous
No, height and width are configurable. In my sample it's 19x20. And in menu it's exactly 19x20 (I made print screen and measured).
I'm a bit short in time and isn't registered on any site that provides free storage, so if you could upload the sample compiled program somewhere I would send it to you by email.
No, height and width are configurable. In my sample it's 19x20. And in menu it's exactly 19x20 (I made print screen and measured).
I'm a bit short in time and isn't registered on any site that provides free storage, so if you could upload the sample compiled program somewhere I would send it to you by email.