Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Images in a tree menu instead of text  (Read 6641 times)

0 Members and 1 Guest are viewing this topic.

tapule

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 61
  • Last login:July 19, 2018, 04:54:54 am
    • Gelide FrontEnd for Linux
Images in a tree menu instead of text
« on: January 28, 2011, 06:46:35 am »
How can I use images in a tree menu instead of text?
I have my mala tree working and I can show the Snaps images for the menu items but I can't use this images for the menu items.
What I need is a first menu where I can choose the system before my lists. My tree is like this:
Main
-- Mame
------ All
------ Classics
-- Nes
------ All
------ Favorites
Etc.

And I wish that every entry in the main menu was a image.
Is this possible?
Gelide FrontEnd for Linux http://gelide.sf.net

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa

tapule

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 61
  • Last login:July 19, 2018, 04:54:54 am
    • Gelide FrontEnd for Linux
Re: Images in a tree menu instead of text
« Reply #2 on: January 29, 2011, 02:44:07 am »
Hi Loadman,

Thank you for you answer but this doesn't work.
As I said, I can see the image for the selected item in the menu, in the Snap object from the layout. But in the menu, the selected item show me the "Default image" as do all other items.
I will try to do a snapshot to show you this.
Gelide FrontEnd for Linux http://gelide.sf.net

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Images in a tree menu instead of text
« Reply #3 on: January 29, 2011, 03:03:55 am »
right

So using the screen shot below as an example you don't want the text 'Arcade' you want some Image to represent Arcade but no actually text saying the MaLa Tree Items?



When you actual get to a game list mala can substitute the text for a screen shot pic or marqee pic or something like that

See below

http://img207.imageshack.us/i/genreselect.png/
« Last Edit: January 29, 2011, 03:11:50 am by loadman »

tapule

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 61
  • Last login:July 19, 2018, 04:54:54 am
    • Gelide FrontEnd for Linux
Re: Images in a tree menu instead of text
« Reply #4 on: January 29, 2011, 03:15:48 am »
So using the screen shot below as an example you don't want the text 'Mame' you want some Image to represent Arcade but no actually text saying the MaLa Tree Items?
When you actuall get to a game list mala can subsitute the text for a screenshot pic or marqee pic or something like that
Exactly, but in the menu from a Mala Tree.

Two screenshots:


The layout editor

 
Gelide FrontEnd for Linux http://gelide.sf.net

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Images in a tree menu instead of text
« Reply #5 on: January 30, 2011, 04:32:30 am »
OK Well I just tested it and that works.  ;D

If you have an image with the same name as the menu item located in the path specified in options-gui-layout-tree menu snaps

Ie. 'All Games.jpg' , Arcade.jpg, Atari 2600.jpg.

« Last Edit: January 30, 2011, 05:14:13 am by loadman »

tapule

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 61
  • Last login:July 19, 2018, 04:54:54 am
    • Gelide FrontEnd for Linux
Re: Images in a tree menu instead of text
« Reply #6 on: January 30, 2011, 05:32:18 am »
In what version?
I'm using beta 1.7.9, and with a Tree for tests with a menu like this
menu
-- arcade
-- atari
it doesn't work.
The tree:


My configuration:


Tests:
** arcade.jpg **


** arcade.png **


** menu_arcade.jpg **


** menu_arcade.png **



Adicional test:
** Arcade.jpg **


** Arcade.png **


I don't know what I'm doing wrong

Greetings
Gelide FrontEnd for Linux http://gelide.sf.net

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Images in a tree menu instead of text
« Reply #7 on: January 30, 2011, 05:40:37 am »
Edit the layout so it uses test rather than images.

Then make not of these menu names and make sure there is a file name that matches each menu item in the Tree snaps directory.

Probably best to also uncheck the 'Layiout files are located in a folder with the same name as the layout'



If that does not work let me know and I will make a special MaLa version with extra logging that will show you exactly where mala is looking for files
« Last Edit: January 30, 2011, 05:42:39 am by loadman »

tapule

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 61
  • Last login:July 19, 2018, 04:54:54 am
    • Gelide FrontEnd for Linux
Re: Images in a tree menu instead of text
« Reply #8 on: January 30, 2011, 05:57:18 am »
Test 1:




Test 2:



Same results with .png files.
Gelide FrontEnd for Linux http://gelide.sf.net

tapule

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 61
  • Last login:July 19, 2018, 04:54:54 am
    • Gelide FrontEnd for Linux
Re: Images in a tree menu instead of text
« Reply #9 on: February 04, 2011, 02:06:41 am »
Quote
If that does not work let me know and I will make a special MaLa version with extra logging that will show you exactly where mala is looking for files
Loadman, please, tell me something about this special MaLa

Thanks for your help with my problem.
Gelide FrontEnd for Linux http://gelide.sf.net

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Images in a tree menu instead of text
« Reply #10 on: February 04, 2011, 03:53:44 am »
Quote
If that does not work let me know and I will make a special MaLa version with extra logging that will show you exactly where mala is looking for files
Loadman, please, tell me something about this special MaLa

Thanks for your help with my problem.

Yup, Will let you know when you can get it  ;D

tapule

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 61
  • Last login:July 19, 2018, 04:54:54 am
    • Gelide FrontEnd for Linux
Re: Images in a tree menu instead of text
« Reply #11 on: April 24, 2011, 03:18:46 am »
Loadman, has any news on this?

Thank you.
Gelide FrontEnd for Linux http://gelide.sf.net

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Images in a tree menu instead of text
« Reply #12 on: April 24, 2011, 06:28:40 am »
Loadman, has any news on this?

Thank you.

The latest Mala beta logs (in debug level) will show you where it is looking for files
« Last Edit: April 30, 2011, 01:07:48 am by loadman »

tapule

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 61
  • Last login:July 19, 2018, 04:54:54 am
    • Gelide FrontEnd for Linux
Re: Images in a tree menu instead of text
« Reply #13 on: April 25, 2011, 06:52:38 am »
Ok, finally I have it working.



Quote
If you have an image with the same name as the menu item located in the path specified in options-gui-layout-tree menu snaps

Ie. 'All Games.jpg' , Arcade.jpg, Atari 2600.jpg.

This doesn't work. Probably this is a bug.

After lots of tests, I found that the images must be placed in the root folder of MaLa with the same name as the menu item. If you place the images in other folder, MaLa doesn't find it, although set it in the path you mention above.

Thank you very much for your help and your work Loadman.
Gelide FrontEnd for Linux http://gelide.sf.net