Changeset 11129 for code/branches/ogre1.9/src/modules/overlays
- Timestamp:
- Mar 6, 2016, 3:32:26 PM (9 years ago)
- Location:
- code/branches/ogre1.9/src/modules/overlays
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ogre1.9/src/modules/overlays/FadeoutText.cc
r9667 r11129 29 29 #include "FadeoutText.h" 30 30 31 #include <OgreTextAreaOverlayElement.h> 31 #if OGRE_VERSION >= 0x010900 32 # include <Overlay/OgreTextAreaOverlayElement.h> 33 #else 34 # include <OgreTextAreaOverlayElement.h> 35 #endif 32 36 #include "util/Math.h" 33 37 #include "core/CoreIncludes.h" -
code/branches/ogre1.9/src/modules/overlays/OverlayText.cc
r11071 r11129 29 29 #include "OverlayText.h" 30 30 31 #include <OgreOverlayManager.h> 32 #include <OgrePanelOverlayElement.h> 33 #include <OgreTextAreaOverlayElement.h> 31 #if OGRE_VERSION >= 0x010900 32 # include <Overlay/OgreOverlayManager.h> 33 # include <Overlay/OgrePanelOverlayElement.h> 34 # include <Overlay/OgreTextAreaOverlayElement.h> 35 #else 36 # include <OgreOverlayManager.h> 37 # include <OgrePanelOverlayElement.h> 38 # include <OgreTextAreaOverlayElement.h> 39 #endif 34 40 35 41 #include "util/StringUtils.h" -
code/branches/ogre1.9/src/modules/overlays/hud/ChatOverlay.cc
r11083 r11129 30 30 31 31 #include <string> 32 #include <OgreTextAreaOverlayElement.h> 32 33 #if OGRE_VERSION >= 0x010900 34 # include <Overlay/OgreTextAreaOverlayElement.h> 35 #else 36 # include <OgreTextAreaOverlayElement.h> 37 #endif 33 38 34 39 #include "util/Convert.h" -
code/branches/ogre1.9/src/modules/overlays/hud/ChatOverlay.h
r11071 r11129 33 33 34 34 #include <list> 35 #include <OgreOverlayElement.h> 35 36 #include <OgrePrerequisites.h> 37 #if OGRE_VERSION >= 0x010900 38 # include <Overlay/OgreOverlayElement.h> 39 #else 40 # include <OgreOverlayElement.h> 41 #endif 36 42 37 43 #include "chat/ChatListener.h" -
code/branches/ogre1.9/src/modules/overlays/hud/HUDBar.cc
r11071 r11129 32 32 #include "HUDBar.h" 33 33 34 #include <OgreOverlayManager.h>35 34 #include <OgreMaterialManager.h> 36 35 #include <OgreTechnique.h> 37 36 #include <OgrePass.h> 38 #include <OgrePanelOverlayElement.h> 37 38 #if OGRE_VERSION >= 0x010900 39 # include <Overlay/OgreOverlayManager.h> 40 # include <Overlay/OgrePanelOverlayElement.h> 41 #else 42 # include <OgreOverlayManager.h> 43 # include <OgrePanelOverlayElement.h> 44 #endif 39 45 40 46 #include "util/Convert.h" … … 248 254 return this->icon_->getMaterialName(); 249 255 } 256 257 void HUDBar::setIconPosition(Vector2 position) 258 { 259 this->icon_->setPosition(position.x, position.y); 260 } 261 262 void HUDBar::setIconDimensions(Vector2 dimensions) 263 { 264 this->icon_->setDimensions(dimensions.x, dimensions.y); 265 } 250 266 } -
code/branches/ogre1.9/src/modules/overlays/hud/HUDBar.h
r11071 r11129 37 37 #include <map> 38 38 #include <vector> 39 #include <OgrePanelOverlayElement.h>40 39 41 40 #include "util/Math.h" … … 122 121 { return this->currentColour_; } 123 122 124 inline void setIconPosition(Vector2 position) 125 { this->icon_->setPosition(position.x, position.y); } 126 inline void setIconDimensions(Vector2 dimensions) 127 { this->icon_->setDimensions(dimensions.x, dimensions.y); } 123 void setIconPosition(Vector2 position); 124 void setIconDimensions(Vector2 dimensions); 128 125 129 126 protected: -
code/branches/ogre1.9/src/modules/overlays/hud/HUDNavigation.cc
r11071 r11129 32 32 33 33 #include <OgreCamera.h> 34 #include <OgreFontManager.h> 35 #include <OgreOverlayManager.h> 36 #include <OgreTextAreaOverlayElement.h> 37 #include <OgrePanelOverlayElement.h> 34 35 #if OGRE_VERSION >= 0x010900 36 # include <Overlay/OgreFontManager.h> 37 # include <Overlay/OgreOverlayManager.h> 38 # include <Overlay/OgreTextAreaOverlayElement.h> 39 # include <Overlay/OgrePanelOverlayElement.h> 40 #else 41 # include <OgreFontManager.h> 42 # include <OgreOverlayManager.h> 43 # include <OgreTextAreaOverlayElement.h> 44 # include <OgrePanelOverlayElement.h> 45 #endif 38 46 39 47 #include <typeinfo> -
code/branches/ogre1.9/src/modules/overlays/hud/HUDRadar.cc
r11071 r11129 31 31 #include "HUDRadar.h" 32 32 33 #include <OgreOverlayManager.h> 34 #include <OgrePanelOverlayElement.h> 33 #if OGRE_VERSION >= 0x010900 34 # include <Overlay/OgreOverlayManager.h> 35 # include <Overlay/OgrePanelOverlayElement.h> 36 #else 37 # include <OgreOverlayManager.h> 38 # include <OgrePanelOverlayElement.h> 39 #endif 35 40 36 41 #include "util/Math.h" -
code/branches/ogre1.9/src/modules/overlays/hud/HUDWeapon.cc
r11071 r11129 28 28 29 29 #include "HUDWeapon.h" 30 31 #if OGRE_VERSION >= 0x010900 32 # include <Overlay/OgreOverlayManager.h> 33 # include <Overlay/OgrePanelOverlayElement.h> 34 #else 35 # include <OgreOverlayManager.h> 36 # include <OgrePanelOverlayElement.h> 37 #endif 30 38 31 39 #include "core/CoreIncludes.h" -
code/branches/ogre1.9/src/modules/overlays/hud/HUDWeapon.h
r11071 r11129 35 35 #include <vector> 36 36 #include <string> 37 38 #include <OgreOverlayManager.h>39 #include <OgrePanelOverlayElement.h>40 37 41 38 #include "overlays/OrxonoxOverlay.h" -
code/branches/ogre1.9/src/modules/overlays/hud/HUDWeaponMode.cc
r11071 r11129 28 28 29 29 #include "HUDWeaponMode.h" 30 31 #if OGRE_VERSION >= 0x010900 32 # include <Overlay/OgreOverlayManager.h> 33 # include <Overlay/OgrePanelOverlayElement.h> 34 #else 35 # include <OgreOverlayManager.h> 36 # include <OgrePanelOverlayElement.h> 37 #endif 30 38 31 39 #include "util/Convert.h" -
code/branches/ogre1.9/src/modules/overlays/hud/HUDWeaponMode.h
r11071 r11129 36 36 #include <vector> 37 37 #include <string> 38 39 #include <OgreOverlayManager.h>40 #include <OgrePanelOverlayElement.h>41 38 42 39 #include "overlays/OrxonoxOverlay.h" -
code/branches/ogre1.9/src/modules/overlays/stats/Stats.cc
r11071 r11129 30 30 31 31 #include <string> 32 #include <OgreOverlayManager.h> 33 #include <OgreBorderPanelOverlayElement.h> 32 33 #if OGRE_VERSION >= 0x010900 34 # include <Overlay/OgreOverlayManager.h> 35 # include <Overlay/OgreBorderPanelOverlayElement.h> 36 #else 37 # include <OgreOverlayManager.h> 38 # include <OgreBorderPanelOverlayElement.h> 39 #endif 34 40 35 41 #include "util/StringUtils.h"
Note: See TracChangeset
for help on using the changeset viewer.