Rev | Line | |
---|
[11292] | 1 | |
---|
| 2 | |
---|
| 3 | #ifndef _HUDDialogue_H__ |
---|
| 4 | #define _HUDDialogue_H__ |
---|
| 5 | |
---|
| 6 | #include "overlays/OverlaysPrereqs.h" |
---|
| 7 | |
---|
| 8 | #include <map> |
---|
| 9 | #include <string> |
---|
| 10 | |
---|
| 11 | #include "util/OgreForwardRefs.h" |
---|
| 12 | #include "overlays/OrxonoxOverlay.h" |
---|
[11317] | 13 | #include "tools/Timer.h" |
---|
[11292] | 14 | |
---|
| 15 | namespace orxonox |
---|
| 16 | { |
---|
[11317] | 17 | class _OverlaysExport HUDDialogue : public OrxonoxOverlay |
---|
[11292] | 18 | { |
---|
| 19 | public: |
---|
[11331] | 20 | HUDDialogue(Context* context); //!< Default Constructor. |
---|
| 21 | virtual ~HUDDialogue(); //!< Destructor. |
---|
[11292] | 22 | |
---|
[11331] | 23 | /** |
---|
| 24 | @brief Sets the active picture. |
---|
| 25 | */ |
---|
[11317] | 26 | virtual void updateTarget(std::string portrait); |
---|
[11331] | 27 | /** |
---|
| 28 | @brief Sets the picture to invivsible when Dialogue is over. |
---|
| 29 | */ |
---|
[11317] | 30 | virtual void invisible(); |
---|
[11292] | 31 | |
---|
| 32 | private: |
---|
| 33 | Ogre::PanelOverlayElement* overlayElementIcon_; |
---|
[11317] | 34 | |
---|
[11331] | 35 | Timer portraitTimer; //!< The Timer which is used to set the picture back to invisible. |
---|
[11292] | 36 | }; |
---|
| 37 | } |
---|
| 38 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.