3 Attachment(s)
Fundialox module: Pixel dialog, Imageloading, Gdiplus included
last night I added new features in my Fundialox module. It's now possible to load Images (png, bm, jpg..) using gdiplus include files. that was a hard work to collect all necessary files for it!
all example you will find in zip folder: images, thinbasic examples, fundialox.dll.
for zak: there is also a description how to use this new syntax :)
I would be glad if there are some users here for testing the new features.
I have had two years ago experiments with "tb_graphx module". now I know where I did some mistakes in parsing and the setup of gdiplus include files to convert to a separately module ;)
Code:
' - Empty GUI script created on 04-06-2012 09:14:22 by lionheart008 (frank brübach)
' - a) dialog units and b) pixel dialog and c) true! gdiplus image loading
Module "Fundialox"
Begin Const
%myPics = 1
%myPics2
End Const
Dim hdlg As Long, hdc As Long
'------------------------------- // pixel dialog !
' here: load by using gdiplus files various image files like JPG, PNG format
IMGDL(0, "myTestDialog for ImageLoading: Swan_PNG + EasterTree_JPG",100,100,770,460) 'pixel dialog
GRAFX(%mypics,"", 0,0, 750, 450) 'load place where to load the image
grafxcol(RGB(0,0,0),RGB(0,0,200)) 'background color of pixel dialog
myPic("osterbaum1.jpg", hdc, 10,10) 'you can load several images in one scene!
myPic("schwan1.png", hdc, 400,120)
modalix(1)
best regards, happy easter days and better wheather here for germany, servus, Frank
can a mixed freebasic/powerbasic module know each other?
a) I have particular question about module correspondence between (for example) freebasic written and powerbasic written language.
It is possible that two different modul "Mr. A" (powerbasic compiled) and "Mr. B" (freebasic compiled) can know each other and work together?
Mr. A does the graphical work and Mr. B does the console work. I suppose they don't know each other and they cannot talk together in same language because of different DLL's and language structure, I am right or wrong?
b) thanks floyd for your feedback, to include gdiplus the time took nearly about 2,5 hours to implement in fundialox module :)
regards, frank