home *** CD-ROM | disk | FTP | other *** search
-
- //////////////////////////////////////////////////////////////////////
- // This is a driver ViewKit program generated by RapidApp 1.2
-
- //
- // This program instantiates a ViewKit VkApp object and creates
- // any main window objects that are meant to be shown at startup.
- // Although editable code blocks are provided, there should rarely.
- // be any reason to modify this file. Make application-specific
- // changes in the classes created by the main window classes
- // You can add also additional initialization in subclasses of VkApp
- //////////////////////////////////////////////////////////////////////
- #include <Vk/VkApp.h>
- #include <Inventor/Xt/SoXt.h>
-
- // Headers for window classes used in this program
-
- #include "glrduckMainWindow.h"
-
- //---- Start editable code block: headers and declarations
-
-
- //---- End editable code block: headers and declarations
-
-
- void main ( int argc, char **argv )
- {
- //---- Start editable code block: main initialization
-
- //---- End editable code block: main initialization
-
- VkApp *app;
-
- // Create an application object
-
- app = new VkApp("Glrduck", &argc, argv);
-
- //---- Start editable code block: post init
-
- //---- End editable code block: post init
- SoXt::init(app->baseWidget());
-
- // Create the top level windows
-
- glrduckMainWindow *simpleWindow =
- new glrduckMainWindow("glrduckmainwindow");
- simpleWindow->show();
-
- //---- Start editable code block: event loop
-
- //---- End editable code block: event loop
-
- app->run ();
-
-
- }
-
- //---- Start editable code block: End of generated code
-
-
- //---- End editable code block: End of generated code
-
-