#ifndef POSITIONLABEL_HPP
#define POSITIONLABEL_HPP
+#include "direction.hpp"
#include <gtkmm.h>
#include <string>
+#include <sstream>
+#include <iostream>
+#include <iomanip>
-class PositionLabel : public Gtk::Label
+class PositionLabel : public Gtk::Table
{
public:
PositionLabel (int elevator, const std::string text="0.0");
int getElevatorNumber() const;
+ void update_position (float floor, Direction direction);
private:
+ Gtk::Label label_;
+ Gtk::Image direction_img_;
int elevator_;
};