Vision2 Widget Documentation

PreviousNext

Example Project

The example project is simply called vision2 and can be found in {EM}/example/vision2. The simplest way to work your way into the Eiffel Media Widget API is to work your way through this example.

Overview

When you have opened this example you will find several classes inside the em_vision cluster.

Here is a little overview about those two classes:

Class EM_EV_APPLICATION: Root class where the application is initialized.

Class MAIN_WINDOW and MAIN_WINDOW_IMP: Two classes representing the Vision2 Window. They are built with EiffelBuild and slightly modified to incorporate the VISION_WIDGET class.

Class VISION_WIDGET: An implementation of the EiffelMedia Vision2 Widget.

Cluster 'sample_scene': In this cluster you will find some scenes.

Cluster 'demo_opengl': In this cluster you will find some stuff for the openGl scenes

Remarks: At the moment you can't run a finalized project with the free Borland compiler. There is a bug in mtwel.lib, which will prevent to start the application. (ISE Eiffel 5.6 bug)