neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::i_window Class Referenceabstract

#include <i_window.hpp>

Inheritance diagram for neogfx::i_window:
neogfx::i_widget neogfx::i_standard_layout_container neogfx::i_layout_item neogfx::i_keyboard_handler neogfx::i_mouse_handler neogfx::i_skinnable_item neolib::i_reference_counted neogfx::i_property_owner neogfx::i_anchorable neogfx::i_object neolib::i_object neolib::i_lifetime neolib::lifetime< neogfx::i_window >

Classes

struct  no_native_surface
 
struct  no_native_window
 
struct  no_parent_window
 
struct  not_a_nest
 
struct  not_in_nest
 
struct  not_nested
 

Public Types

enum  dismissal_type_e { CannotDismiss , CloseOnDismissal , HideOnDismissal }
 
- Public Types inherited from neogfx::i_layout_item
typedef i_layout_item abstract_type
 
- Public Types inherited from neogfx::i_anchorable
typedef i_anchorable abstract_type
 
typedef neolib::i_map< i_string, i_anchor * > anchor_map_type
 

Public Member Functions

 declare_event (window_event, neogfx::window_event &) declare_event(dismissing_children
 
const i_widgetdeclare_event (activated) declare_event(deactivated) declare_event(closed) declare_event(paint_overlay
 
virtual const i_window_managerwindow_manager () const =0
 
virtual i_window_managerwindow_manager ()=0
 
virtual bool is_surface () const =0
 
virtual bool has_surface () const =0
 
virtual const i_surfacesurface () const =0
 
virtual i_surfacesurface ()=0
 
virtual void set_surface (i_surface_window &aSurfaceWindow)=0
 
virtual bool has_native_surface () const =0
 
virtual const i_native_surfacenative_surface () const =0
 
virtual i_native_surfacenative_surface ()=0
 
virtual bool has_native_window () const =0
 
virtual const i_native_windownative_window () const =0
 
virtual i_native_windownative_window ()=0
 
virtual bool has_parent_window () const =0
 
virtual const i_windowparent_window () const =0
 
virtual i_windowparent_window ()=0
 
virtual bool is_parent_of (const i_window &aChildWindow) const =0
 
virtual bool is_owner_of (const i_window &aChildWindow) const =0
 
virtual const i_windowultimate_ancestor () const =0
 
virtual i_windowultimate_ancestor ()=0
 
virtual bool is_nested () const =0
 
virtual bool is_strong () const =0
 
virtual bool is_weak () const =0
 
virtual bool can_close () const =0
 
virtual bool is_closed () const =0
 
virtual void close ()=0
 
virtual void widget_added (i_widget &)=0
 
virtual void widget_removed (i_widget &aWidget)=0
 
virtual window_style style () const =0
 
virtual void set_style (window_style aStyle)=0
 
virtual i_string const & title_text () const =0
 
virtual void set_title_text (i_string const &aTitleText)=0
 
virtual bool is_effectively_active () const =0
 
virtual bool is_active () const =0
 
virtual void activate ()=0
 
virtual void deactivate ()=0
 
virtual bool is_iconic () const =0
 
virtual void iconize ()=0
 
virtual bool is_maximized () const =0
 
virtual void maximize ()=0
 
virtual bool is_restored () const =0
 
virtual void restore ()=0
 
virtual bool is_fullscreen () const =0
 
virtual void enter_fullscreen (const video_mode &aVideoMode)=0
 
virtual point window_position () const =0
 
virtual const window_placement & placement () const =0
 
virtual void set_placement (const window_placement &aPlacement)=0
 
virtual void center (bool aSetMinimumSize=true)=0
 
virtual void center_on_parent (bool aSetMinimumSize=true)=0
 
virtual bool window_enabled () const =0
 
virtual void counted_window_enable (bool aEnable)=0
 
virtual void modal_enable (bool aEnable)=0
 
virtual bool is_dismissing_children () const =0
 
virtual bool can_dismiss (const i_widget *aClickedWidget) const =0
 
virtual dismissal_type_e dismissal_type () const =0
 
virtual bool dismissed () const =0
 
virtual void dismiss ()=0
 
virtual bool ready_to_render () const =0
 
virtual void set_ready_to_render (bool aReady)=0
 
virtual double rendering_priority () const =0
 
virtual double fps () const =0
 
virtual double potential_fps () const =0
 
virtual point mouse_position () const =0
 
virtual neogfx::border window_border () const =0
 
virtual rect widget_part_rect (widget_part_e aWidgetPart) const =0
 
virtual const i_widgetclient_widget () const =0
 
virtual i_widgetclient_widget ()=0
 
virtual bool requires_owner_focus () const =0
 
virtual bool has_entered_widget () const =0
 
virtual i_widgetentered_widget () const =0
 
virtual bool has_focused_widget () const =0
 
virtual i_widgetfocused_widget () const =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_widgetas_widget () const =0
 
virtual i_widgetas_widget ()=0
 
virtual const i_drag_drop_targetdefault_drag_drop_target () const =0
 
virtual i_drag_drop_targetdefault_drag_drop_target ()=0
 
const i_surface_windowfind_surface () const
 
i_surface_windowfind_surface ()
 
const i_surface_windowfind_real_surface () const
 
i_surface_windowfind_real_surface ()
 
bool is_ancestor_of (const i_window &aWindow) const
 
bool is_descendent_of (const i_window &aWindow) const
 
- Public Member Functions inherited from neogfx::i_widget
 declare_event (device_metrics_updated, const i_widget &) declare_event(child_added
 
i_widgetdeclare_event (child_removed, i_widget &) declare_event(visibility_changed) declare_event(position_changed) declare_event(parent_position_changed) declare_event(size_changed) declare_event(layout_completed) declare_event(painting
 
i_widget i_graphics_contextdeclare_event (painting_children, i_graphics_context &) declare_event(painted
 
i_widget i_graphics_context i_graphics_contextdeclare_event (mouse_event, const neogfx::mouse_event &) declare_event(non_client_mouse_event
 
i_widget i_graphics_context i_graphics_context const neogfx::non_client_mouse_eventdeclare_event (query_mouse_cursor, neogfx::mouse_cursor &) declare_event(keyboard_event
 
virtual ~i_widget ()=default
 
virtual bool is_singular () const =0
 
virtual void set_singular (bool aSingular)=0
 
virtual bool is_root () const =0
 
virtual bool has_root () const =0
 
virtual const i_windowroot () const =0
 
virtual i_windowroot ()=0
 
virtual void set_root (i_window &aRoot)=0
 
virtual const i_surfacereal_surface () const =0
 
virtual i_surfacereal_surface ()=0
 
virtual bool has_parent () const =0
 
virtual const i_widgetparent () const =0
 
virtual i_widgetparent ()=0
 
virtual void set_parent (i_widget &aParent)=0
 
virtual void parent_changed ()=0
 
virtual bool adding_child () const =0
 
virtual i_widgetadd (i_widget &aChild)=0
 
virtual i_widgetadd (const i_ref_ptr< i_widget > &aChild)=0
 
virtual void remove (i_widget &aChild, bool aSingular, i_ref_ptr< i_widget > &aChildRef)=0
 
virtual void remove_all ()=0
 
virtual bool has_children () const =0
 
virtual const widget_listchildren () const =0
 
virtual widget_list::const_iterator last () const =0
 
virtual widget_list::iterator last ()=0
 
virtual widget_list::const_iterator find (const i_widget &aChild, bool aThrowIfNotFound=true) const =0
 
virtual widget_list::iterator find (const i_widget &aChild, bool aThrowIfNotFound=true)=0
 
virtual void bring_child_to_front (const i_widget &aChild)=0
 
virtual void send_child_to_back (const i_widget &aChild)=0
 
virtual layer_t layer () const =0
 
virtual void set_layer (layer_t aLayer)=0
 
virtual const i_widgetbefore () const =0
 
virtual i_widgetbefore ()=0
 
virtual const i_widgetafter () const =0
 
virtual i_widgetafter ()=0
 
virtual void link_before (i_widget *aPreviousWidget)=0
 
virtual void link_after (i_widget *aNextWidget)=0
 
virtual void unlink ()=0
 
virtual bool has_layout () const =0
 
virtual void set_layout (i_layout &aLayout, bool aMoveExistingItems=true)=0
 
virtual void set_layout (const i_ref_ptr< i_layout > &aLayout, bool aMoveExistingItems=true)=0
 
virtual const i_layoutlayout () const =0
 
virtual i_layoutlayout ()=0
 
virtual bool can_defer_layout () const =0
 
virtual bool has_layout_manager () const =0
 
virtual const i_widgetlayout_manager () const =0
 
virtual i_widgetlayout_manager ()=0
 
virtual bool is_managing_layout () const =0
 
virtual bool has_parent_layout () const =0
 
virtual const i_layoutparent_layout () const =0
 
virtual i_layoutparent_layout ()=0
 
virtual i_optional< neogfx::layout_reason > & layout_reason ()=0
 
virtual void layout_items (bool aDefer=false)=0
 
virtual void layout_items_started ()=0
 
virtual bool layout_items_in_progress () const =0
 
virtual void layout_items_completed ()=0
 
virtual bool has_logical_coordinate_system () const =0
 
virtual neogfx::logical_coordinate_system logical_coordinate_system () const =0
 
virtual void set_logical_coordinate_system (const optional_logical_coordinate_system &aLogicalCoordinateSystem)=0
 
virtual rect non_client_rect () const =0
 
virtual rect client_rect (bool aExtendIntoPadding=true) const =0
 
virtual void move (const point &aPosition)=0
 
virtual void moved ()=0
 
virtual void parent_moved ()=0
 
virtual size extents () const =0
 
virtual bool resizing () const =0
 
virtual void resize (const size &aSize)=0
 
virtual void resized ()=0
 
virtual const i_widgetget_widget_at (const point &aPosition) const =0
 
virtual i_widgetget_widget_at (const point &aPosition)=0
 
virtual neogfx::widget_type widget_type () const =0
 
virtual bool part_active (widget_part aPart) const =0
 
virtual widget_part part (const point &aPosition) const =0
 
virtual widget_part hit_test (const point &aPosition) const =0
 
virtual neogfx::view const & view () const =0
 
virtual neogfx::viewview ()=0
 
virtual layer_t render_layer () const =0
 
virtual void set_render_layer (const std::optional< layer_t > &aLayer)=0
 
virtual bool can_update () const =0
 
virtual bool update (bool aIncludeNonClient=false)=0
 
virtual bool update (const rect &aUpdateRect)=0
 
virtual bool requires_update () const =0
 
virtual rect update_rect () const =0
 
virtual rect default_clip_rect (bool aIncludeNonClient=false) const =0
 
virtual void render (i_graphics_context &aGc) const =0
 
virtual void paint_non_client (i_graphics_context &aGc) const =0
 
virtual void paint_non_client_after (i_graphics_context &aGc) const =0
 
virtual void paint (i_graphics_context &aGc) const =0
 
virtual double opacity () const =0
 
virtual void set_opacity (double aOpacity)=0
 
virtual bool has_background_opacity () const =0
 
virtual double background_opacity () const =0
 
virtual void set_background_opacity (double aOpacity)=0
 
virtual bool has_palette () const =0
 
virtual const i_palettepalette () const =0
 
virtual void set_palette (const i_palette &aPalette)=0
 
virtual bool has_palette_color (color_role aColorRole) const =0
 
virtual color palette_color (color_role aColorRole) const =0
 
virtual void set_palette_color (color_role aColorRole, const optional_color &aColor)=0
 
virtual neogfx::color container_background_color () const =0
 
virtual bool has_font_role () const =0
 
virtual neogfx::font_role font_role () const =0
 
virtual void set_font_role (const optional_font_role &aFontRole)=0
 
virtual bool has_font () const =0
 
virtual const neogfx::font & font () const =0
 
virtual void set_font (optional_font const &aFont)=0
 
virtual bool visible () const =0
 
virtual bool effectively_visible () const =0
 
virtual bool hidden () const =0
 
virtual bool effectively_hidden () const =0
 
virtual bool show (bool aVisible)=0
 
virtual bool enabled () const =0
 
virtual bool effectively_enabled () const =0
 
virtual bool disabled () const =0
 
virtual bool effectively_disabled () const =0
 
virtual bool enable (bool aEnable)=0
 
virtual bool entered (bool aChildEntered=false) const =0
 
virtual bool can_capture () const =0
 
virtual bool capturing () const =0
 
virtual const optional_pointcapture_position () const =0
 
virtual void set_capture (capture_reason aReason=capture_reason::Other, const optional_point &aPosition={})=0
 
virtual void release_capture (capture_reason aReason=capture_reason::Other)=0
 
virtual void non_client_set_capture ()=0
 
virtual void non_client_release_capture ()=0
 
virtual void captured ()=0
 
virtual void capture_released ()=0
 
virtual bool has_focus_policy () const =0
 
virtual neogfx::focus_policy focus_policy () const =0
 
virtual void set_focus_policy (const optional_focus_policy &aFocusPolicy)=0
 
virtual bool can_set_focus (focus_reason aFocusReason) const =0
 
virtual bool has_focus () const =0
 
virtual bool child_has_focus () const =0
 
virtual bool set_focus (focus_reason aFocusReason=focus_reason::Other)=0
 
virtual bool release_focus ()=0
 
virtual void focus_gained (focus_reason aFocusReason)=0
 
virtual void focus_lost (focus_reason aFocusReason)=0
 
virtual bool consider_ancestors_for_mouse_events () const =0
 
virtual void set_consider_ancestors_for_mouse_events (bool aConsiderAncestors=true)=0
 
virtual bool ignore_mouse_events (bool aConsiderAncestors=true) const =0
 
virtual void set_ignore_mouse_events (bool aIgnoreMouseEvents)=0
 
virtual bool ignore_non_client_mouse_events (bool aConsiderAncestors=true) const =0
 
virtual void set_ignore_non_client_mouse_events (bool aIgnoreNonClientMouseEvents)=0
 
virtual neogfx::mouse_event_location mouse_event_location () const =0
 
virtual bool mouse_wheel_scrolled (mouse_wheel aWheel, const point &aPosition, delta aDelta, key_modifiers_e aKeyModifiers)=0
 
virtual void mouse_button_pressed (mouse_button aButton, const point &aPosition, key_modifiers_e aKeyModifiers)=0
 
virtual void mouse_button_double_clicked (mouse_button aButton, const point &aPosition, key_modifiers_e aKeyModifiers)=0
 
virtual void mouse_button_released (mouse_button aButton, const point &aPosition)=0
 
virtual void mouse_moved (const point &aPosition, key_modifiers_e aKeyModifiers)=0
 
virtual void mouse_entered (const point &aPosition)=0
 
virtual void mouse_left ()=0
 
virtual neogfx::mouse_cursor mouse_cursor () const =0
 
virtual const i_widgetwidget_for_mouse_event (const point &aPosition, bool aForHitTest=false) const =0
 
virtual i_widgetwidget_for_mouse_event (const point &aPosition, bool aForHitTest=false)=0
 
template<typename WidgetType , typename... Args>
WidgetType & emplace (Args &&... args)
 
bool same_surface (const i_widget &aWidget) const
 
bool same_real_surface (const i_widget &aWidget) const
 
bool is_parent_of (const i_widget &aWidget) const
 
bool is_ancestor_of (const i_widget &aWidget) const
 
bool is_descendent_of (const i_widget &aWidget) const
 
bool is_sibling_of (const i_widget &aWidget) const
 
ref_ptr< i_widgetremove (i_widget &aChild, bool aSingular=true)
 
void bring_to_front ()
 
void send_to_back ()
 
point to_window_coordinates (const point &aClientCoordinates) const
 
rect to_window_coordinates (const rect &aClientCoordinates) const
 
point to_client_coordinates (const point &aWindowCoordinates) const
 
rect to_client_coordinates (const rect &aWindowCoordinates) const
 
bool show ()
 
bool hide ()
 
bool enable ()
 
bool disable ()
 
double transparency () const
 
void set_transparency (double aTransparency)
 
double background_transparency () const
 
void set_background_transparency (double aTransparency)
 
bool background_is_transparent () const
 
color effective_background_color () const
 
bool has_background_color () const
 
color background_color () const
 
void set_background_color (const optional_color &aBackgroundColor=optional_color{})
 
bool has_foreground_color () const
 
color foreground_color () const
 
void set_foreground_color (const optional_color &aForegroundColor=optional_color{})
 
bool has_base_color () const
 
color base_color () const
 
void set_base_color (const optional_color &aBaseColor=optional_color{})
 
bool has_alternate_base_color () const
 
color alternate_base_color () const
 
void set_alternate_base_color (const optional_color &aAlternateBaseColor=optional_color{})
 
bool handling_mouse_event () const
 
bool mouse_event_is_client () const
 
bool mouse_event_is_non_client () const
 
- Public Member Functions inherited from neogfx::i_layout_item
virtual ~i_layout_item ()=default
 
virtual const i_stringid () const =0
 
virtual void set_id (const i_string &aId)=0
 
virtual bool is_cache () const =0
 
virtual bool is_layout () const =0
 
virtual const i_layoutas_layout () const =0
 
virtual i_layoutas_layout ()=0
 
virtual bool is_spacer () const =0
 
virtual const i_spacer & as_spacer () const =0
 
virtual i_spacer & as_spacer ()=0
 
virtual bool is_widget () const =0
 
virtual bool has_parent_layout_item () const =0
 
virtual const i_layout_itemparent_layout_item () const =0
 
virtual i_layout_itemparent_layout_item ()=0
 
virtual void set_parent_layout (i_layout *aParentLayout)=0
 
virtual bool has_parent_widget () const =0
 
virtual const i_widgetparent_widget () const =0
 
virtual i_widgetparent_widget ()=0
 
virtual void set_parent_widget (i_widget *aParentWidget)=0
 
virtual void update_layout (bool aDeferLayout=true, bool aAncestors=false)=0
 
virtual void layout_as (const point &aPosition, const size &aSize)=0
 
virtual void invalidate_combined_transformation ()=0
 
virtual void fix_weightings (bool aRecalculate=true)=0
 
virtual void layout_item_enabled (i_layout_item &aItem)=0
 
virtual void layout_item_disabled (i_layout_item &aItem)=0
 
template<typename LayoutType >
bool has_ancestor_layout () const
 
template<typename LayoutType >
LayoutType * find_ancestor_layout ()
 
template<typename LayoutType >
LayoutType & ancestor_layout ()
 
bool same_parent_widget_as (i_layout_item const &aOther) const
 
- Public Member Functions inherited from neolib::i_reference_counted
virtual ~i_reference_counted ()=default
 
virtual void add_ref () const noexcept=0
 
virtual void release () const =0
 
virtual int32_t use_count () const noexcept=0
 
virtual const i_reference_countedrelease_and_take_ownership () const =0
 
virtual i_reference_countedrelease_and_take_ownership ()=0
 
virtual void pin () const noexcept=0
 
virtual void unpin () const =0
 
virtual i_ref_control_blockcontrol_block ()=0
 
- Public Member Functions inherited from neogfx::i_property_owner
virtual ~i_property_owner ()=default
 
virtual void property_changed (i_property &aProperty)=0
 
virtual const i_propertiesproperties () const =0
 
virtual i_propertiesproperties ()=0
 
- Public Member Functions inherited from neogfx::i_object
virtual ~i_object ()=default
 
virtual i_objectas_object ()=0
 
virtual void class_name (neolib::i_string &aClassName) const =0
 
virtual neogfx::object_type object_type () const =0
 
- Public Member Functions inherited from neolib::i_object
 declare_event (destroying)
 
 declare_event (destroyed)
 
- Public Member Functions inherited from neolib::i_lifetime
virtual ~i_lifetime ()=default
 
virtual lifetime_state object_state () const =0
 
virtual std::shared_ptr< std::atomic< lifetime_state > > object_state_ptr () const =0
 
virtual bool is_creating () const =0
 
virtual bool is_alive () const =0
 
virtual bool is_destroying () const =0
 
virtual bool is_destroyed () const =0
 
virtual void set_alive ()=0
 
virtual void set_destroying ()=0
 
virtual void set_destroyed ()=0
 
- Public Member Functions inherited from neogfx::i_anchorable
virtual i_objectas_object ()=0
 
virtual i_anchor & anchor_to (i_anchorable &aRhs, const i_string &aLhsAnchor, anchor_constraint_function aLhsFunction, const i_string &aRhsAnchor, anchor_constraint_function aRhsFunction)=0
 
virtual const anchor_map_typeanchors () const =0
 
virtual anchor_map_typeanchors ()=0
 
i_anchor & anchor_to (i_anchorable &aRhs, std::string const &aLhsAnchor, anchor_constraint_function aLhsFunction, std::string const &aRhsAnchor, anchor_constraint_function aRhsFunction)
 
- Public Member Functions inherited from neogfx::i_keyboard_handler
virtual bool key_pressed (scan_code_e aScanCode, key_code_e aKeyCode, key_modifiers_e aKeyModifiers)=0
 
virtual bool key_released (scan_code_e aScanCode, key_code_e aKeyCode, key_modifiers_e aKeyModifiers)=0
 
virtual bool text_input (i_string const &aText)=0
 
virtual bool sys_text_input (i_string const &aText)=0
 
- Public Member Functions inherited from neogfx::i_skinnable_item
virtual ~i_skinnable_item ()=default
 
virtual bool is_widget () const =0
 
virtual rect element_rect (skin_element aElement) const =0
 
- Public Member Functions inherited from neogfx::i_standard_layout_container
virtual ~i_standard_layout_container ()=default
 
virtual bool is_widget () const =0
 
virtual bool has_client_widget () const =0
 
virtual void set_client (i_widget &aClient)=0
 
virtual void set_client (i_ref_ptr< i_widget > const &aClient)=0
 
virtual const i_title_bartitle_bar () const =0
 
virtual i_title_bartitle_bar ()=0
 
virtual void set_title_bar (i_title_bar &aTitleBar)=0
 
virtual void set_title_bar (i_ref_ptr< i_title_bar > const &aTitleBar)=0
 
virtual const i_status_barstatus_bar () const =0
 
virtual i_status_barstatus_bar ()=0
 
virtual void set_status_bar (i_status_bar &aStatusBar)=0
 
virtual void set_status_bar (i_ref_ptr< i_status_bar > const &aStatusBar)=0
 
virtual bool has_layout (standard_layout aStandardLayout) const =0
 
virtual const i_layoutlayout (standard_layout aStandardLayout, layout_position aPosition=layout_position::None) const =0
 
virtual i_layoutlayout (standard_layout aStandardLayout, layout_position aPosition=layout_position::None)=0
 
const i_layoutnon_client_layout () const
 
i_layoutnon_client_layout ()
 
const i_layouttitle_bar_layout () const
 
i_layouttitle_bar_layout ()
 
const i_layoutmenu_layout () const
 
i_layoutmenu_layout ()
 
const i_layouttoolbar_layout (layout_position aPosition=layout_position::Top) const
 
i_layouttoolbar_layout (layout_position aPosition=layout_position::Top)
 
const i_layoutdock_layout (layout_position aPosition=layout_position::Left) const
 
i_layoutdock_layout (layout_position aPosition=layout_position::Left)
 
const i_layoutdock_layout (dock_area aDockArea=dock_area::Left) const
 
i_layoutdock_layout (dock_area aDockArea=dock_area::Left)
 
const i_layoutclient_layout () const
 
i_layoutclient_layout ()
 
const i_layoutbutton_box_layout () const
 
i_layoutbutton_box_layout ()
 
const i_layoutstatus_bar_layout () const
 
i_layoutstatus_bar_layout ()
 

Protected Member Functions

virtual void update_modality (bool aEnableAncestors)=0
 
virtual void update_click_focus (i_widget &aCandidateWidget, const point &aClickPos)=0
 
virtual void dismiss_children (const i_widget *aClickedWidget=nullptr)=0
 

Friends

class window
 
class surface_window
 

Additional Inherited Members

- Static Public Member Functions inherited from neogfx::i_standard_layout_container
static layout_position to_position (dock_area aDockArea)
 
- Public Attributes inherited from neogfx::i_widget
i_widget i_graphics_context i_graphics_context const neogfx::non_client_mouse_event const neogfx::keyboard_event &declare_event(focus_event, neogfx::focus_event, focus_reason) public typedef neolib::i_vector< i_ref_ptr< i_widget > > widget_list
 

Detailed Description

Definition at line 41 of file i_window.hpp.

Member Enumeration Documentation

◆ dismissal_type_e

Enumerator
CannotDismiss 
CloseOnDismissal 
HideOnDismissal 

Definition at line 54 of file i_window.hpp.

Member Function Documentation

◆ activate()

virtual void neogfx::i_window::activate ( )
pure virtual

◆ as_widget() [1/2]

virtual const i_widget & neogfx::i_window::as_widget ( ) const
pure virtual

Reimplemented from neogfx::i_widget.

◆ as_widget() [2/2]

virtual i_widget & neogfx::i_window::as_widget ( )
pure virtual

Reimplemented from neogfx::i_widget.

◆ can_close()

virtual bool neogfx::i_window::can_close ( ) const
pure virtual

◆ can_dismiss()

virtual bool neogfx::i_window::can_dismiss ( const i_widget aClickedWidget) const
pure virtual

◆ center()

virtual void neogfx::i_window::center ( bool  aSetMinimumSize = true)
pure virtual

◆ center_on_parent()

virtual void neogfx::i_window::center_on_parent ( bool  aSetMinimumSize = true)
pure virtual

◆ client_widget() [1/2]

virtual const i_widget & neogfx::i_window::client_widget ( ) const
pure virtual

◆ client_widget() [2/2]

virtual i_widget & neogfx::i_window::client_widget ( )
pure virtual

◆ close()

virtual void neogfx::i_window::close ( )
pure virtual

◆ counted_window_enable()

virtual void neogfx::i_window::counted_window_enable ( bool  aEnable)
pure virtual

◆ deactivate()

virtual void neogfx::i_window::deactivate ( )
pure virtual

◆ declare_event() [1/2]

const i_widget * neogfx::i_window::declare_event ( activated  )

◆ declare_event() [2/2]

neogfx::i_window::declare_event ( window_event  ,
neogfx::window_event  
)

◆ default_drag_drop_target() [1/2]

virtual const i_drag_drop_target & neogfx::i_window::default_drag_drop_target ( ) const
pure virtual

◆ default_drag_drop_target() [2/2]

virtual i_drag_drop_target & neogfx::i_window::default_drag_drop_target ( )
pure virtual

◆ dismiss()

virtual void neogfx::i_window::dismiss ( )
pure virtual

◆ dismiss_children()

virtual void neogfx::i_window::dismiss_children ( const i_widget aClickedWidget = nullptr)
protectedpure virtual

◆ dismissal_type()

virtual dismissal_type_e neogfx::i_window::dismissal_type ( ) const
pure virtual

◆ dismissed()

virtual bool neogfx::i_window::dismissed ( ) const
pure virtual

◆ enter_fullscreen()

virtual void neogfx::i_window::enter_fullscreen ( const video_mode aVideoMode)
pure virtual

◆ entered_widget()

virtual i_widget & neogfx::i_window::entered_widget ( ) const
pure virtual

◆ find_real_surface() [1/2]

i_surface_window * neogfx::i_window::find_real_surface ( )
inline

Definition at line 192 of file i_window.hpp.

◆ find_real_surface() [2/2]

const i_surface_window * neogfx::i_window::find_real_surface ( ) const
inline

Definition at line 183 of file i_window.hpp.

◆ find_surface() [1/2]

i_surface_window * neogfx::i_window::find_surface ( )
inline

Definition at line 179 of file i_window.hpp.

◆ find_surface() [2/2]

const i_surface_window * neogfx::i_window::find_surface ( ) const
inline

Definition at line 170 of file i_window.hpp.

◆ focused_widget()

virtual i_widget & neogfx::i_window::focused_widget ( ) const
pure virtual

◆ fps()

virtual double neogfx::i_window::fps ( ) const
pure virtual

◆ has_entered_widget()

virtual bool neogfx::i_window::has_entered_widget ( ) const
pure virtual

◆ has_focused_widget()

virtual bool neogfx::i_window::has_focused_widget ( ) const
pure virtual

◆ has_native_surface()

virtual bool neogfx::i_window::has_native_surface ( ) const
pure virtual

◆ has_native_window()

virtual bool neogfx::i_window::has_native_window ( ) const
pure virtual

◆ has_parent_window()

virtual bool neogfx::i_window::has_parent_window ( ) const
pure virtual

◆ has_surface()

virtual bool neogfx::i_window::has_surface ( ) const
pure virtual

Implements neogfx::i_widget.

◆ iconize()

virtual void neogfx::i_window::iconize ( )
pure virtual

◆ is_active()

virtual bool neogfx::i_window::is_active ( ) const
pure virtual

◆ is_ancestor_of()

bool neogfx::i_window::is_ancestor_of ( const i_window aWindow) const
inline

Definition at line 196 of file i_window.hpp.

◆ is_closed()

virtual bool neogfx::i_window::is_closed ( ) const
pure virtual

◆ is_descendent_of()

bool neogfx::i_window::is_descendent_of ( const i_window aWindow) const
inline

Definition at line 203 of file i_window.hpp.

◆ is_dismissing_children()

virtual bool neogfx::i_window::is_dismissing_children ( ) const
pure virtual

◆ is_effectively_active()

virtual bool neogfx::i_window::is_effectively_active ( ) const
pure virtual

◆ is_fullscreen()

virtual bool neogfx::i_window::is_fullscreen ( ) const
pure virtual

◆ is_iconic()

virtual bool neogfx::i_window::is_iconic ( ) const
pure virtual

◆ is_maximized()

virtual bool neogfx::i_window::is_maximized ( ) const
pure virtual

◆ is_nested()

virtual bool neogfx::i_window::is_nested ( ) const
pure virtual

◆ is_owner_of()

virtual bool neogfx::i_window::is_owner_of ( const i_window aChildWindow) const
pure virtual

◆ is_parent_of()

virtual bool neogfx::i_window::is_parent_of ( const i_window aChildWindow) const
pure virtual

◆ is_restored()

virtual bool neogfx::i_window::is_restored ( ) const
pure virtual

◆ is_strong()

virtual bool neogfx::i_window::is_strong ( ) const
pure virtual

◆ is_surface()

virtual bool neogfx::i_window::is_surface ( ) const
pure virtual

Implements neogfx::i_widget.

◆ is_weak()

virtual bool neogfx::i_window::is_weak ( ) const
pure virtual

◆ maximize()

virtual void neogfx::i_window::maximize ( )
pure virtual

◆ modal_enable()

virtual void neogfx::i_window::modal_enable ( bool  aEnable)
pure virtual

◆ mouse_position()

virtual point neogfx::i_window::mouse_position ( ) const
pure virtual

Implements neogfx::i_widget.

◆ native_surface() [1/2]

virtual const i_native_surface & neogfx::i_window::native_surface ( ) const
pure virtual

◆ native_surface() [2/2]

virtual i_native_surface & neogfx::i_window::native_surface ( )
pure virtual

◆ native_window() [1/2]

virtual const i_native_window & neogfx::i_window::native_window ( ) const
pure virtual

◆ native_window() [2/2]

virtual i_native_window & neogfx::i_window::native_window ( )
pure virtual

◆ parent_window() [1/2]

virtual const i_window & neogfx::i_window::parent_window ( ) const
pure virtual

◆ parent_window() [2/2]

virtual i_window & neogfx::i_window::parent_window ( )
pure virtual

◆ placement()

virtual const window_placement & neogfx::i_window::placement ( ) const
pure virtual

◆ potential_fps()

virtual double neogfx::i_window::potential_fps ( ) const
pure virtual

◆ ready_to_render()

virtual bool neogfx::i_window::ready_to_render ( ) const
pure virtual

Implements neogfx::i_widget.

◆ release_focused_widget()

virtual void neogfx::i_window::release_focused_widget ( i_widget aWidget)
pure virtual

◆ rendering_priority()

virtual double neogfx::i_window::rendering_priority ( ) const
pure virtual

◆ requires_owner_focus()

virtual bool neogfx::i_window::requires_owner_focus ( ) const
pure virtual

◆ restore()

virtual void neogfx::i_window::restore ( )
pure virtual

◆ set_focused_widget()

virtual void neogfx::i_window::set_focused_widget ( i_widget aWidget,
focus_reason  aFocusReason 
)
pure virtual

◆ set_placement()

virtual void neogfx::i_window::set_placement ( const window_placement &  aPlacement)
pure virtual

◆ set_ready_to_render()

virtual void neogfx::i_window::set_ready_to_render ( bool  aReady)
pure virtual

◆ set_style()

virtual void neogfx::i_window::set_style ( window_style  aStyle)
pure virtual

◆ set_surface()

virtual void neogfx::i_window::set_surface ( i_surface_window aSurfaceWindow)
pure virtual

◆ set_title_text()

virtual void neogfx::i_window::set_title_text ( i_string const &  aTitleText)
pure virtual

◆ style()

virtual window_style neogfx::i_window::style ( ) const
pure virtual

◆ surface() [1/2]

virtual const i_surface & neogfx::i_window::surface ( ) const
pure virtual

Implements neogfx::i_widget.

◆ surface() [2/2]

virtual i_surface & neogfx::i_window::surface ( )
pure virtual

Implements neogfx::i_widget.

◆ title_text()

virtual i_string const & neogfx::i_window::title_text ( ) const
pure virtual

◆ ultimate_ancestor() [1/2]

virtual const i_window & neogfx::i_window::ultimate_ancestor ( ) const
pure virtual

◆ ultimate_ancestor() [2/2]

virtual i_window & neogfx::i_window::ultimate_ancestor ( )
pure virtual

◆ update_click_focus()

virtual void neogfx::i_window::update_click_focus ( i_widget aCandidateWidget,
const point aClickPos 
)
protectedpure virtual

◆ update_modality()

virtual void neogfx::i_window::update_modality ( bool  aEnableAncestors)
protectedpure virtual

◆ widget_added()

virtual void neogfx::i_window::widget_added ( i_widget )
pure virtual

◆ widget_part_rect()

virtual rect neogfx::i_window::widget_part_rect ( widget_part_e  aWidgetPart) const
pure virtual

◆ widget_removed()

virtual void neogfx::i_window::widget_removed ( i_widget aWidget)
pure virtual

◆ window_border()

virtual neogfx::border neogfx::i_window::window_border ( ) const
pure virtual

◆ window_enabled()

virtual bool neogfx::i_window::window_enabled ( ) const
pure virtual

◆ window_manager() [1/2]

virtual const i_window_manager & neogfx::i_window::window_manager ( ) const
pure virtual

◆ window_manager() [2/2]

virtual i_window_manager & neogfx::i_window::window_manager ( )
pure virtual

◆ window_position()

virtual point neogfx::i_window::window_position ( ) const
pure virtual

Friends And Related Symbol Documentation

◆ surface_window

friend class surface_window
friend

Definition at line 52 of file i_window.hpp.

◆ window

friend class window
friend

Definition at line 51 of file i_window.hpp.


The documentation for this class was generated from the following file: