It is currently November 28th, 2022, 2:57 pm

Dashboard 1.7

A package of skins with a "theme" or by a single author
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Dashboard 1.2

Post by Seahorse »

Good spot, I appear have missed a Calc off :vomit: of the Left CPU skins which work differently to the right, essentially there are 20 LEDs to represent 100% and therefore the output to the meter needs to de divided by 5 by a calc.

Fixed and uploaded version 1.2.1... :oops:
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Dashboard 1.3

Post by Seahorse »

Version 1.3:

* Altered the widths of all rectangular skins to be identical, the 3 that were smaller made no sense to my eye! Essentially LuaCaladar, Media Player and Slideshow get bigger.
* Added drive usage bars to Hard Drive summary to better utilise the space.
* The usual fixes & tweaks I forget!

DevArt thumbnails appear to be broken today...
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

User avatar
NoWay_To_HeaVeN
Posts: 42
Joined: December 19th, 2011, 12:28 pm
Location: FR

Re: Dashboard 1.3

Post by NoWay_To_HeaVeN »

FR:
Bonjour,
Excellent theme :great: , mais, certains éléments sont un peu trop imposants, (pour moi :oops: ) existe-t'il un moyen d'inclure une variable de ratio de taille ?
Exemple:
volume meter est à 160x160, plutôt que de modifier sa taille à chaque mise à jour, si une option dans Settings.inc permettait de lui assigner un ratio différent, 0.5 , 0.75 , 1.25 ou 2
D'avance merci, et merci pour cet excellent travail ;-)

Google Translation:
Hello,
Excellent theme :great: , but some elements are a bit too big (for me :oops: ) is there a way to include a variable size ratio?
example:
volume meter is 160x160, rather than change its size each update, if an option Settings.inc possible to assign a different ratio, 0.5, 0.75, 1.25 or 2
In advance thank you, and thank you for the good work ;-)
Windows 10 Pro 64-bit (build 19042) / AMD Ryzen 9 3900X / RAM 16 Go / GTX960-4Go X 2
Rainmeter :4.4.0.3412 beta 64-bit (Dec 28 2020)
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Dashboard 1.3

Post by Seahorse »

Part of the size problem is I write them on my PC and the 2560 x 1600 screen gives me plenty of room to work in, which may not be so good on a small laptop screen :?

It's a fair question and it might be possible that way, but it may also prove to be too complex to maintain as not all skins are included in settings.inc due to some underlying differences in code.

That said, I have made a far simpler skin you can re-size using the mouse wheel! Let me have a look at the problem, but I suspect the answer will be large and small versions only - as per the analogue clock. How does that size (Small clock) look on your setup and what is the resolution of your screen please.
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

User avatar
NoWay_To_HeaVeN
Posts: 42
Joined: December 19th, 2011, 12:28 pm
Location: FR

Re: Dashboard 1.3

Post by NoWay_To_HeaVeN »

FR:
J'ai modifié les tailles en différents points de ton code d'origine.
J'en ai profité pour modifier les emplacements des 25 et 75 PctMark (en particulier le 75 qui pour moi indiquait 80%)
la fenêtre d'origine est dimensionnée sur 120x120 à cause des indicateurs 0/25/50/75, mais visuellement celà correspond à l'horloge 110x110...
Je vais regarder pour intégrer dans settings.inc des valeurs en dur, en changeant les étiquettes (uniquement pour le volume meter, je ne suis pas assez bon pour le reste...)
Pour répondre à tes questions, le moniteur ou j'affiche mes menus et gadgets a une résolution de 1280x1024, et c'est juste par goût personnel que je souhaite des éléments de petite taille, j'utilise Rainmeter pour "slideswtich" , l'horloge numérique de Kotoko (modifiée) et "DashBoard Volume meter" qui vient remplacer "Volume Knob"
Ci-joint le code.

Google Translation:
I changed sizes at different points in your original code.
I took the opportunity to change the locations of 25 and 75 PctMark (especially the 75 that showed 80% for me)
the original window is sized to 120x120 because of 0/25/50/75 indicators, but visually it is the clock 110x110 ...
I will look to integrate settings.inc values ​​hard, changing labels (only the volume meter, I'm not good enough for the rest ...)
To answer your questions, monitor where are located my menus and gadgets has a resolution of 1280x1024, and that's just personal taste I want the small parts, I use Rainmeter for "slideswtich" the digital clock Kotoko (modified) and "dashboard Volume meter" which replaces "Volume Knob"
Attached code.

Code: Select all

[Rainmeter]
Author=Seahorse (AKA Osric Wuscfrea) mr.seahorse@gmail.com
Update=1000
BackgroundMode=2
SolidColor=0,0,0,1
UseD2D=1
MouseScrollDownAction=[!CommandMeasure "MeasureWin7Audio" "ChangeVolume -#VolumeStep#"][!Update]
MouseScrollUpAction=[!CommandMeasure "MeasureWin7Audio" "ChangeVolume +#VolumeStep#"][!Update]
MiddleMouseUpAction=["#@#Settings.inc"]

[Metadata]
Name=Volume Control
Version=1.0
License=Creative Commons BY-NC-SA 3.0
Information=Description: Volume control | Instructions: Adjust master volume level by scrolling with mouse wheel. | Credits: Increment code based on clock code by Smurfier.

;1.01 - Tweaked calculation value.
;1.0 - Base version

;===============================================================================================
;Variables
;===============================================================================================

[Variables]

;Fonts & Colours
@include="#@#\Settings.inc"
VolumeStep=5
IncrementStart=46
;from Centre
IncrementLength=34
IncrementAngle=(1/32)
IncrementSpace=((2*PI)*(1/27))
MeterStartAngle=1.6107963


;-----------------------------------------------------------------------------------------------
;Styles
;-----------------------------------------------------------------------------------------------

[RingStyle]
W=120
H=120
X=5
Y=5
StartAngle=1.5707963
RotationAngle=4.7123889
LineColor=#Colour4#
Solid=1
Antialias=1

[PercentMarkerStyle]
W=120
H=120
X=5
Y=5
StartAngle=1.5707963
LineWidth=3
LineColor=#Colour4#
Solid=0
Antialias=1

;===============================================================================================
;Measures
;===============================================================================================

[MeasureWin7Audio]
Measure=Plugin
Plugin=Win7AudioPlugin.dll

;Add & subtract 1 to force a numeric output.
[PercentageCalc]
Measure=Calc
Formula=(MeasureWin7Audio+1-1)
MinValue=0
MaxValue=100

[ReductionCalc]
Measure=Calc
Formula=(PercentageCalc/5)

;===============================================================================================
;Meters
;===============================================================================================

;-----------------------------------------------------------------------------------------------
;Rings
;-----------------------------------------------------------------------------------------------

[MeterInnerRing]
Meter=ROUNDLINE
MeterStyle=RingStyle
LineLength=33
LineStart=32

[MeterMiddleRing]
Meter=ROUNDLINE
MeterStyle=RingStyle
LineLength=48
LineStart=47

[MeterOuterRing]
Meter=ROUNDLINE
MeterStyle=RingStyle
LineLength=50
LineStart=51

;-----------------------------------------------------------------------------------------------
;Percent Markers
;-----------------------------------------------------------------------------------------------

[Meter0PctMark]
Meter=ROUNDLINE
MeterStyle=PercentMarkerStyle
StartAngle=1.5707963
LineLength=51
LineStart=32

[Meter25PctMark]
Meter=ROUNDLINE
MeterStyle=PercentMarkerStyle
;StartAngle=2.6179938 modified to match exactly with 25
StartAngle=2.7479938
LineLength=51
LineStart=32

[Meter50PctMark]
Meter=ROUNDLINE
MeterStyle=PercentMarkerStyle
StartAngle=3.9269908
LineLength=51
LineStart=32

[Meter75PctMark]
Meter=ROUNDLINE
MeterStyle=PercentMarkerStyle
;StartAngle=5.2595865 modified to match exactly with 75 was 80
StartAngle=5.0695865
LineLength=51
LineStart=32

[Meter100PctMark]
Meter=ROUNDLINE
MeterStyle=PercentMarkerStyle
StartAngle=6.2831853
LineLength=51
LineStart=32

;-----------------------------------------------------------------------------------------------
;Percentage Text
;-----------------------------------------------------------------------------------------------

[Meter0Text]
Meter=String
MeterStyle=StringStyle
X=57
Y=113
Text="0"

[Meter25Text]
Meter=String
MeterStyle=StringStyle
X=-1
Y=75
Text="25"

[Meter50Text]
Meter=String
MeterStyle=StringStyle
X=9
Y=19
Text="50"

[Meter75Text]
Meter=String
MeterStyle=StringStyle
X=76
Y=2
Text="75"

[Meter100Text]
Meter=String
MeterStyle=StringStyle
X=93
Y=64
Text="100%"

;-----------------------------------------------------------------------------------------------
;Main Display
;-----------------------------------------------------------------------------------------------

[MeterLED]
H=120
W=120
x=5
y=5
Solid=1
LineStart=#IncrementStart#
LineLength=#IncrementLength#
LineColor=#Colour4#
AntiAlias=1
DynamicVariables=1

[MeterMainText]
Meter=String
MeasureName=PercentageCalc
X=67
Y=45

MeterStyle=StringStyle
StringAlign=Center
FontSize=16
Text="%1%"

[MeterMainLabel]
Meter=String
X=r
Y=17r
MeterStyle=StringStyle
StringAlign=Center
Text="Volume"

;-----------------------------------------------------------------------------------------------
;Roundline Calcs
;-----------------------------------------------------------------------------------------------

[CalcLED1]
Measure=Calc
Formula=(ReductionCalc>=1)*#IncrementAngle#

[MeasureLED1]
Meter=Roundline
MeasureName=CalcLED1
StartAngle=#MeterStartAngle#
MeterStyle=MeterLED

[CalcLED2]
Measure=Calc
Formula=(ReductionCalc>=2)*#IncrementAngle#

[CalcAngle2]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#

[MeasureLED2]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED2
StartAngle=[CalcAngle2]

[CalcLED3]
Measure=Calc
Formula=(ReductionCalc>=3)*#IncrementAngle#

[CalcAngle3]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*2

[MeasureLED3]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED3
StartAngle=[CalcAngle3]

[CalcLED4]
Measure=Calc
Formula=(ReductionCalc>=4)*#IncrementAngle#

[CalcAngle4]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*3

[MeasureLED4]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED4
StartAngle=[CalcAngle4]

[CalcLED5]
Measure=Calc
Formula=(ReductionCalc>=5)*#IncrementAngle#

[CalcAngle5]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*4

[MeasureLED5]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED5
StartAngle=[CalcAngle5]

[CalcLED6]
Measure=Calc
Formula=(ReductionCalc>=6)*#IncrementAngle#

[CalcAngle6]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*5

[MeasureLED6]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED6
StartAngle=[CalcAngle6]

[CalcLED7]
Measure=Calc
Formula=(ReductionCalc>=7)*#IncrementAngle#

[CalcAngle7]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*6

[MeasureLED7]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED7
StartAngle=[CalcAngle7]

[CalcLED8]
Measure=Calc
Formula=(ReductionCalc>=8)*#IncrementAngle#

[CalcAngle8]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*7

[MeasureLED8]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED8
StartAngle=[CalcAngle8]

[CalcLED9]
Measure=Calc
Formula=(ReductionCalc>=9)*#IncrementAngle#

[CalcAngle9]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*8

[MeasureLED9]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED9
StartAngle=[CalcAngle9]

[CalcLED10]
Measure=Calc
Formula=(ReductionCalc>=10)*#IncrementAngle#

[CalcAngle10]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*9

[MeasureLED10]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED10
StartAngle=[CalcAngle10]

[CalcLED11]
Measure=Calc
Formula=(ReductionCalc>=11)*#IncrementAngle#

[CalcAngle11]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*10

[MeasureLED11]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED11
StartAngle=[CalcAngle11]

[CalcLED12]
Measure=Calc
Formula=(ReductionCalc>=12)*#IncrementAngle#

[CalcAngle12]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*11

[MeasureLED12]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED12
StartAngle=[CalcAngle12]

[CalcLED13]
Measure=Calc
Formula=(ReductionCalc>=13)*#IncrementAngle#

[CalcAngle13]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*12

[MeasureLED13]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED13
StartAngle=[CalcAngle13]

[CalcLED14]
Measure=Calc
Formula=(ReductionCalc>=14)*#IncrementAngle#

[CalcAngle14]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*13

[MeasureLED14]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED14
StartAngle=[CalcAngle14]

[CalcLED15]
Measure=Calc
Formula=(ReductionCalc>=15)*#IncrementAngle#

[CalcAngle15]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*14

[MeasureLED15]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED15
StartAngle=[CalcAngle15]

[CalcLED16]
Measure=Calc
Formula=(ReductionCalc>=16)*#IncrementAngle#

[CalcAngle16]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*15

[MeasureLED16]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED16
StartAngle=[CalcAngle16]

[CalcLED17]
Measure=Calc
Formula=(ReductionCalc>=17)*#IncrementAngle#

[CalcAngle17]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*16

[MeasureLED17]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED17
StartAngle=[CalcAngle17]

[CalcLED18]
Measure=Calc
Formula=(ReductionCalc>=18)*#IncrementAngle#

[CalcAngle18]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*17

[MeasureLED18]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED18
StartAngle=[CalcAngle18]

[CalcLED19]
Measure=Calc
Formula=(ReductionCalc>=19)*#IncrementAngle#

[CalcAngle19]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*18

[MeasureLED19]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED19
StartAngle=[CalcAngle19]

[CalcLED20]
Measure=Calc
Formula=(ReductionCalc>=20)*#IncrementAngle#

[CalcAngle20]
Measure=Calc
Formula=#MeterStartAngle#+#IncrementSpace#*19

[MeasureLED20]
Meter=Roundline
MeterStyle=MeterLED
MeasureName=CalcLED20
StartAngle=[CalcAngle20]
Windows 10 Pro 64-bit (build 19042) / AMD Ryzen 9 3900X / RAM 16 Go / GTX960-4Go X 2
Rainmeter :4.4.0.3412 beta 64-bit (Dec 28 2020)
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Dashboard 1.3

Post by Seahorse »

Your angles are fine, I made adjustments by eye when generating the template and never did get round to re-checking the radians, so well spotted :D

I will apply the change to all round meters and check the angles for the right side meters when I can get back on my main PC which is awaitng the completion of my new study which should be ready tomorrow.

I will then have a look at either scaling or making a second set of half-sized meters depending on the complexity of the former... :oops:
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Dashboard 1.4

Post by Seahorse »

No progress on scaling, I think the complexity of the style editing task may be beyond me. I may still add some half size variants, but I will experiment with that a little later. For now I have added another 6 skins and made a few changes here and there. The hardest was the disk read/write speeds where I could not see the missing word for about 48 hours... :twisted:
  • Added rectangular Volume skin - toggle playback device, mouse wheel scroll or click on bar to change volume.
  • Added playback device toggling to Round Volume control.
  • Added Round GPU Load Meters.
  • Added GPU VRM Summary skin showing voltage and temperature skin for over-clockers.
  • Added Round Swap Memory (Virtual Memory) meters.
  • Added Hard Drive Read/Write Summary skin showing current & Max values and disk activity.
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

User avatar
ScoobSTi
Posts: 127
Joined: September 12th, 2012, 10:49 pm

Re: Dashboard 1.4

Post by ScoobSTi »

I'm currently developing a skin where every element that involves size uses a formula based on the user's resolution.

For example, I have a Google Search skin and the width is:

Code: Select all

W=(#SCREENAREAWIDTH#/2)
Maybe you could implement something similar in your suite? It may break a lot of things, as it is quite hectic. Also, you might have to rewrite entire skins if you go this way. Just an idea. :thumbup:
Image
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Dashboard 1.4

Post by Seahorse »

I have used the same principle in my Star trek View Screen Lights skin and it works well but the problem lies with the alignment arcs (distance between them) and the slightly different layout between left & right round meters. Then you also need to realign text, font size etc. Could also be my tiny brain being overloaded... :handtohead:

Still, probably worth a test skin or two to see how it goes... ;-)
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Dashboard 1.5

Post by Seahorse »

As you may have noticed I have be on an auto-scale rampage with a series of clocks of late, I have been building up from the simplest one to the most complex roundline skins I have written and these have been building blocks for me to fully wrap my head around the method, problems and implementation of auto-scaling skins. The destination was the round meters in my Dashboard suite which required a complete overhaul of settings.inc, Styles and lot's of maths changing H & W etc from numbers to calculations.

The first test skin took a few hours but lots of bits would not scale correctly and it took a considerable effort to move code between styles and measures as appropriate to cure the problem. Unlike all the clock skins all of which are self contained, the problem was split between both the settings.inc and the skin itself taking 3 days to iron out.

Once I had it working as intended it took another day to edit all the skins to the new template.

Anyhow, what you can now do is change one variable in Settings.inc (middle mouse click a skin) - edit "Radius" and you have all of your round meters the same size with the option to re-size on the fly with your mouse wheel. Edit the 3 colours and you have a look that fits your desktop.

This also means I have ditched the small clock, reduced the code in all round meters, fully centralised styles and answered requests for both larger and smaller skins in one fell swoop... :sly:

* Fixed colour variables for rectangular meter borders (missing in most cases).
* Added scaling to all round meters - wheel mouse scroll to adjust. Note the the round Volume meter uses the large digital display in the centre to change volume with scroll wheel and the remainder of the skin for auto-scale.
* Larger media player control buttons for ease of use.
* Consolidation of all styles to settings.inc which can be edited by middle mouse clicking on any skin. The Radius variable defines the default size of ALL round meters, currently set to 80 - remember this number is doubled in the resulting skins.
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt