Open EpicNet opened 2 years ago
- Add functionality of the
transparent
style, so that only the background can become transparent (without affecting the text and border) and the transparency level was regulation using the command: "/xdid -R $dname 1 +b 1 [0-255]".
I apologize for the belated comments and changes made, but it took a little time to think more carefully about how this should work. I thought so that probably this will be more correct to do as an additional alternative design style, so as not to break backward compatibility with scripts that were already created in the old style (who liked this appearance more). Therefore, if possible, should make the inclusion of a new mode for displaying transparency with style transparent
, so that the transparency level (for the background only) is regulation through the specified parameter number "2" in the command: "/xdid -R $dname 1 +b 2 [0-255]" - without changing how it works with the specified parameter number "1", when the entire control becomes transparent, not just its background.
This also goes for my proposals for the "RichEdit" and "IP Address" controls, and maybe for something else in the future. If it can be done, it will be a super effect and I will welcome it. Thanks.
I am using "mIRC v7.66" + "DCX dll v3.1-git428" in system "Windows 8.1 x64".
My proposals for what needs to be corrected and added in "Edit", to make it maximally functional and beautiful:
+a
new flag: "/xdid -x dcx 4 +a 1".+a
new flag: "/xdid -C dcx 4 +a $rgb(255,0,0)".showlinenumbers
using the command: "/xdid -g".multi
style.password
to set any character from the Unicode table. For example: "/xdid -j dcx 4 1 ⦁".transparent
, so that only the background can become transparent (without affecting the text and border) and the transparency level was regulation using the command: "/xdid -R dcx 4 +b 2 [0-255]" - through the number+b 2
, so as not to break backward compatibility for those who use the effect through the number+b 1
.P.S. Perhaps I did not take into account something, forgot to mention or lost sight of what else needs to be done, or on the contrary, made a request about something useless, or maybe after that you have new interesting ideas, therefore, in order to avoid misunderstandings expressed in multiple corrections and rewriting of the code - we can always preliminarily think about this update and discuss in detail the innovations in the chat, so that this control becomes versatile enough, functional, maximally customizable and suitable for any design, in a own peculiar style. Thanks.
Here is a test piece of script to reproduce this the problem. To run the script click on "F5" or enter the command "/edit_test":