CHeroOverview.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * CHeroOverview.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. #include "../windows/CWindowObject.h"
  12. class CLabel;
  13. class CMultiLineLabel;
  14. class CFilledTexture;
  15. class CAnimImage;
  16. class CComponentBox;
  17. class CTextBox;
  18. class CHeroOverview : public CWindowObject
  19. {
  20. //const HeroTypeID & hero;
  21. int heroIndex;
  22. std::shared_ptr<CFilledTexture> backgroundTexture;
  23. std::shared_ptr<CPicture> backgroundShapes;
  24. std::shared_ptr<CLabel> labelTitle;
  25. std::shared_ptr<CAnimImage> image;
  26. std::shared_ptr<CLabel> labelHeroName;
  27. std::shared_ptr<CMultiLineLabel> labelHeroBiography;
  28. std::shared_ptr<CLabel> labelHeroClass;
  29. std::shared_ptr<CLabel> labelHeroSpeciality;
  30. std::shared_ptr<CAnimImage> imageSpeciality;
  31. std::shared_ptr<CLabel> labelSpecialityName;
  32. std::shared_ptr<CMultiLineLabel> labelSpecialityDescription;
  33. void genHeader();
  34. void genHeroWindow();
  35. public:
  36. CHeroOverview(const HeroTypeID & h);
  37. };