Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::drawerbase::combox::drawer_impl Class Reference

Public Types

enum  parts { parts::none, parts::text, parts::push_button }
 
using graph_reference = paint::graphics &
 
using widget_reference = widget &
 

Public Member Functions

 drawer_impl ()
 
void renderer (drawerbase::float_listbox::item_renderer *ir)
 
void attached (widget_reference wd, graph_reference graph)
 
void detached ()
 
void insert (std::string &&text)
 
nana::anyanyobj (std::size_t pos, bool allocate_if_empty) const
 
widgets::skeletons::text_editoreditor () const
 
widgetwidget_ptr () const
 
void clear ()
 
void editable (bool enb)
 
bool editable () const
 
bool calc_where (graph_reference graph, int x, int y)
 
void set_button_state (element_state state, bool reset_where)
 
void set_focused (bool f)
 
bool has_lister () const
 
void open_lister_if_push_button_positioned ()
 
void scroll_items (bool upwards)
 
void move_items (bool upwards, bool circle)
 
void draw ()
 
std::size_t the_number_of_options () const
 
std::size_t option () const
 
void option (std::size_t index, bool ignore_condition)
 
std::size_t at_key (std::shared_ptr< nana::detail::key_interface > &&p)
 
void erase (detail::key_interface *kv)
 
itemat (std::size_t pos)
 
const itemat (std::size_t pos) const
 
void erase (std::size_t pos)
 
void image (std::size_t pos, const nana::paint::image &img)
 
bool image_pixels (unsigned px)
 

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
none 
text 
push_button 

Constructor & Destructor Documentation

nana::drawerbase::combox::drawer_impl::drawer_impl ( )
inline

Member Function Documentation

nana::any* nana::drawerbase::combox::drawer_impl::anyobj ( std::size_t  pos,
bool  allocate_if_empty 
) const
inline
item& nana::drawerbase::combox::drawer_impl::at ( std::size_t  pos)
inline
const item& nana::drawerbase::combox::drawer_impl::at ( std::size_t  pos) const
inline
std::size_t nana::drawerbase::combox::drawer_impl::at_key ( std::shared_ptr< nana::detail::key_interface > &&  p)
inline
void nana::drawerbase::combox::drawer_impl::attached ( widget_reference  wd,
graph_reference  graph 
)
inline
bool nana::drawerbase::combox::drawer_impl::calc_where ( graph_reference  graph,
int  x,
int  y 
)
inline
void nana::drawerbase::combox::drawer_impl::clear ( )
inline
void nana::drawerbase::combox::drawer_impl::detached ( )
inline
void nana::drawerbase::combox::drawer_impl::draw ( )
inline
void nana::drawerbase::combox::drawer_impl::editable ( bool  enb)
inline
bool nana::drawerbase::combox::drawer_impl::editable ( ) const
inline
widgets::skeletons::text_editor* nana::drawerbase::combox::drawer_impl::editor ( ) const
inline
void nana::drawerbase::combox::drawer_impl::erase ( detail::key_interface kv)
inline
void nana::drawerbase::combox::drawer_impl::erase ( std::size_t  pos)
inline
bool nana::drawerbase::combox::drawer_impl::has_lister ( ) const
inline
void nana::drawerbase::combox::drawer_impl::image ( std::size_t  pos,
const nana::paint::image img 
)
inline
bool nana::drawerbase::combox::drawer_impl::image_pixels ( unsigned  px)
inline
void nana::drawerbase::combox::drawer_impl::insert ( std::string &&  text)
inline
void nana::drawerbase::combox::drawer_impl::move_items ( bool  upwards,
bool  circle 
)
inline
void nana::drawerbase::combox::drawer_impl::open_lister_if_push_button_positioned ( )
inline
std::size_t nana::drawerbase::combox::drawer_impl::option ( ) const
inline
void nana::drawerbase::combox::drawer_impl::option ( std::size_t  index,
bool  ignore_condition 
)
inline
void nana::drawerbase::combox::drawer_impl::renderer ( drawerbase::float_listbox::item_renderer ir)
inline
void nana::drawerbase::combox::drawer_impl::scroll_items ( bool  upwards)
inline
void nana::drawerbase::combox::drawer_impl::set_button_state ( element_state  state,
bool  reset_where 
)
inline
void nana::drawerbase::combox::drawer_impl::set_focused ( bool  f)
inline
std::size_t nana::drawerbase::combox::drawer_impl::the_number_of_options ( ) const
inline
widget* nana::drawerbase::combox::drawer_impl::widget_ptr ( ) const
inline