IShowActivatable.h 671 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include "IShowable.h"
  3. #include "IActivatable.h"
  4. /*
  5. * IShowActivatable.h, part of VCMI engine
  6. *
  7. * Authors: listed in file AUTHORS in main folder
  8. *
  9. * License: GNU General Public License v2.0 or later
  10. * Full text of license available in license.txt file, in main folder
  11. *
  12. */
  13. class IShowActivatable : public IShowable, public IActivatable
  14. {
  15. public:
  16. //redraw parent flag - this int may be semi-transparent and require redraw of parent window
  17. enum {WITH_GARRISON = 1, BLOCK_ADV_HOTKEYS = 2, WITH_ARTIFACTS = 4, REDRAW_PARENT=8};
  18. int type; //bin flags using etype
  19. IShowActivatable();
  20. virtual ~IShowActivatable(){}; //d-tor
  21. };