Fun Sample

Compiling
To compile the example:
- Launch EiffelStudio.
- Select Use existing Ace (control file) and click OK.
- Browse to Eiffel52\examples\wel\fun\.
- Choose Ace.ace
- Choose the directory where the project will be compiled, by default the same directory containing the Ace file.
If you select another directory than the default one, please copy
images (*.bmp), icons (*.ico) and resource files (*.rc) from the
default directory (the one containing the Ace file) to the new
one.
- Click OK.
Running
After launching the program, a window will be displayed as illustrated above. Clicking the push button marked "Maze" will open a new window
and draw a maze within this window. Clicking the push button marked "Artist" will open a new window, and display output dependent on the movement of the
mouse pointer within the client area of that window. Clicking the push button marked "Fun" will open a new window which contains a fake error
message and a close push button which moves when you try to move the mouse pointer over it.
Under the Hood
Both FUN_DIALOG and ARTIST redefine
`on_mouse_move' to track the actions of the mouse pointer and respond accordingly.
This sample contains the following classes: