41 struct surface_not_found : std::logic_error { surface_not_found() : std::logic_error(
"neogfx::i_surface_manager::surface_not_found") {} };
59 virtual i_display&
display(uint32_t aDisplayIndex = 0)
const = 0;
77 static uuid const&
iid() {
static uuid const sIid{ 0xf189b8a1, 0x37d3, 0x4288, 0x9654, { 0xf8, 0xd, 0x19, 0xf1, 0xe, 0x2d } };
return sIid; }
90 service<i_surface_manager>().deactivate_nest(iNest);
virtual i_surface & surface(std::size_t aIndex)=0
virtual void remove_surface(i_surface &aSurface)=0
virtual rect desktop_rect(uint32_t aDisplayIndex=0) const =0
virtual void destroy_nest(i_nest &aNest)=0
static uuid const & iid()
virtual bool process_events(bool &aLastWindowClosed)=0
virtual void invalidate_surfaces()=0
virtual void activate_nest(i_nest &aNest)=0
virtual i_nest & active_nest() const =0
virtual i_nest & find_nest(i_native_window const &aNestedWindow) const =0
virtual i_surface & attached_surface(void *aNativeSurfaceHandle)=0
virtual rect desktop_rect(i_surface const &aSurface) const =0
virtual bool is_surface_attached(void *aNativeSurfaceHandle) const =0
virtual void display_error_message(i_native_window const &aParent, std::string const &aTitle, std::string const &aMessage) const =0
virtual std::size_t strong_surface_count() const =0
virtual void render_surfaces()=0
virtual bool any_strong_surfaces() const =0
virtual void display_error_message(std::string const &aTitle, std::string const &aMessage) const =0
virtual i_surface & surface_at_position(i_surface const &aProgenitor, point const &aPosition, bool aForMouseEvent=false)=0
virtual void add_surface(i_surface &aSurface)=0
virtual std::size_t surface_count() const =0
virtual ~i_surface_manager()=default
virtual bool initialising_surface() const =0
virtual i_display & display(i_surface const &aSurface) const =0
virtual const i_surface & surface_at_position(i_surface const &aProgenitor, point const &aPosition, bool aForMouseEvent=false) const =0
virtual i_display & display(uint32_t aDisplayIndex=0) const =0
virtual i_nest & nest_for(i_widget &aNestWidget, nest_type aNestType) const =0
virtual uint32_t display_count() const =0
virtual void deactivate_nest(i_nest &aNest)=0
virtual void layout_surfaces()=0
scoped_nest(i_widget &aNestWidget, nest_type aNestType)
#define declare_event(declName,...)
cannot_destroy_active_nest()