switchbrew / nx-hbmenu

The Nintendo Switch Homebrew Menu
ISC License
1.19k stars 127 forks source link

Remove the AppName above the AppIcon and maybe show somewhere else #160

Open BeckysFootSlave opened 1 year ago

BeckysFootSlave commented 1 year ago

Hello,

Could someone guide me in the right direction? I would like to have our "cardrige"-Icons also in the hbmenu but I don't know how to remove the App Name above the Icon!

hbmenu

Is it possible to remove that "block" above to show our cardrige Icon with 160x240 and show the AppName below the Icon together with Author and Version in our theme?

Our cardrige Icons are similar to this one from "sodasoba1":

ce1344b43c348e3fee695f4246ba5482

If not, is it possible to realize that in the source code? And which file is "holding" this info/layout?

THANKS for your time!

PS here I have a actual image showing our problem! Second icon is the cardrige like one!

2023032210583200-0004EDF51B27297FAD35745CCDCC73BD

The app name doesn't look good like it is! Would be better if we could show it under the icon (above the version)

yellows8 commented 1 year ago

https://github.com/switchbrew/nx-hbmenu/blob/master/common/menu.c#L378 if (layoutobj->visible) <- This would allow specifying visible=false in the user theme config. That really only make sense when each app uses an unique icon and not the default icon however.

BeckysFootSlave commented 1 year ago

@yellows8 Sorry for wasting your time!

  1. Thank you for the link will take a look! 😘
  2. I'm an idiot 🤦

ATM the solution for me is = With nro asset editor you can change the icon of each app AND also change the name = delete the name field and nothing is showing up, except the star if you made the app favorite!

Maybe there is a better way? Would be nice if we could set the color for these two (separately):

menuListName (0,0,0,0) = alpha to zero = invisible

menuActiveEntryName (0,0,0,255) = visible

Just made a quick test with same icons (don't wonder) 2023032211574300-0004EDF51B27297FAD35745CCDCC73BD

Would be great if I could also get rid of the "hard" corner on every Icon! Icons are made in png format with transparency and it would be nice to have the radius on each corner and not the 90 degree one that doesn't look good!