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
RevLine 
[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
15namespace 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.