From: Ira W. Snyder Date: Tue, 9 Oct 2007 19:49:53 +0000 (-0700) Subject: Remove Debug Code X-Git-Url: https://irasnyder.com/gitweb/?a=commitdiff_plain;h=83847e4b04e3516170ff206f0b1c30e5f2d5cc73;p=cs356-p1-elevator.git Remove Debug Code Signed-off-by: Ira W. Snyder --- diff --git a/TODO b/TODO index 2f1a1ff..47d2a3a 100644 --- a/TODO +++ b/TODO @@ -3,8 +3,6 @@ with their direction, as well as just an integer version of their position. Move the PositionLabels to the top of the screen. -Remove debug code from GUI setup - Make the input of floors and elevators GUI based (dialog boxes) Four buttons: Start, Pause, Resume, Quit diff --git a/elevatorgui.cpp b/elevatorgui.cpp index f9d03a1..630a855 100644 --- a/elevatorgui.cpp +++ b/elevatorgui.cpp @@ -30,8 +30,6 @@ ElevatorGUI::ElevatorGUI (int floors, int elevators) /* Fill in all of the ElevatorDoors and CallButtons */ for (f_attach=0, f=floors-1; f>=0; --f, ++f_attach) { - std::cout << "at floor: " << f << std::endl; - /* Create and attach the VBox */ Gtk::VBox *box = new Gtk::VBox (); table_.attach (*box, 0, 1, f_attach, f_attach+1); @@ -74,7 +72,6 @@ ElevatorGUI::ElevatorGUI (int floors, int elevators) for (e=0; e