Add Elevator Number to Elevators
[cs356-p1-elevator.git] / positionlabel.hpp
1 #ifndef POSITIONLABEL_HPP
2 #define POSITIONLABEL_HPP
3
4 #include <gtkmm.h>
5 #include <string>
6
7 class PositionLabel : public Gtk::Label
8 {
9         public:
10                 PositionLabel (int elevator, const std::string text="0.0");
11
12                 int getElevatorNumber() const;
13
14         private:
15                 int elevator_;
16 };
17
18 #endif /* POSITIONLABEL_HPP */
19
20 /* vim: set ts=4 sts=4 sw=4 noet tw=112: */