When you select an item from the menu, the icon is given a little outer glow to indicate that it's in its pressed state.
Is it possible to use these highlights on the desktop?
Currently I have my icon background and icon pressed state background disabled (for aesthetic reasons) but would love to have this outer glow as the pressed state.
Just looked through...well...everywhere really, via winscp and I can find no reference of any pngs which would make up the outer glows.
So my conclusion is that the outer glow is generated on the fly from the alpha channel of the icon png.it's self.
Therefore, it should be possible to implement this functionality anywhere on the phone, providing that the source of the original code (hildon-desktop?) isn't closed.
This is a bit too indepth for me...a lowly web dev, so I'm gonna have to leave this up to the real linux bods.
Okay so i think i have found a way to do this that doesnt require hacking hildon-home. It comes with a slight compromise but should give the desired effect.
To my knowledge the ApplicationShortcutAppletPressed.png is still displayed when pressed even when when application shortcuts are dissabled using D-IiviI's plastic setup or theme customiser. So it should just be a case of replaceing the png located in /usr/share/themes/*your theme*/images/ApplicationShortcutAppletPressed.png with an alternative one to give it the highlighted effect.
I cant find the png used to highlight menu icons anywhere so cant simply edit that one to size. Im not too shabby with photoshop so will knock one together when i get a moment and test it out.
The compromise.... well after testing theme customizers widget opacity option i discovered that the current version also reduces opacity of application shortcuts when opacity is lowered so we wouldnt be able to have clear stock widgets im affraid.
Also the ApplicationShortcutAppletPressed.png would have to be repeatedly overwritten by our modded one every time our current theme is updated.
If ApplicationShortcutAppletPressed.png still showing you can ask D-Iivil to disable it.
Anyways, hildon-desktop manages the app menu and it uses the glow effect in menu icons and there's no image for this. Desktop shortcuts are managed by hildon-home.
I think it can be done.
I was working with both sources, let me see what I can do tomorow.
Thank you CepiPerez any help with this would be very much appreciated.
I assumed there was no image used for the glow effect just as you stated.
I just thought if it meant hacking hildon-home was the only way to achieve this then the only hope for a noob like me would be to to replace ApplicationShortcutAppletPressed.png with an image that resembled a glow to provide a similar effect.
Though i have tested and it obviously doesnt have the animation of the menu glow effect and doesnt look very impressive either so still hoping a linux/maemo guru such as yourself might be able to help.
Looking forward to hearing of any development on this.