updated: usage of new 'CGAL_Window_stream' (now typedef to 'leda_window')

This commit is contained in:
Sven Schönherr 1998-07-02 09:31:48 +00:00
parent 833c87cb91
commit 1af09cd475
1 changed files with 6 additions and 3 deletions

View File

@ -57,9 +57,12 @@ main( int, char**)
Min_ellipse me;
// open window
CGAL_Window_stream ws( 500, 500, 300, 200);
ws.set_frame_label( "CGAL Demo: Smallest Enclosing Ellipse in 2D");
CGAL_Window_stream ws( "CGAL Demo: Smallest Enclosing Ellipse in 2D");
ws.set_icon_label("CGAL");
ws.set_icon_pixrect( ws.create_pixrect( esprit_logo));
ws.set_node_width( 5);
ws.init( -100.0, 100.0, -100.0);
ws.display();
// main loop
double x, y;
@ -81,7 +84,7 @@ main( int, char**)
break;
case MOUSE_BUTTON( 2): // middle button
ws << CGAL_WHITE << me;
ws.clear();
me.clear();
break; } }