Jump to content

Make application skinnable

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Frantic

Frantic

    Learning Programmer

  • Members
  • PipPipPip
  • 91 posts
How do you make an application skinable? My thoughts were to use custom graphics that the user could replace. When the application loaded the application would load the ones specified. Is this correct?

For instance, the skins would be in a directory called /skins/

followed by a new directory (name of the skin) like:
/skins/xp/

If the user has selected XP it would load the graphics from that directory instead of the default. Is this corrected?

#2
Blaze

Blaze

    Programmer

  • Members
  • PipPipPipPip
  • 117 posts
I do not see why this approach wouldn't work. I'm not sure how others hav done it but this is probably the way it is done.

I know a lot of applications have .XML files for their skins.

#3
Ronin

Ronin

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 309 posts
I couldn't really find anything about this searchin google. You approach sounds correct though. I'd use XML to determine which graphics go where on your app and where they are located.