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
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
| | |-+  loadable iconsets
« previous next »
  • Print
Pages: [1] 2 3

Author Topic: loadable iconsets  (Read 8156 times)

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
loadable iconsets
« on: April 11, 2007, 09:04:29 AM »
Hey all,

Ive mostly finished a patch which will hopefully go in early next week which will allow you to change the icons in the lists without needing to recompile (Which I doubt anyone ever did anyway seen as how hard it was to change the icons...)

so... FS 7013 is the patch, as well as a bmp with the default icons which will give you some idea of what the iconset bmp should look like.
basically, create your bmp 32*X wide and Y high where X is the number of pixels wide each icon is, and Y is the height of each pixel (both have a max of 24)
(The 32 comes from the number of icons you can theme in the code in app/gui/icon.h)

now, as I said, the patch isnt complete, so the only way to change the icon set is to edit config.cfg and add the line
iconset: /.rockbox/icons/.bmp
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: loadable iconsets
« Reply #1 on: April 12, 2007, 05:02:39 AM »
hmm... I was expecting a bit more excitement over this :p
anyway new patch is online, the viewer icons are at the end of the bmp and its now vertical
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline David Marsh

  • Artist
  • Member
  • *
  • Posts: 35
Re: loadable iconsets
« Reply #2 on: April 12, 2007, 05:14:35 AM »
I have to admit, I'm not sure what this all means.
Logged
aka Davina on IRC

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: loadable iconsets
« Reply #3 on: April 12, 2007, 05:16:36 AM »
all the little icons used in the lists... this lets you change them without recompiling.
also allows the icons to be any size up to 24x24 and full 16bit colour
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: loadable iconsets
« Reply #4 on: April 12, 2007, 06:45:39 AM »
Neat. The default icons can be a bit small on some screens, so this is nice. On my H140 it isn't too bad, but I imagine it is worse on an iPod video using something like nimbus-19.

Then there's the status bar...  :P
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: loadable iconsets
« Reply #5 on: April 12, 2007, 06:50:14 AM »
status bar is next on the list, but will probably wait till viewports...
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: loadable iconsets
« Reply #6 on: April 12, 2007, 06:56:41 AM »
Quote
hmm... I was expecting a bit more excitement over this :p

Dont worry! Just needs to be tested and played around with first! I welcome any extra customisability for rockbox especially in the graphical areas.  ;D
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline |2eM!x

  • Member
  • *
  • Posts: 74
Re: loadable iconsets
« Reply #7 on: April 12, 2007, 11:36:17 AM »
Awesome idea.  Can this be utilized by themes?  I.E. will it allow every theme a different icon set?
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: loadable iconsets
« Reply #8 on: April 12, 2007, 11:37:08 AM »
yes
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline |2eM!x

  • Member
  • *
  • Posts: 74
Re: loadable iconsets
« Reply #9 on: April 12, 2007, 11:38:50 AM »
Okay well thats just plain awesome then.
Logged

Offline ColdSphinx

  • Member
  • *
  • Posts: 147
Re: loadable iconsets
« Reply #10 on: April 12, 2007, 12:11:27 PM »
There seems to be an problem when I'm loading an iconset with these lines:
Code: [Select]
iconset: /.rockbox/icons/cold_default-white_icons.6x8x16.bmp
icon height: 8
remote iconset: /.rockbox/icons/cold_remote_default_icons.6x8x2.bmp
remote icon height: 8


With out, there is no failure:


On my "default-white" iconset I yust changed the black icons to white becaus I've set my fontcolor to white.
default_icons
default-white_icons
remote_default_icons
« Last Edit: April 12, 2007, 12:30:59 PM by ColdSphinx »
Logged
Rockbox.src

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: loadable iconsets
« Reply #11 on: April 12, 2007, 03:08:22 PM »
If your icons are 1bpp "black" should match the font color, and white should be transparent.

If they're more, the color 255,0,255 will be transparent, and colors will be colors. (Assuming everything is working right).
Logged

Offline ColdSphinx

  • Member
  • *
  • Posts: 147
Re: loadable iconsets
« Reply #12 on: April 12, 2007, 03:34:43 PM »
I testet a bit and  if i load the "remote iconset" after the "iconset" then the remoteset overrites my iconset. Also if I load an external iconset I lost most of the icons in the menues.
Logged
Rockbox.src

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: loadable iconsets
« Reply #13 on: April 12, 2007, 07:11:29 PM »
I like the idea, great job  ;D
Logged

Offline ColdSphinx

  • Member
  • *
  • Posts: 147
Re: loadable iconsets
« Reply #14 on: April 13, 2007, 11:40:04 AM »
currently everything works fine, exept if I've first a line to load an iconset folowed by a line to load an remoteiconset in a config, the remoteiconset replaces the iconset. I think this could fixed by rename the settingname for the remoteiconset!?
Logged
Rockbox.src

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

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.119 seconds with 15 queries.