Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!uunet!mcsun!ukc!cf-cm!csjpr From: csjpr@computing-maths.cardiff.ac.uk (C St J P Ryan) Newsgroups: comp.lang.eiffel Subject: Eiffel2.2 problem with graphics..need help. Message-ID: <1990Nov29.182654.984@computing-maths.cardiff.ac.uk> Date: 29 Nov 90 18:26:54 GMT Organization: University of Wales College of Cardiff Lines: 51 Hello Eiffel users, I set up a class(see below) to display a segment in a window on the screen. When I execute the class the window appears but the segment will not appear unless i resize the window manually. Does anybody know why this is so?? class elem_graphics --run under OpenWindows2.0 inherit graph_window; dev_const; feature Create is local p1,p2:point; s:segment; do initialise; p1.Create(50.0,50.0); p2.Create(100.0,100.0); s.Create(p1,p2); s.attach(my_world); s.show; windy.show; windy.display; my_world.display(windy); gas.execute; rescue; on_device.close; end; my_world:world; windy:graph_window; initialise is do my_world.Create(1.0); windy.Create; windy.size_pixel(800,800); visible:=true; visibility_changed:=true; windy.set_border_width(5); windy.cover(800.0,800.0); windy.associate(my_world); end; end; Please e-mail any info that might help. Thanks in advance, -- Chris Disclaimer: Own personal attempt at work. csjpr@uk.ac.cf.cm Internet: csjpr%cm.cf.ac.uk@nsfnet-relay.ac.uk UUCP: csjpr@cf-cm.UUCP or ...!uunet!mcsun!ukc!cf-cm!csjpr Brought to you by Super Global Mega Corp .com