#include #include #include #include #include #include #include #include "Grapher.h" #include static PropertyData properties[] = { #include "grapher-props" { nil } }; static OptionDesc options[] = { { nil } }; int main (int argc, char** argv) { Creator creator; Unidraw* unidraw = new Unidraw( new Catalog("/****/", &creator), argc, argv, options, properties ); World* w = unidraw->GetWorld(); Grapher* _grapher = new Grapher("_grapher", 2, 5, 100, 102); _grapher->Append(2.2, 100.2); _grapher->Append(2.6, 100.2); _grapher->Append(2.8, 100.8); _grapher->Append(3.2, 101.2); _grapher->Append(3.4, 101.4); _grapher->Append(3.8, 101.0); _grapher->Append(4.2, 100.6); w->InsertApplication(_grapher); w->Run(); delete w; return 0; }