Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Dialog_HS16/src/modules/overlays/hud/HUDDialogue.h @ 11454

Last change on this file since 11454 was 11331, checked in by dmoritz, 8 years ago

Final changes.

File size: 908 bytes
Line 
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"
13#include "tools/Timer.h"
14
15namespace orxonox
16{
17        class _OverlaysExport HUDDialogue : public OrxonoxOverlay
18    {
19        public:
20            HUDDialogue(Context* context); //!< Default Constructor.
21            virtual ~HUDDialogue(); //!< Destructor.
22
23            /**
24            @brief Sets the active picture.
25            */
26            virtual void updateTarget(std::string portrait);
27            /**
28            @brief Sets the picture to invivsible when Dialogue is over.
29            */
30            virtual void invisible();
31
32      private:
33                        Ogre::PanelOverlayElement* overlayElementIcon_;
34
35                        Timer portraitTimer; //!< The Timer which is used to set the picture back to invisible.
36    };
37}
38#endif
Note: See TracBrowser for help on using the repository browser.