Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » theme properties file, Tick marks width

Pages: [1]
Author Topic: theme properties file, Tick marks width
xztraz
Member
Posts: 12
Post theme properties file, Tick marks width
on: September 2, 2014 (GMT)

Hi there!

Radical theme properties suggestion
Split the properties file in a Global and pid numbered files or sections with tags.

Then all variables could be defined globally in global file/section and specific pids in specific files/sections.

There could also be a variable telling which background and such to use in the properties file. (then you can re-use dial backgrounds for multiple pids)

To easily be able to match oem instrumentation the width of major and minor ticks should be settable in Properties.txt

you could call the minor tick = tock

and possibly split the radius for the major and minor ticks. i think some magic is applied to the radius parameters now to make the minors a bit smaller in lenght?

Configuration could look something like this

Suggestion of variables (+ is new, * is changed, – can be removed)

colour should also handle alpha like #rrggbbaa

+ dialBackground=

dialTickInnerRadius=
dialTickOuterRadius=
+ dialTickWidth=
+ dialTickColour=

+ dialTockInnerRadius=
+ dialTockOuterRadius=
+ dialTockWidth=
+ dialTickColour=

* dialStartAngle= (removed pid)
* dialStopAngle=

+ dialInnerWidth=
+ dialInnerColour=
+ dialOuterWidth=
+ dialOnnerColour=
+ dialGlowColour=
+ dialGlowRadius=

– globalDialStartAngle= (just define dial angles in global file/section)
– globalDialStopAngle=

displayTickColour=
displayTextTitleColour=
displayTextValueColour=
displayIndicatorColour=

font=
globalFontScale=
* hideTicks= (removed pid)
– globalHideTicks= (global file)

* textRadius_= – controls the dial text distance from centre of dial.
– globalTextRadius= – global option for all dials to control text placement

this is kind of starting to look as a .css file.. maybe thats the answer to fully customizable dials :)

xztraz
Member
Posts: 12
Post Re: theme properties file, Tick marks width
on: December 2, 2014 (GMT)

Was this a bad idea? :)

Would like to be able to set minor tick sizes and change the with of the dial top and bottom.

Want to match these dials

Pages: [1]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.008 seconds.

  Follow me on twitter