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

fundamental core component, it provides an abstraction to the OS platform and some basic functions. More...

Classes

class  flag_guard
 
struct  pi_data
 
class  root_guard
 RAII class for window message processing. More...
 
struct  thread_context
 

Public Member Functions

 ~bedrock ()
 
void pump_event (window, bool is_modal)
 
void flush_surface (basic_window *, bool forced, const rectangle *update_area=nullptr)
 
thread_contextopen_thread_context (thread_t tid=0)
 
thread_contextget_thread_context (thread_t tid=0)
 
void remove_thread_context (thread_t tid=0)
 
basic_windowfocus ()
 
void set_menubar_taken (basic_window *)
 
void delay_restore (int)
 
bool close_menu_if_focus_other_window (native_window_type focus)
 
void set_menu (native_window_type menu_window, bool is_keyboard_condition)
 
native_window_type get_menu (native_window_type owner, bool is_keyboard_condition)
 
native_window_type get_menu ()
 
void erase_menu (bool try_destroy)
 
void get_key_state (arg_keyboard &)
 
bool shortkey_occurred (bool status)
 
bool shortkey_occurred () const
 
element_storeget_element_store () const
 
void map_through_widgets (basic_window *, native_drawable_type)
 
void close_thread_window (thread_t thread_id)
 
void keyboard_accelerator (native_window_type, const accel_key &, const std::function< void()> &)
 
void event_expose (basic_window *, bool exposed)
 
void event_move (basic_window *, int x, int y)
 
bool event_msleave (basic_window *)
 
void event_focus_changed (basic_window *root_wd, native_window_type receiver, bool getting)
 
void thread_context_destroy (basic_window *)
 
void thread_context_lazy_refresh ()
 
void update_cursor (basic_window *)
 
void set_cursor (basic_window *, nana::cursor, thread_context *)
 
void define_state_cursor (basic_window *, nana::cursor, thread_context *)
 
void undefine_state_cursor (basic_window *, thread_context *)
 
color_schemesscheme ()
 
events_operationevt_operation ()
 
window_managerwd_manager ()
 
void manage_form_loader (basic_window *, bool insert_or_remove)
 
bool emit (event_code, basic_window *, const event_arg &, bool ask_update, thread_context *, const bool bForce__EmitInternal=false)
 

Static Public Member Functions

static int inc_window (thread_t tid=0)
 
static bedrockinstance ()
 
static void delete_platform_assoc (window_platform_assoc *)
 

Detailed Description

fundamental core component, it provides an abstraction to the OS platform and some basic functions.

Constructor & Destructor Documentation

nana::detail::bedrock::~bedrock ( )

Member Function Documentation

bool nana::detail::bedrock::close_menu_if_focus_other_window ( native_window_type  focus)
void nana::detail::bedrock::close_thread_window ( thread_t  thread_id)
void nana::detail::bedrock::define_state_cursor ( basic_window ,
nana::cursor  ,
thread_context  
)
void nana::detail::bedrock::delay_restore ( int  state)
static void nana::detail::bedrock::delete_platform_assoc ( window_platform_assoc *  )
static
bool nana::detail::bedrock::emit ( event_code  ,
basic_window ,
const event_arg ,
bool  ask_update,
thread_context ,
const bool  bForce__EmitInternal = false 
)
void nana::detail::bedrock::erase_menu ( bool  try_destroy)
void nana::detail::bedrock::event_expose ( basic_window wd,
bool  exposed 
)
void nana::detail::bedrock::event_focus_changed ( basic_window root_wd,
native_window_type  receiver,
bool  getting 
)
void nana::detail::bedrock::event_move ( basic_window wd,
int  x,
int  y 
)
bool nana::detail::bedrock::event_msleave ( basic_window hovered)
events_operation & nana::detail::bedrock::evt_operation ( )
void nana::detail::bedrock::flush_surface ( basic_window ,
bool  forced,
const rectangle update_area = nullptr 
)
basic_window * nana::detail::bedrock::focus ( )
element_store& nana::detail::bedrock::get_element_store ( ) const
void nana::detail::bedrock::get_key_state ( arg_keyboard )
native_window_type nana::detail::bedrock::get_menu ( native_window_type  owner,
bool  is_keyboard_condition 
)
native_window_type nana::detail::bedrock::get_menu ( )
thread_context* nana::detail::bedrock::get_thread_context ( thread_t  tid = 0)
static int nana::detail::bedrock::inc_window ( thread_t  tid = 0)
static
static bedrock& nana::detail::bedrock::instance ( )
static
void nana::detail::bedrock::keyboard_accelerator ( native_window_type  ,
const accel_key ,
const std::function< void()> &   
)
void nana::detail::bedrock::manage_form_loader ( basic_window wd,
bool  insert_or_remove 
)
void nana::detail::bedrock::map_through_widgets ( basic_window ,
native_drawable_type   
)
thread_context* nana::detail::bedrock::open_thread_context ( thread_t  tid = 0)
void nana::detail::bedrock::pump_event ( window  ,
bool  is_modal 
)
void nana::detail::bedrock::remove_thread_context ( thread_t  tid = 0)
color_schemes & nana::detail::bedrock::scheme ( )
void nana::detail::bedrock::set_cursor ( basic_window ,
nana::cursor  ,
thread_context  
)
void nana::detail::bedrock::set_menu ( native_window_type  menu_window,
bool  is_keyboard_condition 
)
void nana::detail::bedrock::set_menubar_taken ( basic_window wd)
bool nana::detail::bedrock::shortkey_occurred ( bool  status)
bool nana::detail::bedrock::shortkey_occurred ( ) const
void nana::detail::bedrock::thread_context_destroy ( basic_window wd)
void nana::detail::bedrock::thread_context_lazy_refresh ( )
void nana::detail::bedrock::undefine_state_cursor ( basic_window ,
thread_context  
)
void nana::detail::bedrock::update_cursor ( basic_window wd)
window_manager & nana::detail::bedrock::wd_manager ( )