historywindow.h
changeset 381 c79df732d095
parent 377 5391ab620c95
child 388 3a58c9ef4a18
     1.1 --- a/historywindow.h	Wed Sep 06 12:47:06 2006 +0000
     1.2 +++ b/historywindow.h	Fri Sep 08 12:30:09 2006 +0000
     1.3 @@ -1,9 +1,13 @@
     1.4  #ifndef HISTORYWINDOW_H
     1.5  #define HISTORYWINDOW_H
     1.6  
     1.7 +//#include "mapeditor.h"
     1.8  #include "settings.h"
     1.9  #include "ui_historywindow.h"
    1.10  
    1.11 +
    1.12 +class MapEditor;
    1.13 +
    1.14  /////////////////////////////////////////////////////////////////////////////
    1.15  class HistoryWindow:public QDialog
    1.16  {
    1.17 @@ -12,10 +16,18 @@
    1.18  public:
    1.19  	HistoryWindow(QWidget* parent = 0);
    1.20  	void update (SimpleSettings &);
    1.21 -	
    1.22 +	void setME (MapEditor *);
    1.23 +	void setStepsTotal (int);
    1.24 +
    1.25 +private slots:	
    1.26 +	void undo();
    1.27 +	void redo();
    1.28 +	void select();
    1.29  
    1.30  private:
    1.31 +	void updateRow (int, int, SimpleSettings &);
    1.32  	Ui::HistoryWindow ui;
    1.33 +	MapEditor *mapEditor;
    1.34  };
    1.35  
    1.36