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

#include <i_script.hpp>

Inheritance diagram for neogfx::DesignStudio::i_script:
neogfx::DesignStudio::i_element neolib::i_reference_counted neogfx::DesignStudio::script

Public Types

typedef i_element abstract_type
 
- Public Types inherited from neogfx::DesignStudio::i_element
typedef i_element abstract_type
 
typedef neolib::i_vector< i_ref_ptr< i_element > > children_t
 

Public Member Functions

virtual i_string const & text () const =0
 
virtual void set_text (i_string const &aText)=0
 
- Public Member Functions inherited from neogfx::DesignStudio::i_element
 declare_event (mode_changed) declare_event(selection_changed) declare_event(context_menu
 
virtual i_element_library const & library () const =0
 
virtual i_projectproject () const =0
 
virtual element_group group () const =0
 
virtual neolib::i_string const & type () const =0
 
virtual neolib::i_string const & id () const =0
 
virtual i_element const & root () const =0
 
virtual i_elementroot ()=0
 
virtual bool has_parent () const =0
 
virtual i_element const & parent () const =0
 
virtual i_elementparent ()=0
 
virtual void set_parent (i_element &aParent)=0
 
virtual children_t const & children () const =0
 
virtual children_tchildren ()=0
 
virtual void add_child (i_element &aChild)=0
 
virtual void remove_child (i_element &aChild)=0
 
virtual void create_default_children ()=0
 
virtual bool needs_caddy () const =0
 
virtual bool has_caddy () const =0
 
virtual i_element_caddycaddy () const =0
 
virtual void set_caddy (i_element_caddy &aCaddy)=0
 
virtual bool has_layout_item () const =0
 
virtual void create_layout_item (i_widget &aParent)=0
 
virtual i_layout_itemlayout_item () const =0
 
virtual element_mode mode () const =0
 
virtual void set_mode (element_mode aMode)=0
 
virtual bool is_selected () const =0
 
virtual void select (bool aSelected=true, bool aDeselectRest=true)=0
 
children_t::const_iterator begin () const
 
children_t::iterator begin ()
 
children_t::const_iterator end () const
 
children_t::iterator end ()
 
bool is_root () const
 
std::size_t selected_child_count () const
 
void visit (std::function< void(i_element &)> aVisitor)
 
void reverse_visit (std::function< void(i_element &)> aVisitor)
 
bool has_widget () const
 
i_widgetwidget () 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
 

Detailed Description

Definition at line 27 of file i_script.hpp.

Member Typedef Documentation

◆ abstract_type

Member Function Documentation

◆ set_text()

virtual void neogfx::DesignStudio::i_script::set_text ( i_string const &  aText)
pure virtual

◆ text()

virtual i_string const & neogfx::DesignStudio::i_script::text ( ) const
pure virtual

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