Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 30, 2015, 7:51:49 PM (9 years ago)
Author:
fvultier
Message:

The weapon system HUD rescales properly if the window size changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/fabienHS15/src/modules/overlays/hud/HUDWeapon.h

    r10721 r10724  
    3737
    3838#include <OgreOverlayManager.h>
    39 #include <OgreMaterialManager.h>
    40 #include <OgreTechnique.h>
    41 #include <OgrePass.h>
    4239#include <OgrePanelOverlayElement.h>
    4340
    4441#include "overlays/OrxonoxOverlay.h"
    45 #include "overlays/OverlayText.h"
    4642#include "tools/interfaces/Tickable.h"
    4743#include "worldentities/pawns/Pawn.h"
     
    7975            { weaponIndex_ = index;
    8076              this->updatePosition();
    81             }
    82 
    83         virtual void positionHUDChilds();
     77            }       
    8478
    8579    private:
    8680        virtual void createHUDChilds();
    87        
     81        virtual void positionHUDChilds();
    8882        virtual void destroyHUDChilds();
    8983        virtual void updateWeaponModeList();
Note: See TracChangeset for help on using the changeset viewer.