Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 22, 2008, 12:06:55 AM (16 years ago)
Author:
rgrieder
Message:
  • added blankString to String so you can return ""; even if it's a const std::string&
  • fixed several bugs with aspect correct and margin alignment
  • added console commands for OrxonoxOverlays and OverlayGroups for rotate, scale and scroll (you can access the by name (from name=.. in xml file), e.g. "OrxonoxOverlay rotateOverlay SpeedBar 90)
  • converted everything in overlays/ to 4 spaces/tab ;)
  • removed all using namespace Ogre;
  • added background_ Panel to OrxonoxOverlay, since most of the derived classes can use that
  • should work now, but I'll have to test on a tardis box first
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/src/orxonox/overlays/hud/HUDFPSText.h

    r1599 r1615  
    3232#include "OrxonoxPrereqs.h"
    3333
    34 #include "HUDText.h"
     34#include "overlays/OverlayText.h"
    3535
    3636namespace orxonox
    3737{
    38   class _OrxonoxExport HUDFPSText : public HUDText, public Tickable
    39   {
    40   public:
    41     HUDFPSText();
    42     virtual ~HUDFPSText();
     38    class _OrxonoxExport HUDFPSText : public OverlayText, public Tickable
     39    {
     40    public:
     41        HUDFPSText();
     42        ~HUDFPSText();
    4343
    44     //virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
     44    private:
     45        void tick(float dt);
    4546
    46     virtual void tick(float dt);
    47 
    48   private:
    49   };
     47    private:
     48    };
    5049}
    5150#endif /* _HUDFPSText_H__ */
Note: See TracChangeset for help on using the changeset viewer.