hello_world.cpp

Go to the documentation of this file.
00001 
00005 #include <vve.h>
00006 
00007 class HelloWorldModel : public Model
00008 {
00009   HelloWorldModel(QObject *parent)
00010     : Model(parent)
00011   { }
00012 
00013   void step()
00014   { }
00015 
00016   void draw( Viewer* viewer )
00017   {
00018     viewer->drawText(5, 5, "Hello world!");
00019   }
00020 
00021 };
00022 
00023 DEFINE_MODEL(HelloWorldModel);
00024 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Fri May 31 15:37:49 2013 for VVE by  doxygen 1.6.3