Page 3 of 10

Posted: 2006-11-09, 12:05 UTC
by tbeu
Icons in menus should be the corollary of StickyNomad's redesigned icon set. I just can no longer wait...

Posted: 2006-11-09, 14:03 UTC
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.

Posted: 2006-11-09, 14:45 UTC
by JohnFredC
2Lefteous
Good demo: Very clean, attractive, conforming to best practices. Just exactly what I was talking about here a while ago.

Posted: 2006-11-09, 18:02 UTC
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)

Posted: 2006-11-09, 22:19 UTC
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?

Posted: 2006-11-09, 22:56 UTC
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?

Posted: 2006-11-09, 23:02 UTC
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...

Posted: 2006-11-09, 23:17 UTC
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.

Posted: 2006-11-09, 23:24 UTC
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...

Posted: 2006-11-10, 10:26 UTC
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;

Posted: 2006-11-10, 10:40 UTC
by Lefteous
2Valentino
Can you provide any proof of concept? Maybe a downloadable program displaying a menu with sticknomads icons?

Posted: 2006-11-10, 10:47 UTC
by Valentino
2Lefteous
Of course, but what for? You think I'm lying? :)

Posted: 2006-11-10, 10:53 UTC
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.

Posted: 2006-11-10, 11:16 UTC
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.

Posted: 2006-11-10, 11:18 UTC
by Valentino
I've just tried to increase bitmap size to 50x50 and it works fine without any efforts (menu though looks monstrous :) ).