Nana - a C++ framework project The Programmer's Guide |
||
nana::gui::appearance Description This is a structure type defined to specify the appearance of a form. Its definition is.
If a form would to be defined without min/max button and sizable border, then nana::gui::form form(x, y, width, height, nana::gui::appearance(false, false, false, true, false)); This piece of code may be confused because of the 5th parameter of constructor from nana::gui::form. So the library provides a helper class for making it easy.
nana:gui::appear::decorate is used for creating an appearance of a window decoration. the window decoration in Windows is called non-client area, such as title bar. So, we can create a form without min/max button and sizable border like this. using nana::gui::appear; nana::gui::form form(x, y, width, height, appear::decorate<appear::taskbar>()); If a window needs a minimize button, it should be appear::decorate<appear::minimize, appear::taskbar>() The nana::gui::appear::bald is used for creating a window without decoration. The nana::gui::appear::optional is used for creating a window with decoration depending on the first non-type template parameter. The parameter of class template decorate can be minimize, maximize, sizable, taskbar, floating. The parameter of class template bald can be taskbar, floating. The parameter of class template optional can be true, false, taskbar, floating. Model of None Public base classes None Members File nana/gui/basis.hpp Notes None. See also nana::gui::form Move to The Nana Programmer's Guide Main Page |
||