$Date: 2005/10/24 16:34:58 $
$Revision: 1.9 $
-- creation procedure
-- creation procedure
-- Launch the application by running scene.
-- Redefine it and use it as it would be a standard
-- SDL application creation procedure
-- This will be called be the SDL Thread
-- prepare application for EiffelMedia (setup environment variables)
--
-- we need this because we can only set the environment variable if the
-- vision2 widget window is already created, otherwise this app will fail
-- creation procedure used to setup SDL
-- EM_EV_WIDGET_SCROLLABLE need this to properly set up
-- its own make_em_application.
-- Otherwise the newly created thread will work incorectly
-- Sets the SDL_WINDOWID and if needed also SDL_VIDEODRIVER to
-- the Widget. This hack is needed, because otherwise SDL will
-- draw in the wrong client window.
-- Call this function not before the widget is extended in a container,
-- or it will open a new window
-- Is Current in its default state.
-- Responsible for interaction with native graphics toolkit.
EiffelMedia widget that can be used in a vision application. There can only be one EM_WIDGET
because we need an ugly hack to draw into the widget.