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

#include <i_dockable.hpp>

Inheritance diagram for neogfx::i_dockable:
neogfx::i_tool neolib::i_reference_counted neogfx::i_standard_layout_container neogfx::i_skinnable_item

Public Types

typedef i_dockable abstract_type
 

Public Member Functions

 declare_event (docked, i_dock &) declare_event(undocked
 
virtual ~i_dockable ()=default
 
virtual bool can_dock (const i_dock &aDock) const =0
 
virtual bool is_docked () const =0
 
virtual const i_dock & which_dock () const =0
 
virtual i_dock & which_dock ()=0
 
virtual void dock (i_dock &aDock)=0
 
virtual void undock ()=0
 
virtual const i_widgetdocked_widget () const =0
 
virtual i_widgetdocked_widget ()=0
 
- Public Member Functions inherited from neogfx::i_tool
virtual ~i_tool ()=default
 
virtual const neolib::i_stringtitle () const =0
 
virtual bool is_widget () const=0
 
virtual const i_widgetas_widget () const=0
 
virtual i_widgetas_widget ()=0
 
- Public Member Functions inherited from neogfx::i_standard_layout_container
virtual ~i_standard_layout_container ()=default
 
virtual bool has_client_widget () const =0
 
virtual const i_widgetclient_widget () const =0
 
virtual i_widgetclient_widget ()=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 ()
 
- Public Member Functions inherited from neogfx::i_skinnable_item
virtual ~i_skinnable_item ()=default
 
virtual rect element_rect (skin_element aElement) const =0
 
- 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
 

Additional Inherited Members

- Static Public Member Functions inherited from neogfx::i_standard_layout_container
static layout_position to_position (dock_area aDockArea)
 

Detailed Description

Definition at line 33 of file i_dockable.hpp.

Member Typedef Documentation

◆ abstract_type

Definition at line 39 of file i_dockable.hpp.

Constructor & Destructor Documentation

◆ ~i_dockable()

virtual neogfx::i_dockable::~i_dockable ( )
virtualdefault

Member Function Documentation

◆ can_dock()

virtual bool neogfx::i_dockable::can_dock ( const i_dock &  aDock) const
pure virtual

◆ declare_event()

neogfx::i_dockable::declare_event ( docked  ,
i_dock &   
)

◆ dock()

virtual void neogfx::i_dockable::dock ( i_dock &  aDock)
pure virtual

◆ docked_widget() [1/2]

virtual const i_widget & neogfx::i_dockable::docked_widget ( ) const
pure virtual

◆ docked_widget() [2/2]

virtual i_widget & neogfx::i_dockable::docked_widget ( )
pure virtual

◆ is_docked()

virtual bool neogfx::i_dockable::is_docked ( ) const
pure virtual

◆ undock()

virtual void neogfx::i_dockable::undock ( )
pure virtual

◆ which_dock() [1/2]

virtual const i_dock & neogfx::i_dockable::which_dock ( ) const
pure virtual

◆ which_dock() [2/2]

virtual i_dock & neogfx::i_dockable::which_dock ( )
pure virtual

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