Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::drawerbase::menu::renderer_interface Class Referenceabstract
Inheritance diagram for nana::drawerbase::menu::renderer_interface:
nana::drawerbase::menu::internal_renderer

Classes

struct  attr
 

Public Types

enum  state { state::normal, state::active }
 
using graph_reference = nana::paint::graphics &
 

Public Member Functions

virtual ~renderer_interface ()=default
 
virtual void background (graph_reference, window)=0
 
virtual void item (graph_reference, const nana::rectangle &, const attr &)=0
 
virtual void item_image (graph_reference, const nana::point &, unsigned image_px, const paint::image &)=0
 
virtual void item_text (graph_reference, const nana::point &, const std::string &, unsigned text_pixels, const attr &)=0
 
virtual void sub_arrow (graph_reference, const nana::point &, unsigned item_pixels, const attr &)=0
 

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
normal 
active 

Constructor & Destructor Documentation

virtual nana::drawerbase::menu::renderer_interface::~renderer_interface ( )
virtualdefault

Member Function Documentation

virtual void nana::drawerbase::menu::renderer_interface::background ( graph_reference  ,
window   
)
pure virtual
virtual void nana::drawerbase::menu::renderer_interface::item ( graph_reference  ,
const nana::rectangle ,
const attr  
)
pure virtual
virtual void nana::drawerbase::menu::renderer_interface::item_image ( graph_reference  ,
const nana::point ,
unsigned  image_px,
const paint::image  
)
pure virtual
virtual void nana::drawerbase::menu::renderer_interface::item_text ( graph_reference  ,
const nana::point ,
const std::string ,
unsigned  text_pixels,
const attr  
)
pure virtual
virtual void nana::drawerbase::menu::renderer_interface::sub_arrow ( graph_reference  ,
const nana::point ,
unsigned  item_pixels,
const attr  
)
pure virtual