QTfrontend/mapContainer.h
changeset 1790 c84223511ca8
parent 1366 eba12c22f8ca
child 1797 fedd8649fdd9
--- a/QTfrontend/mapContainer.h	Sat Feb 14 16:23:51 2009 +0000
+++ b/QTfrontend/mapContainer.h	Sat Feb 14 16:24:20 2009 +0000
@@ -42,6 +42,7 @@
   QString getCurrentSeed() const;
   QString getCurrentMap() const;
   QString getCurrentTheme() const;
+  int     getCurrentHHLimit() const;
 
  public slots:
   void changeImage();
@@ -57,10 +58,12 @@
 
  private slots:
   void setImage(const QImage newImage);
+  void setHHLimit(int hhLimit);
   void mapChanged(int index);
   void setRandomSeed();
   void setRandomTheme();
   void themeSelected(int currentRow);
+  void addInfoToPreview(QPixmap image);
 
  protected:
   virtual void resizeEvent ( QResizeEvent * event );
@@ -73,6 +76,8 @@
   QListWidget* lwThemes;
   HWMap* pMap;
   QString m_seed;
+  int hhLimit;
+  QPixmap hhSmall;
 
   void loadMap(int index);
 };