Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::widgets::skeletons::text_editor::helper_pencil Class Reference

Public Member Functions

 helper_pencil (paint::graphics &graph, const text_editor &editor, keyword_parser &parser)
 
color selection_color (bool fgcolor, bool focused) const
 
void write_selection (const point &text_pos, unsigned text_px, const wchar_t *text, std::size_t len, bool has_focused)
 
void rtl_string (point strpos, const wchar_t *str, std::size_t len, std::size_t str_px, unsigned glyph_front, unsigned glyph_selected, bool has_focused)
 

Constructor & Destructor Documentation

nana::widgets::skeletons::text_editor::helper_pencil::helper_pencil ( paint::graphics graph,
const text_editor editor,
keyword_parser parser 
)
inline

Member Function Documentation

void nana::widgets::skeletons::text_editor::helper_pencil::rtl_string ( point  strpos,
const wchar_t *  str,
std::size_t  len,
std::size_t  str_px,
unsigned  glyph_front,
unsigned  glyph_selected,
bool  has_focused 
)
inline
color nana::widgets::skeletons::text_editor::helper_pencil::selection_color ( bool  fgcolor,
bool  focused 
) const
inline
void nana::widgets::skeletons::text_editor::helper_pencil::write_selection ( const point text_pos,
unsigned  text_px,
const wchar_t *  text,
std::size_t  len,
bool  has_focused 
)
inline