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

Classes

struct  wd_rectangle
 

Public Types

enum  paint_operation { paint_operation::none, paint_operation::have_refreshed, paint_operation::try_refresh }
 

Static Public Member Functions

static void paint (basic_window *, paint_operation, bool request_refresh_children)
 
static bool maproot (basic_window *, bool have_refreshed, bool request_refresh_children)
 
static void paste_children_to_graphics (basic_window *, nana::paint::graphics &graph)
 
static bool read_visual_rectangle (basic_window *, nana::rectangle &visual)
 Reads the visual rectangle of a window, the visual rectangle's reference frame is to root widget, the visual rectangle is a rectangular block that a window should be displayed on screen. The result is a rectangle that is a visible area for its ancestors. More...
 
static bool read_overlaps (basic_window *, const nana::rectangle &vis_rect, std::vector< wd_rectangle > &blocks)
 
static bool enable_effects_bground (basic_window *, bool enabled)
 
static void make_bground (basic_window *const)
 

Member Enumeration Documentation

Enumerator
none 
have_refreshed 
try_refresh 

Member Function Documentation

bool nana::detail::window_layout::enable_effects_bground ( basic_window wd,
bool  enabled 
)
static
void nana::detail::window_layout::make_bground ( basic_window * const  wd)
static
bool nana::detail::window_layout::maproot ( basic_window wd,
bool  have_refreshed,
bool  request_refresh_children 
)
static
void nana::detail::window_layout::paint ( basic_window wd,
paint_operation  operation,
bool  request_refresh_children 
)
static
void nana::detail::window_layout::paste_children_to_graphics ( basic_window wd,
nana::paint::graphics graph 
)
static
bool nana::detail::window_layout::read_overlaps ( basic_window wd,
const nana::rectangle vis_rect,
std::vector< wd_rectangle > &  blocks 
)
static
bool nana::detail::window_layout::read_visual_rectangle ( basic_window wd,
nana::rectangle visual 
)
static

Reads the visual rectangle of a window, the visual rectangle's reference frame is to root widget, the visual rectangle is a rectangular block that a window should be displayed on screen. The result is a rectangle that is a visible area for its ancestors.