IImagePresenter.h 836 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // Copyright (C) 2002-2012 Nikolaus Gebhardt
  2. // This file is part of the "Irrlicht Engine".
  3. // For conditions of distribution and use, see copyright notice in irrlicht.h
  4. #ifndef __I_IMAGE_PRESENTER_H_INCLUDED__
  5. #define __I_IMAGE_PRESENTER_H_INCLUDED__
  6. #include "IImage.h"
  7. namespace irr
  8. {
  9. namespace video
  10. {
  11. /*!
  12. Interface for a class which is able to present an IImage
  13. an the Screen. Usually only implemented by an IrrDevice for
  14. presenting Software Device Rendered images.
  15. This class should be used only internally.
  16. */
  17. class IImagePresenter
  18. {
  19. public:
  20. virtual ~IImagePresenter() {};
  21. //! presents a surface in the client area
  22. virtual bool present(video::IImage* surface, void* windowId=0, core::rect<s32>* src=0 ) = 0;
  23. };
  24. } // end namespace video
  25. } // end namespace irr
  26. #endif