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/HUDWeaponMode.h

    r10721 r10724  
    3838
    3939#include <OgreOverlayManager.h>
    40 #include <OgreMaterialManager.h>
    41 #include <OgreTechnique.h>
    42 #include <OgrePass.h>
    4340#include <OgrePanelOverlayElement.h>
    4441
     
    4946#include "overlays/OverlayGroup.h"
    5047#include "weaponsystem/ReplenishingMunition.h"
     48#include "weaponsystem/WeaponMode.h"
     49#include "weaponsystem/Munition.h"
    5150
    5251namespace orxonox
     
    8483            }
    8584
    86         virtual void positionHUDChilds();
    87 
    8885    private:
    8986        virtual void updateSize();
    9087        virtual void updatePosition();
     88        virtual void positionHUDChilds();
    9189
    9290        WeakPtr<Pawn> owner_;
Note: See TracChangeset for help on using the changeset viewer.