eWin 0.05
A Library for Euphoria Users
© 2002-2003 Logan Kodysz
rapideuphoria@netzero.net
eWin is a library that accesses the WIN32 API through a DLL created by me. It creates a window a littler easier and exceptionally faster than that of David Cuny's Win32Lib.
The DLL included interface.dll directly calls the WIN32 API and not Win32Lib. Since interface was built with a Windows® compiler it is very fast. eWin calls two functions and two global variables inside interface.dll.
No installation is really required. All you have to do is include ewin.ew in your program source code and make sure interface.dll is either in your system files or in the same directory as ewin.ew and your program.
Now lets talk about future enhancements. I plan to build this library into a fully functional library for Euphoria Users. If you have any suggestions or things you would like to see included in future versions you can email me at rapideuphoria@netzero.net.
End User License Agreement: eWin is freeware. eWin is released for private, public, and commercial use subject to these conditions:
1. All distributions of eWin, modifications of eWin, or programs incorporating eWin shall include this End User License Agreement and the Disclaimer.
2. You may freely copy and distribute eWin.
3. You must always give due credit to me as author.
4. You may modify eWin, and may freely distribute modifications if you give notice of the fact that you have made modifications and the general nature of these modifications.
5. You may incorporate eWin, either as-is or modified, into a larger program. You may freely distribute such programs subject to conditions 1, 2, 3, and 4 if you distribute your program without charge.
6. If you wish to sell your program for a profit than you are subject to condition 3.
Disclaimer: eWin is released WITHOUT WARRANTY OF ANY KIND WHATSOEVER, whether express or implied. The author is not responsible for any damages arising from the use of this software, whether direct or indirect, incidental or consequential.
USE AT YOUR OWN RISK.
Syntax:
global function window(object title, integer x, integer y, integer width, integer height)
Description:
Creates a Window. You choose the title of the window, x and y pos, and width and height of the window.
Parameters:
title: string for the title of your window.
x: x position of your window.
y: y position of your window.
width: width of your window.
height: height of your window.
include ewin.ew
without warning
constant mywin = window("My Window", 0, 0, 800, 573)