Version 20.08 (beta)
Apr 11, 2022 10:04:02 GMT
Post by Admin on Apr 11, 2022 10:04:02 GMT
Hi! - This is a "beta" version ZIP and includes only the changed files. Download here
Made a bunch of changes... One which may affect you is that the default font is now a bit larger since I stopped using the old bitmap font in favor of the current Windows font. See below if this is a problem.
CHANGES:
- Added command IMAGE UTEXT L T W H Text - for printing colored emojis onto bitmaps (for icons etc)
(obeys the IMAGE TXSTYLE, PEN and FONT settings)
- Enabled ATTR SHAPE for xIMAGE events (all controls actually, but only tested xImage for now).
Same arguments as with WINATTR SHAPE except you give them all in one string as follows:
- attr SHAPE IMAGE/myImage/255/0/255/30/30/30 // 1st 3 numbers are the transparent color, next 3 the tollerance
- attr SHAPE ELLIPSE/10/10/10/10 (and so on, same as in winattr shape)
- Added the ability for an xIMAGE event to act as a Checkbox, ie, when clicked it stays pressed until clicked again:
- To enable it, give the CHECK style
- To get the event's state, use the new $$EVENT.SELECTED (or CHECK) internal variable (0=normal, 1=selected)
(you must "USE EVENT GuiName EventID" first)
- xTEXTBOX can now take 3 additional styles:
- TRANSPARENT - will leave the bacground alone and only change the text
- SHADOW & OUTLINE - will make the text look 3D by creating a "shadow" or in OUTLINE an outline.
(see help file for details)
- Fixed - sometimes mouse-clicks were not recognized to end visual edits (returned no-client area..)
- Started using the approved way of getting system fonts. (no self-respecting app uses the old way anymore)
This resulted in a little larger default font! Declare WINATTR FONT LEGACY to undo, if wanted, in a given gui
You can also use WINATTR FONT "Arial/11" to set the default font for a gui (existed but undocumented?)
- When defining attr COLOR or winattr Color you can also give a "Shadow" color and thickness which is used
by xTextBox. Also, you can now give one of several pre-defined colors (see help)
- Fixed translation so it can handle \#$variable (decimal) and \##$variable (unicode) character definitions
(used to only worked if you gave an actual number)
- ICON IMAGE myImage - now the image is resized before being added to the iconlists (better quality)
- Image BLIT can now handle negative numbers better
- changed bitwise operations "~&|" to unsigned int so they can handle xFFFFFFFF (max 32 bit)
- Added <<< and >>> operators for "Logical" right and left bit-shift operations
(the << and >> are arithmetic (using signed integers), so as to also handle negative numbers)
- Fixed -- Random never returned the maximum value
- Updated Help file
Added GUIs:
- Home:tutorials/SkinnedGui/ - to test the new SHAPE attr, transparent xTextbox, etc
- Home:gui/AddEmojiAsIcon.gc - to create iconlist on the fly
- Home:tutorials/151-Icons from Emojis.gui - To test the above icon creator gui
- Home:tutorials/092-Arrays.gui - using arrays to check the random command
Also Added a Video Tutorial on how to make a simple DLL from scratch