Page 2 of 5

Posted: Thu Apr 08, 2004 11:25 am
by freedimension
Version 0.8 with a feature at least I waited very long for ;-)

DrawAlphaImage blends an image over the existing background. You can use a constant alpha-value or an Image Map. See the Helpfile for more information!

Posted: Thu Apr 08, 2004 11:53 am
by dontmailme
Works fine here ;)

Very nice !

Posted: Thu Apr 08, 2004 7:46 pm
by Kale
DrawAlphaImage is FANTASTIC!!! 8O I have done some tests and am very pleased with the results. I will mainly be using it for adding nice logos/icons to the user interfaces of a few apps which look nice no matter what colour people have set their windows too! :D Very nice work!

P.S. Check out this thread for an error (and bug) i found in one of the examples supplied: viewtopic.php?p=52647

Posted: Tue Apr 20, 2004 3:01 am
by freedimension
Version 0.9
- Important: Changed X2D_AngleText() to X2D_Text. angle is now an optional parameter.
- Fixed a problem with the additional parameter in X2D_RingPie()
- Fixed: Couldn't display an angle of only one degree with X2D_RingPie()
- Added an example to X2D_SetHDC()
- Added several Debugger checks for catching illegal procedure calls.
- Added Function: X2D_SetTextAlign, X2D_GetTextAlign

Posted: Tue Apr 20, 2004 8:54 am
by spongehammer
Hi freedimension,

what a great lib :D Thank you very much.

some of the sample code in the help file has a few errors though.

X2D_SetHDC(hDC.l)

line 33 reads SetHDC(0) instead of X2D_SetHDC(0)

X2D_CopyImageToMemory

line 67 reads SetGadgetState(#1, UseImage(1)) instead of

SetGadgetState(1, UseImage(1))

I can really make use of this lib... thanks again :D

Posted: Tue Apr 20, 2004 10:59 am
by freedimension
spongehammer wrote:some of the sample code in the help file has a few errors though.
X2D_SetHDC(hDC.l)
line 33 reads SetHDC(0) instead of X2D_SetHDC(0)
I inserted this by hand when I found this command missing (resulting in a bug) in another program.
X2D_CopyImageToMemory
line 67 reads SetGadgetState(#1, UseImage(1)) instead of
SetGadgetState(1, UseImage(1))
thought I got rid of this one some time ago :oops:

Thank you for reporting, I will fix this ASAP

Posted: Tue Apr 20, 2004 11:26 am
by freedimension
FIXED

Posted: Fri May 14, 2004 6:29 am
by PolyVector
Whenever I try to compile something using this library (with PB 3.91 Beta 1) I get the error:
The following PureLibrary is missing: TB_Debugger
Is this another new-linker issue perhapse?

Posted: Fri May 14, 2004 7:45 am
by freedimension
No idea. El_Choni?

Posted: Fri May 14, 2004 12:19 pm
by El_Choni
Yes, I'm an idiot for haven't thinking of this. I'll fix TailBite so it includes the necessary code with each lib that uses TB_Debugger. Until then, you'll need the TB_Debugger lib in order to use the X2D lib in debugger mode.

Sorry again. Regards,

Posted: Sat May 15, 2004 1:34 am
by PolyVector
I wasn't using the debugger...?
I get the same error no matter how I try to compile... even to EXE...
:(

Posted: Sat May 15, 2004 1:42 am
by El_Choni
It'll be fixed in next version, Sunday or Monday. Sorry,

Posted: Sat May 15, 2004 2:05 am
by PolyVector
Thanks EC!

Posted: Thu May 20, 2004 1:17 pm
by El_Choni
Should be fixed now. Could you update TaiolBite from TBManager and see if it works ok with your lib?

Posted: Thu May 20, 2004 7:28 pm
by freedimension
Do I need to have v3.91b installed or should it also work with 3.81?