Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  iconset question
« previous next »
  • Print
Pages: [1]

Author Topic: iconset question  (Read 435 times)

Offline RetiredTeacherGuy

  • Member
  • *
  • Posts: 43
  • Still trying to learn
    • Chroma theme for Rockbox
iconset question
« on: January 30, 2025, 02:47:17 AM »
Am I correct that rockbox uses the bookmarks icon for shortcuts? Any way around this?
Logged

Online Bilgus

  • Developer
  • Member
  • *
  • Posts: 1192
Re: iconset question
« Reply #1 on: January 31, 2025, 01:15:12 AM »
not sure what you are asking specifically?

shortcults allow different icons but it all depends on where you are asking about
Logged

Offline RetiredTeacherGuy

  • Member
  • *
  • Posts: 43
  • Still trying to learn
    • Chroma theme for Rockbox
Re: iconset question
« Reply #2 on: January 31, 2025, 03:40:01 AM »
I’ve been working on my own custom iconset, and it doesn’t seem that in the 32 there is a specific icon for the shortcuts menu item. Rather, it looks like the bookmarks icon is applied.
Logged

Online Bilgus

  • Developer
  • Member
  • *
  • Posts: 1192
Re: iconset question
« Reply #3 on: January 31, 2025, 10:33:56 AM »
https://github.com/Rockbox/rockbox/blob/master/apps/shortcuts.c#L651
Code: [Select]
 
        [SHORTCUT_SETTING] = Icon_Menu_setting,
        [SHORTCUT_SETTING_APPLY] = Icon_Queued,
        [SHORTCUT_DEBUGITEM] = Icon_Menu_functioncall,
        [SHORTCUT_BROWSER] = Icon_Folder,
        [SHORTCUT_PLAYLISTMENU] = Icon_Playlist,
        [SHORTCUT_SEPARATOR] = Icon_NOICON,
        [SHORTCUT_SHUTDOWN] = Icon_System_menu,
        [SHORTCUT_REBOOT] = Icon_System_menu,
        [SHORTCUT_TIME] = Icon_Menu_functioncall,
        [SHORTCUT_FILE] = Icon_NOICON,
^these are the defaults for shortcut


https://github.com/Rockbox/rockbox/blob/master/apps/gui/icon.h#L31
the list of icons

Code: [Select]
    NOICON = -1,
    Icon_NOICON = NOICON, /* Dont put this in a .bmp */
    Icon_Audio,
    Icon_Folder,
    Icon_Playlist,
    Icon_Cursor,
    Icon_Wps,
    Icon_Firmware,
    Icon_Font,
    Icon_Language,
    Icon_Config,
    Icon_Plugin,
    Icon_Bookmark,
    Icon_Preset,
    Icon_Queued,
    Icon_Moving,
    Icon_Keyboard,
    Icon_Reverse_Cursor,
    Icon_Questionmark,
    Icon_Menu_setting,
    Icon_Menu_functioncall,
    Icon_Submenu,
    Icon_Submenu_Entered,
    Icon_Recording,
    Icon_Voice,
    Icon_General_settings_menu,
    Icon_System_menu,
    Icon_Playback_menu,
    Icon_Display_menu,
    Icon_Remote_Display_menu,
    Icon_Radio_screen,
    Icon_file_view_menu,
    Icon_EQ,
    Icon_Rockbox,
    Icon_Last_Themeable,

* tango_icons.32x32.png (32.02 kB, 32x1024 - viewed 13 times.)
Logged

Online Bilgus

  • Developer
  • Member
  • *
  • Posts: 1192
Re: iconset question
« Reply #4 on: January 31, 2025, 10:36:55 AM »
Ah I think I found where you are actually asking about
https://github.com/Rockbox/rockbox/blob/master/apps/root_menu.c#L494

Code: [Select]
MENUITEM_RETURNVALUE(shortcut_menu, ID2P(LANG_SHORTCUTS), GO_TO_SHORTCUTMENU,
                        NULL, Icon_Bookmark);

MENUITEM_RETURNVALUE(file_browser, ID2P(LANG_DIR_BROWSER), GO_TO_FILEBROWSER,
                        NULL, Icon_file_view_menu);
#ifdef HAVE_TAGCACHE
MENUITEM_RETURNVALUE(db_browser, ID2P(LANG_TAGCACHE), GO_TO_DBBROWSER,
                        NULL, Icon_Audio);
#endif
MENUITEM_RETURNVALUE(rocks_browser, ID2P(LANG_PLUGINS), GO_TO_BROWSEPLUGINS,
                        NULL, Icon_Plugin);

MENUITEM_RETURNVALUE(playlist_browser, ID2P(LANG_CATALOG), GO_TO_PLAYLIST_VIEWER,
                        NULL, Icon_Playlist);


Logged

Offline RetiredTeacherGuy

  • Member
  • *
  • Posts: 43
  • Still trying to learn
    • Chroma theme for Rockbox
Re: iconset question
« Reply #5 on: January 31, 2025, 02:00:08 PM »
Quote from: Bilgus on January 31, 2025, 10:36:55 AM
Ah I think I found where you are actually asking about
https://github.com/Rockbox/rockbox/blob/master/apps/root_menu.c#L494

Code: [Select]
MENUITEM_RETURNVALUE(shortcut_menu, ID2P(LANG_SHORTCUTS), GO_TO_SHORTCUTMENU,
                        NULL, Icon_Bookmark);

MENUITEM_RETURNVALUE(file_browser, ID2P(LANG_DIR_BROWSER), GO_TO_FILEBROWSER,
                        NULL, Icon_file_view_menu);
#ifdef HAVE_TAGCACHE
MENUITEM_RETURNVALUE(db_browser, ID2P(LANG_TAGCACHE), GO_TO_DBBROWSER,
                        NULL, Icon_Audio);
#endif
MENUITEM_RETURNVALUE(rocks_browser, ID2P(LANG_PLUGINS), GO_TO_BROWSEPLUGINS,
                        NULL, Icon_Plugin);

MENUITEM_RETURNVALUE(playlist_browser, ID2P(LANG_CATALOG), GO_TO_PLAYLIST_VIEWER,
                        NULL, Icon_Playlist);



Ah, so it is intentional. Not enough distinct icon slots I guess?
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  iconset question
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.044 seconds with 18 queries.