35 class i_native_surface;
36 class i_native_window;
37 class i_nested_window;
39 class i_drag_drop_target;
65 struct not_nested : std::logic_error {
not_nested() : std::logic_error(
"neogfx::i_window::not_nested") {} };
66 struct not_a_nest : std::logic_error {
not_a_nest() : std::logic_error(
"neogfx::i_window::not_a_nest") {} };
124 virtual void center(
bool aSetMinimumSize =
true) = 0;
139 virtual double fps()
const = 0;
virtual const i_surface_window & as_surface_window() const =0
virtual bool can_close() const =0
virtual bool is_effectively_active() const =0
virtual const i_window & parent_window() const =0
virtual bool dismissed() const =0
virtual bool has_focused_widget() const =0
virtual bool is_closed() const =0
i_surface_window * find_real_surface()
virtual const i_widget & as_widget() const =0
virtual bool has_surface() const =0
virtual bool is_nested() const =0
virtual window_style style() const =0
virtual bool is_restored() const =0
virtual const i_window & ultimate_ancestor() const =0
virtual bool has_native_surface() const =0
virtual i_drag_drop_target & default_drag_drop_target()=0
virtual const i_native_window & native_window() const =0
virtual i_widget & focused_widget() const =0
virtual bool can_dismiss(const i_widget *aClickedWidget) const =0
virtual void widget_added(i_widget &)=0
virtual const i_window_manager & window_manager() const =0
virtual bool has_native_window() const =0
virtual void set_ready_to_render(bool aReady)=0
virtual void center(bool aSetMinimumSize=true)=0
virtual void center_on_parent(bool aSetMinimumSize=true)=0
virtual void update_modality(bool aEnableAncestors)=0
bool is_descendent_of(const i_window &aWindow) const
virtual point mouse_position() const =0
virtual bool has_entered_widget() const =0
i_surface_window * find_surface()
virtual bool is_surface() const =0
virtual i_window & ultimate_ancestor()=0
virtual i_string const & title_text() const =0
virtual bool is_fullscreen() const =0
virtual rect widget_part_rect(widget_part_e aWidgetPart) const =0
virtual point window_position() const =0
virtual double fps() const =0
virtual bool is_weak() const =0
virtual const i_drag_drop_target & default_drag_drop_target() const =0
virtual i_widget & as_widget()=0
declare_event(window_event, neogfx::window_event &) declare_event(dismissing_children
virtual void maximize()=0
const i_surface_window * find_real_surface() const
virtual i_native_surface & native_surface()=0
virtual neogfx::border window_border() const =0
virtual bool window_enabled() const =0
virtual bool ready_to_render() const =0
virtual double rendering_priority() const =0
virtual void enter_fullscreen(const video_mode &aVideoMode)=0
virtual bool is_iconic() const =0
virtual dismissal_type_e dismissal_type() const =0
virtual i_widget & entered_widget() const =0
virtual void set_surface(i_surface_window &aSurfaceWindow)=0
virtual void update_click_focus(i_widget &aCandidateWidget, const point &aClickPos)=0
virtual i_native_window & native_window()=0
virtual const i_surface & surface() const =0
virtual void set_style(window_style aStyle)=0
virtual void set_placement(const window_placement &aPlacement)=0
virtual void set_focused_widget(i_widget &aWidget, focus_reason aFocusReason)=0
virtual void release_focused_widget(i_widget &aWidget)=0
virtual const i_widget & client_widget() const =0
virtual bool is_dismissing_children() const =0
virtual const i_native_surface & native_surface() const =0
virtual bool is_owner_of(const i_window &aChildWindow) const =0
bool is_ancestor_of(const i_window &aWindow) const
virtual i_window & parent_window()=0
virtual i_widget & client_widget()=0
virtual i_window_manager & window_manager()=0
const i_surface_window * find_surface() const
virtual void dismiss_children(const i_widget *aClickedWidget=nullptr)=0
virtual double potential_fps() const =0
virtual void widget_removed(i_widget &aWidget)=0
virtual void counted_window_enable(bool aEnable)=0
virtual bool is_active() const =0
virtual i_surface & surface()=0
virtual bool is_parent_of(const i_window &aChildWindow) const =0
virtual bool has_parent_window() const =0
virtual bool is_maximized() const =0
virtual void activate()=0
virtual const window_placement & placement() const =0
virtual bool is_strong() const =0
virtual bool requires_owner_focus() const =0
virtual void modal_enable(bool aEnable)=0
virtual void deactivate()=0
virtual void set_title_text(i_string const &aTitleText)=0
pause_rendering & operator=(pause_rendering &&aOther)
pause_rendering(i_window &aWindow)
pause_rendering(pause_rendering &&aOther)
rect corrected_popup_rect(i_window &aPopup, rect aPopupRect)
void correct_popup_rect(i_window &aPopup)
std::optional< destroyed_flag > optional_destroyed_flag
#define declare_event(declName,...)