pfritz

August 2, 2008

Theme Specification

Filed under: edje,elitaire — pfritz @ 12:27
Tags: ,

Last weak I have finally written the theme specs for elitaire. I really didn’t thought that it’d take that much time to do that. But now it is ready and in cvs. I also namespaced the group parts, so new themes can now be shared on exchange. Hopefully it will lead people to write their own themes.

Here are some tips for those writing an edje based application. So you can learn from my mistakes.

  1. Use a name space for your theme groups. It used to unimportant, but now with exchange it is needed.
  2. Write a theme specification before or while your writing the c code for it. It is a hard to write it after your application is finished, because you need then to grep for all the relevant part names, groups, signals, etc. Writing the spec before you start to code serves you to get a consistent naming.
  3. Don’t write the theme specification with your own theme in mind. People can and want to arrange things different then you.

Of course I know that when you start to write an application you want something that works first, before you start worrying about things like theme specifications. But don’t forget to write it as soon as possible.

Advertisements

Blog at WordPress.com.