Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::appear::decorate< Minimize, Maximize, Sizable, Floating, NoActive > Struct Template Reference

Create an appearance of a window with "decoration" in non-client area, such as title bar. More...

Public Types

typedef meta::fixed_type_set
< Minimize, Maximize, Sizable,
Floating, NoActive > 
set_type
 

Public Member Functions

 operator appearance () const
 

Detailed Description

template<typename Minimize = null_type, typename Maximize = null_type, typename Sizable = null_type, typename Floating = null_type, typename NoActive = null_type>
struct nana::appear::decorate< Minimize, Maximize, Sizable, Floating, NoActive >

Create an appearance of a window with "decoration" in non-client area, such as title bar.

We can create a form without min/max button and sizable border like this:

* using nana::appear;
* nana::form form(x, y, width, height, appear::decorate<appear::taskbar>());
*

The appearance created by appear::decorate<>() has a titlebar and borders that are draw by the platform- window manager. If a window needs a minimize button, it should be:

* appear::decorate<appear::minimize, appear::taskbar>()
*
Examples:
decore.cpp, example_combox.cpp, folder_tree_nana.cpp, folder_tree_std.cpp, widget_show.cpp, and widget_show2.cpp.

Member Typedef Documentation

template<typename Minimize = null_type, typename Maximize = null_type, typename Sizable = null_type, typename Floating = null_type, typename NoActive = null_type>
typedef meta::fixed_type_set<Minimize, Maximize, Sizable, Floating, NoActive> nana::appear::decorate< Minimize, Maximize, Sizable, Floating, NoActive >::set_type

Member Function Documentation

template<typename Minimize = null_type, typename Maximize = null_type, typename Sizable = null_type, typename Floating = null_type, typename NoActive = null_type>
nana::appear::decorate< Minimize, Maximize, Sizable, Floating, NoActive >::operator appearance ( ) const
inline