Themes

From Torque OBD2 Wiki
Revision as of 13:21, 29 December 2011 by Ihawkins (talk | contribs) (Created page with 'Themes can be created for Torque and used in the app, they can also be uploaded to the theme server so that others can enjoy the theme There are several parts to a theme which a…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Themes can be created for Torque and used in the app, they can also be uploaded to the theme server so that others can enjoy the theme

There are several parts to a theme which are contained within a .zip file:

  • properties.txt - This references various settings that can be adjusted, from fonts, to needle size, colours, and the position of 'ticks' within the dial surfaces
  • background.jpg - This is the main background image that is shown on the screen
  • dial_background.png - this is the background used for circular dials
  • display_background.png - this is the background used for square displays.


As of 1.5.32 the dial_background.png and display_background.png are further expanded, so that you can now have custom backgrounds depending on the PID (sensor) the display is showing, so for an RPM dial display that you may wish to show a different background for, you would include a file named as:

dial_background_0c.png

The '0c' is the PID of the display you want that background to reference, for Speed, it's '0d' (0x0D in hex), and fuel pressure would be '0a'