|
Nana C++ Library. Reference for users.
What we need to use nana
|
Classes | |
| struct | draw_graph |
| struct | draw_image |
| struct | draw_method |
| struct | implementation |
Public Types | |
| typedef paint::graphics & | graph_reference |
Public Types inherited from nana::element::detail::element_abstract | |
| using | graph_reference = ::nana::paint::graphics & |
Public Member Functions | |
| bground () | |
| bground (const bground &) | |
| ~bground () | |
| bground & | operator= (const bground &) |
| bground & | image (const paint::image &, bool vertical, const nana::rectangle &valid_area) |
| Set a picture for the background. More... | |
| bground & | image (const paint::graphics &, bool vertical, const nana::rectangle &valid_area) |
| Set a picture for the background. More... | |
| void | states (const std::vector< element_state > &) |
| Set the state sequence of the background picture. More... | |
| void | states (std::vector< element_state > &&) |
| Set the state sequence of the background picture. More... | |
| void | reset_states () |
| void | join (element_state target, element_state joiner) |
| void | stretch_parts (unsigned left, unsigned top, unsigned right, unsigned bottom) |
| virtual bool | draw (graph_reference, const nana::color &bgcolor, const nana::color &fgcolor, const nana::rectangle &, element_state) |
Public Member Functions inherited from nana::element::detail::element_abstract | |
| virtual | ~element_abstract ()=default |
| nana::element::bground::bground | ( | ) |
| nana::element::bground::bground | ( | const bground & | rhs | ) |
| nana::element::bground::~bground | ( | ) |
|
virtual |
Implements nana::element::element_interface.
| bground & nana::element::bground::image | ( | const paint::image & | img, |
| bool | vertical, | ||
| const nana::rectangle & | valid_area | ||
| ) |
Set a picture for the background.
| bground & nana::element::bground::image | ( | const paint::graphics & | graph, |
| bool | vertical, | ||
| const nana::rectangle & | valid_area | ||
| ) |
Set a picture for the background.
| void nana::element::bground::join | ( | element_state | target, |
| element_state | joiner | ||
| ) |
| void nana::element::bground::reset_states | ( | ) |
| void nana::element::bground::states | ( | const std::vector< element_state > & | s | ) |
Set the state sequence of the background picture.
| void nana::element::bground::states | ( | std::vector< element_state > && | s | ) |
Set the state sequence of the background picture.
| void nana::element::bground::stretch_parts | ( | unsigned | left, |
| unsigned | top, | ||
| unsigned | right, | ||
| unsigned | bottom | ||
| ) |