3 #include "forwarddecl/SWTex.hpp"
5 #include "forwarddecl/Geom.hpp"
6 #include "forwarddecl/PixelFmt.hpp"
7 #include "forwarddecl/Base.hpp"
24 pixelfmt::Id fmtId() noexcept;
25 pixelfmt::Id fmtId()
const noexcept;
27 SDL_PixelFormat& fmt() noexcept;
28 SDL_PixelFormat& fmt()
const noexcept;
30 unsigned int pitch() noexcept;
31 unsigned int pitch()
const noexcept;
34 int w()
const noexcept;
36 int h()
const noexcept;
38 bool mustLock() noexcept;
39 bool mustLock()
const noexcept;
41 SDL_Surface* unsafeRaw() noexcept;
42 const SDL_Surface* unsafeRaw()
const noexcept;
44 uint32_t& unsafePoint(
const geom::Pos p) noexcept;
45 const uint32_t& unsafePoint(
const geom::Pos p)
const noexcept;
47 void* unsafeRawPixels() noexcept;
48 const void* unsafeRawPixels()
const noexcept;
106 using Win_Base::Win_Base;