1. WinBGIm Wrapper
- Posted by Icy_Viking May 27, 2021
- 1023 views
Hello,
I have finished work on a wrapper for WinBGIm. It works as it should. I've made a simple program. I have not released it yet, however. I will if there is interest. This was mostly done for fun and practice. I have a big wrapper in the works, but that's staying a secret for now.
--Simple program code include std/machine.e include std/get.e include EuWinBGI.ew atom key = 0 initwindow(400,300,"Simple Circle - Press any key to close/Wait 2 seconds",0,0,0,1) setcolor(CYAN) circle(100,50,40) setcolor(LIGHTBLUE) circle(300,100,40) while not kbhit() do delay(2000) end while
2. Re: WinBGIm Wrapper
- Posted by Bhupen1277 May 28, 2021
- 963 views
Hello,
I have finished work on a wrapper for WinBGIm. It works as it should. I've made a simple program. I have not released it yet, however. I will if there is interest. This was mostly done for fun and practice. I have a big wrapper in the works, but that's staying a secret for now.
--Simple program code include std/machine.e include std/get.e include EuWinBGI.ew atom key = 0 initwindow(400,300,"Simple Circle - Press any key to close/Wait 2 seconds",0,0,0,1) setcolor(CYAN) circle(100,50,40) setcolor(LIGHTBLUE) circle(300,100,40) while not kbhit() do delay(2000) end while
Why a separate instruction for color?
If properly constructed, the following one line instruction would be very good!
circle(300,100,40,LIGHTBLUE)
Anyway I am intrigued.
3. Re: WinBGIm Wrapper
- Posted by Icy_Viking May 28, 2021
- 975 views
Hello,
I have finished work on a wrapper for WinBGIm. It works as it should. I've made a simple program. I have not released it yet, however. I will if there is interest. This was mostly done for fun and practice. I have a big wrapper in the works, but that's staying a secret for now.
--Simple program code include std/machine.e include std/get.e include EuWinBGI.ew atom key = 0 initwindow(400,300,"Simple Circle - Press any key to close/Wait 2 seconds",0,0,0,1) setcolor(CYAN) circle(100,50,40) setcolor(LIGHTBLUE) circle(300,100,40) while not kbhit() do delay(2000) end while
Why a separate instruction for color?
If properly constructed, the following one line instruction would be very good!
circle(300,100,40,LIGHTBLUE)
Anyway I am intrigued.
I don't know why there is a separate instruction for color, its how the library was written. I had to modify the C source code a little to get it to compile into a DLL. Here is the project.