Next Previous Contents

4. Theme's Section

4.1 About Themes

The Themes for OpenMine are 29 Bitmaps located in a directory with the name of the theme in the 'images' directory. Each theme MUST have a 'theme.conf' file in the directory. If you want to include your theme into the oficial distribution of OpenMine send it to Caco_Patane and it will be included into the OpenMine Site or in the distribution.

4.2 Creating your own Theme

To create your own theme you must to follow these steps:
4.2.1 Create the directory
First at all we have to create the directory to put all files of the theme into. The name of the directory it will be the name of the theme and where you have to put all the bitmaps and the 'theme.conf' file.

Example (in Linux):
$ mkdir foo-theme
4.2.2 Creating the Bitmaps
Now you have to create 29 Bitmaps of 32x32 pixels in the program you like (Gimp for example) and put the images into the directory created. The images requiered are: We recommend that logical names be given to each image like "mine01.bmp" or "mine-mark.bmp" and things like that (?). If you want to view a theme already created go to the /images/ directory of OpenMine and take a look at the two themes currently included.
4.2.3 The 'theme.conf' File
In the theme directory, you must create a file (with any text editor) called 'theme.conf' with this format:


Next Previous Contents