Based on some plug-in requests, I have created a plug-in that will display two horizontal bars on a single line. This plug-in will output bars similar to $Bar, but allows you to place to bars using only one line on the display.
This plug-in uses 4 characters (or 3) per use so you are limited to a max of 2 invocations per screen. However you are allowed to specify the custom characters to use.
INSTALLATION
HTwoBar.dll should be placed in the 'plugins' subdirectory of the LCD
Smartie installation directory. It requires that the Visual 2005 redistributable
package is installed on the executing computer. If necessary, this package can
be downloaded there
http://www.microsoft.com/downloads/deta ... laylang=en
USAGE
FUNCTION 1 - Only 1 function is used and it has the following parameters:
Usage: $dll(HTwoBar.dll,1,a#b#c#d#e,value1#total1#value2#total2)
Where:
a: The length of the bar in characters
b: The custom character to display a FULL BLOCK (This one is safe to reuse between two HTwoBar calls)
c: The custom character to display a partial bar with data on both graphs (Dynamicly changed on every view)
d: The custom character to display a partial bar on only one graph (Dynamicly changed on every view)
e: The custom character to display either a top bar or a bottom bar. (Dynamicly changed on every view)
example:
$dll(HTwoBar,1,10#5#6#7#4,$MemF%#100#$CPUUsage%#100)
The above will show a graph of percent memory used over percent CPU in use.
It will be ten characters long and use custom characters 4,5,6,7.
Website to download and more: http://lcdsmartie.fryar.org/htwobar.php
Rick Fryar
rickf@mindless.com
Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
HTwoBars - Two Horizontal Bars on a single line
Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo
-
- Posts: 36
- Joined: July 17th, 2007, 2:12 pm
- Contact:
HTwoBars - Two Horizontal Bars on a single line
You do not have the required permissions to view the files attached to this post.
Last edited by rfryar on August 10th, 2007, 3:20 am, edited 1 time in total.
-
- Plugin Author
- Posts: 1604
- Joined: February 13th, 2005, 7:38 pm
- Location: Athens - Greece
- Contact:
-
- Posts: 36
- Joined: July 17th, 2007, 2:12 pm
- Contact:
New Website
Just wanted to say that I have set up a website for my drivers and plug-in development: http://lcdsmartie.fryar.org/
Rick Fryar
rickf@mindless.com
Rick Fryar
rickf@mindless.com