12-29-2004, 07:49 PM
First to the important thing. You can download the demo-programs at
http://www.theuserbl.ag.vu/gdemo.zip
In this zip-file are the following files included:
- graphis.bi
- letter.bi
- loadbmp.bi
- gptcext.bi
- freebas.bmp
- gdemoptc.bas
- gdemosdl.bas
- gextdemo.bas
With this files the example programs at
http://forum.qbasicnews.com/viewtopic.php?t=7716
are obsolete.
About the files:
graphis.bi gives support for drawing lines, ellipses, rects, etc.
letter.bi includes commands like GCOLOR, GLOCATE and GPRINT.
At the moment you can only write all uppercase letters and only lowercase letter until "s" with it.
Numbers and other things like +/*-§$%&!"()=... etc are at the moment not supported
loadbmp.bi loads black/white bitmaps. It don't call functions in sdl or ddraw which implementing the same. It is completely a own implementation from me. It is written in freeBasic.
freebas.bmp is a black/white image used by gdemoptc.bas and gdemosdl.bas.
gdemoptc.bas is based on the graphic-runtime in fb's tinyptc.bas.
It demonstrates the use of graphis.bi, letter.bi and loadbmp.bi
gdemosdl.bas is the same program as gdemoptc.bas, but is based on libsdl
gptcext.bi is only in very early stage. At the moment I want to try to implement GINPUT. But at the moment .... its only at the beginning.
gextdemo.bas demonstrates gptcext.bi
But at the moment the program asks only for one letter. And if you have pressed a key on your keyboard it says in the graphic window, which letter you have pressed.
Greatings
theuserbl
http://www.theuserbl.ag.vu/gdemo.zip
In this zip-file are the following files included:
- graphis.bi
- letter.bi
- loadbmp.bi
- gptcext.bi
- freebas.bmp
- gdemoptc.bas
- gdemosdl.bas
- gextdemo.bas
With this files the example programs at
http://forum.qbasicnews.com/viewtopic.php?t=7716
are obsolete.
About the files:
graphis.bi gives support for drawing lines, ellipses, rects, etc.
letter.bi includes commands like GCOLOR, GLOCATE and GPRINT.
At the moment you can only write all uppercase letters and only lowercase letter until "s" with it.
Numbers and other things like +/*-§$%&!"()=... etc are at the moment not supported
loadbmp.bi loads black/white bitmaps. It don't call functions in sdl or ddraw which implementing the same. It is completely a own implementation from me. It is written in freeBasic.
freebas.bmp is a black/white image used by gdemoptc.bas and gdemosdl.bas.
gdemoptc.bas is based on the graphic-runtime in fb's tinyptc.bas.
It demonstrates the use of graphis.bi, letter.bi and loadbmp.bi
gdemosdl.bas is the same program as gdemoptc.bas, but is based on libsdl
gptcext.bi is only in very early stage. At the moment I want to try to implement GINPUT. But at the moment .... its only at the beginning.
gextdemo.bas demonstrates gptcext.bi
But at the moment the program asks only for one letter. And if you have pressed a key on your keyboard it says in the graphic window, which letter you have pressed.
Greatings
theuserbl