a window data structure descriptor
More...
|
| basic_window (basic_window *owner, std::unique_ptr< widget_notifier_interface > &&, category::root_tag **) |
| constructor for the root window More...
|
|
template<typename Category > |
| basic_window (basic_window *parent, std::unique_ptr< widget_notifier_interface > &&wdg_notifier, const rectangle &r, Category **) |
|
| ~basic_window () |
|
void | bind_native_window (native_window_type, unsigned width, unsigned height, unsigned extra_width, unsigned extra_height, paint::graphics &) |
| bind a native window and baisc_window More...
|
|
bool | is_ancestor_of (const basic_window *wd) const |
|
bool | visible_parents () const |
|
bool | displayed () const |
|
bool | belong_to_lazy () const |
|
const basic_window * | child_caret () const |
| Returns the child which owns the caret. More...
|
|
bool | is_draw_through () const |
| Determines whether it is a draw-through window. More...
|
|
basic_window * | seek_non_lite_widget_ancestor () const |
|
void | set_action (mouse_action) |
|
bool | try_lazy_update (bool try_refresh) |
| Only refresh when the root of window is in lazy-updating mode. More...
|
|
bool | set_events (const std::shared_ptr< general_events > &) override |
| Override event_holder. More...
|
|
general_events * | get_events () const override |
|
virtual | ~events_holder () |
|
Enumerator |
---|
none |
|
lazy |
|
refreshed |
|
request_refresh |
|
constructor for the root window
template<typename Category >
nana::detail::basic_window::~basic_window |
( |
| ) |
|
bool nana::detail::basic_window::belong_to_lazy |
( |
| ) |
const |
void nana::detail::basic_window::bind_native_window |
( |
native_window_type |
wd, |
|
|
unsigned |
width, |
|
|
unsigned |
height, |
|
|
unsigned |
extra_width, |
|
|
unsigned |
extra_height, |
|
|
paint::graphics & |
graphics |
|
) |
| |
bind a native window and baisc_window
const basic_window * nana::detail::basic_window::child_caret |
( |
| ) |
const |
Returns the child which owns the caret.
bool nana::detail::basic_window::displayed |
( |
| ) |
const |
bool nana::detail::basic_window::is_ancestor_of |
( |
const basic_window * |
wd | ) |
const |
bool nana::detail::basic_window::is_draw_through |
( |
| ) |
const |
Determines whether it is a draw-through window.
basic_window * nana::detail::basic_window::seek_non_lite_widget_ancestor |
( |
| ) |
const |
void nana::detail::basic_window::set_action |
( |
mouse_action |
act | ) |
|
bool nana::detail::basic_window::try_lazy_update |
( |
bool |
try_refresh | ) |
|
Only refresh when the root of window is in lazy-updating mode.
bool nana::detail::basic_window::visible_parents |
( |
| ) |
const |
double nana::detail::basic_window::bground_fade_rate |
container nana::detail::basic_window::children |
size nana::detail::basic_window::dimension |
Self Drawer with owen graphics.
struct { ... } nana::detail::basic_window::effect |
unsigned nana::detail::basic_window::extra_height |
unsigned nana::detail::basic_window::extra_width |
unsigned nana::detail::basic_window::index |
::nana::size nana::detail::basic_window::max_track_size |
::nana::size nana::detail::basic_window::min_track_size |
point nana::detail::basic_window::pos_owner |
point nana::detail::basic_window::pos_root |
coordinates of the root window
cursor nana::detail::basic_window::predef_cursor |
Refer to the root buffer graphics.
A pointer refers to the root basic window, if the window is a root, the pointer refers to itself.
thread_t nana::detail::basic_window::thread_id |
the identifier of the thread that created the window.
bool nana::detail::basic_window::visible |