#include #include #include #include #include #include int main () { World* world = new World(); ButtonState* quit = new ButtonState(false); Dialog* browser = new Dialog( quit, new HBox( new HGlue(round(0.5*inch), round(0.4*inch), round(2.0*inch)), new VBox( new VGlue(round(0.3*inch), round(0.2*inch), round(1.0*inch)), new Message("The quick brown fox..."), new VGlue(round(0.3*inch), round(0.2*inch), 0), new HBox( new HGlue(round(0.3*inch), round(0.2*inch), hfil), new PushButton("Quit", quit, true) ), new VGlue(round(0.3*inch), round(0.2*inch), round(1.0*inch)) ), new HGlue(round(0.5*inch), round(0.4*inch), round(2.0*inch)) ) ); world->InsertApplication(browser); browser->Accept(); world->Remove(browser); delete browser; delete quit; delete world; return 0; }