Change Log for the latest
XYplorer BETA version:
Code: Select all
v17.70.0206 - 2017-03-19 12:03
+ Custom Columns: Now you can draw circles. The column has to be of type
"Script" and format "Icon", and instead of the icon specification you
return a draw command with the following syntax:
>draw.circle [diameter=smalliconsize-2], [color=textcolor], [opacity=255], [borderwidth=0]
So there is a command name "draw.circle" prefixed by ">" (to avoid any
ambiguities with possible filenames), then there are 4 arguments, all
optional with default values. If you omit all arguments, the result will
typically be a black circle of 14 pixels diameter.
Remarks:
- The Diameter is limited be the current row height of the list.
- Color is given in RRGGBB format.
- Opacity is from 1 (almost totally transparent) to 255 (fully opaque).
- If Borderwidth is > 0 then the circle is not filled but outlined.
- More than one definition can be passed, separated by ;.
- Works also with Extra Tags of type "Icon".
Example for a column script (note the logo of the French Air Force at the
bottom):
-----------------------------------------------------------
$base = getpathcomponent(<cc_name>, "base");
if (strlen($base) <= 8) {
return ">draw.circle 12, 004444, 127, 5";
} elseif (strpos($base, "t") == 0) {
return ">draw.circle 8, ff0000, 127, 3";
} elseif (strpos($base, "v") != -1) {
return ">draw.circle";
} elseif (strpos($base, "ph") == 0) {
return ">draw.circle 8, ff0000, 127";
} else {
return ">draw.circle 18, C70102; 12, FFFFFF; 6, 0380B8";
}
-----------------------------------------------------------
So here we have a pretty nerdy life time killer with a creative touch.
! MP3 Preview: Division by zero error possible. Fixed.
To
download the latest BETA version choose a download package: (1)
Installer Package, (2)
No-Install Package.
Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.