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

Public Types

enum  state { state::normal, state::highlighted, state::selected }
 
using graph_reference = paint::graphics &
 
using scheme = ::nana::drawerbase::menubar::scheme
 

Public Member Functions

 item_renderer (window, graph_reference)
 
virtual void background (const point &, const ::nana::size &, state)
 
virtual void caption (const point &, const native_string_type &)
 
schemescheme_ptr () const
 

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
normal 
highlighted 
selected 

Constructor & Destructor Documentation

nana::drawerbase::menubar::item_renderer::item_renderer ( window  wd,
graph_reference  graph 
)

Member Function Documentation

virtual void nana::drawerbase::menubar::item_renderer::background ( const point ,
const ::nana::size ,
state   
)
virtual
void nana::drawerbase::menubar::item_renderer::caption ( const point pos,
const native_string_type text 
)
virtual
scheme* nana::drawerbase::menubar::item_renderer::scheme_ptr ( ) const
inline