Menu With Icons.

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

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
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2all
Thanks :-)
I hope it was worthwhile.

2StickyNomad
I guess you tried the demo with _another_ file, did you? :mrgreen:
It's looks somehow more...complete when this file is used instead :-D

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.
User avatar
JohnFredC
Power Member
Power Member
Posts: 886
Joined: 2003-03-14, 13:37 UTC
Location: Sarasota Florida

Post by *JohnFredC »

2Lefteous
Good demo: Very clean, attractive, conforming to best practices. Just exactly what I was talking about here a while ago.
Licensed, Mouse-Centric, moving (slowly) toward Touch-centric
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

2Lefteous
2StickyNomad
I guess you tried the demo with _another_ file, did you?
It's looks somehow more...complete when this file is used instead
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 ... 8)
User avatar
petermad
Power Member
Power Member
Posts: 14856
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

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?
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
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2petermad
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?
There are several way
* Show the check/radio symbols and the icons.
* Show the checked state like a button in checked state.

Any other ideas?
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

Any other ideas?
Yeah, show the icon with an overlayed radio-/checkmark :mrgreen:

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...
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2StickyNomad
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 ... Cool
Brain-torturing? I thought that was straightforward :-D
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...
OK I will try if I can add this aspect to my little demo app.
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

2Lefteous
Brain-torturing? I thought that was straightforward
Well, actually it was, it just took me a thought or two to get it. Nevermind :)
OK I will try if I can add this aspect to my little demo app.
That would be great! I think it would be very helpful to be able try both variations, as it is no trivial decision...
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

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:

Code: Select all

mii.fMask = MIIM_BITMAP | MIIM_STATE;
mii.fState = MFS_CHECKED;
and to add a dot:

Code: Select all

mii.fMask = MIIM_BITMAP | MIIM_STATE | MIIM_FTYPE;
mii.fType = MFT_RADIOCHECK;
mii.fState = MFS_CHECKED;
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Valentino
Can you provide any proof of concept? Maybe a downloadable program displaying a menu with sticknomads icons?
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

2Lefteous
Of course, but what for? You think I'm lying? :)
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Valentino
No I never would claim something like that. It would be actually great if it would be that easy but I have my doubts.
What is the drawable height of a menu item when you implement it like that? From my observations it's just 13 pixels. That wouldn't be enough.
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

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.
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

I've just tried to increase bitmap size to 50x50 and it works fine without any efforts (menu though looks monstrous :) ).
Post Reply