Posts: 77
Threads: 27
Joined: Dec 2004
Nice work, Nek. :-) I'm pleased to see this graphics library progressing so wonderfully - the documentation is simple, but yet explains everything perfectly. And a CHM version is great for the seemingly hundreds of IDE's in progress :-)
Posts: 3,288
Threads: 167
Joined: Nov 2001
Great job!!!
Is there a translucent sprite routine?
Posts: 268
Threads: 9
Joined: Dec 2004
nope, code you own :wink:
Seriously, this is a bit out of scope for a default gfxlib. It was ok to add MULTIKEY and GETMOUSE as this way you have a portable easy way to handle keyboard and mouse, but adding stuff you can easily code on top of gfxlib in FB itself is not really needed IMHO...
What would be nice would be an addon lib written in FB itself that sits on top of gfxlib and adds various new features like privitives drawing on buffers of any size, sprites rotation, blending and such.
Posts: 3,288
Threads: 167
Joined: Nov 2001
I could do that fast enough in inline asm. I was just wondering if you would add it.
BTW, whats the pixel format of GFXlib's sprite and DDraw DC in 32 bit?
would:
Code:
pixel = r shl 16 or g shl 8 or b
work?
Posts: 268
Threads: 9
Joined: Dec 2004
See the docs, appendix C
Posts: 780
Threads: 49
Joined: Dec 2001
Amazing.
One thing - this is 2005...txt is king but HTML is god. I will be making a nice HTML version of this for online easy viewing soonish.
Posts: 1,407
Threads: 117
Joined: Dec 2002
Angelo: Just a suggestion:
Could you add a simple message box, with a pair of buttons Yes/No or Accept/Cancel?
Is a pity having a so useful built-in library and not have the possibility to show simple messages/options to the user in a portable way. Windows user32's MessageBox will probably not work in Linux...
Well, I could draw myself a message box in the graphics window everytime i need one.
I ask for it because it seems just a simple wrapper function to me...
Antoni
Posts: 268
Threads: 9
Joined: Dec 2004
aetherfox: I'd suggest you wait a couple of more days and wait for the official release... I may modify the docs a bit for 0.11.
BLOAD and BSAVE will probably be included, and maybe BLOAD will support .bmp files too.
Antoni: you don't have a message box in Linux as you have one in Win32... So making it portable would be hard. I'll think about it, but don't be sure it'll be added...
Posts: 3,279
Threads: 170
Joined: Nov 2003
aeth: you can have my html files if you want, obviously you need html files to make a chm, so...
I'd knock on wood, but my desk is particle board.
Posts: 54
Threads: 3
Joined: Jan 2005
Thx, lillo. that looks great to me.
Mipooh