QTfrontend/frameTeam.h
author unc0rr
Sat, 08 Jul 2006 21:40:03 +0000
changeset 74 42257fee61ae
parent 63 27e2b5bb6d4b
child 117 d21a48200772
permissions -rw-r--r--
- Unicode support for team and hedgehogs names - Clouds move in vertical direction also - Many fixes to hedgehog physics - Support for different images in 16 and 32 bit screen resolution - Fixed bots behavior after attack - Fixed camera behavior right after the game start
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
63
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
     1
#ifndef _FRAME_TEAM_INCLUDED
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
     2
#define _FRAME_TEAM_INCLUDED
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
     3
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
     4
#include <QWidget>
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
     5
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
     6
#include "teamselect.h"
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
     7
#include <map>
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
     8
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
     9
class FrameTeams : public QWidget
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    10
{
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    11
  Q_OBJECT
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    12
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    13
 public:
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    14
  FrameTeams(QWidget* parent=0);
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    15
  QWidget* getTeamWidget(tmprop team);
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    16
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    17
 public slots:
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    18
  void addTeam(tmprop team);
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    19
  void removeTeam(tmprop team);
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    20
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    21
 private:
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    22
  QVBoxLayout mainLayout;
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    23
  typedef map<tmprop, QWidget*> tmapTeamToWidget;
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    24
  tmapTeamToWidget teamToWidget;
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    25
};
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    26
27e2b5bb6d4b Scroll added to team control widget
displacer
parents:
diff changeset
    27
#endif // _FRAME_TAM_INCLUDED