Fix ElevatorGUI's Gtk::Table
[cs356-p1-elevator.git] / elevatorgui.hpp
index 77f4d58..3a4b1f3 100644 (file)
@@ -27,7 +27,7 @@ class ElevatorGUI : public Gtk::Window
                ElevatorGUI (int floors, int elevators);
 
                /* Functions to be called from Elevator to change GUI status */
-               void gui_update_position_label (int elevator, float new_position);
+               void gui_update_position_label (int elevator, float new_position, Direction direction);
                void gui_unpress_call_button (int floor, Direction direction);
                void gui_unpress_request_button (int elevator, int floor);
                void gui_open_door (int elevator, int floor);