#include #include #include #include #include main() { World* w = new World; Message* m0 = new Message("00000000000000"); Message* m1 = new Message("1111111111111"); Message* m2 = new Message("22222222222"); Message* m3 = new Message("33333333"); Tray* t = new Tray(new Tray()); // t->Insert(m0); // t->Insert(m1); // t->Insert(m2); // t->Insert(m3); // t->Align(Bottom, m0, m1); // t->Align(Bottom, m1, m2); // t->Align(Bottom, m2, m3); t->VBox( t, m0, new VGlue(round(0.2*inch)), m1, new VGlue(round(0.2*inch)), m2 ); t->VBox( m2, new VGlue(round(0.2*inch)), m3, t ); t->Align(Left, m0, m1, m2, m3); // t->Align(Left, m1, TGlue(round(0.25*inch))); // t->Align(Left, m2, TGlue(round(0.25*inch))); // t->Align(Left, m3, TGlue(round(0.25*inch))); printf("Here\n"); w->InsertApplication(t); w->Run(); }