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

Namespaces

 dynamic_drawing
 
 utl
 

Classes

class  locale_initializer
 candidate to be more general?? More...
 
class  charset_encoding_interface
 
struct  encoding_error_police
 playing with the idea - we need a mechanism to set a user selected police - Testing an abstract interface More...
 
struct  utf8_error_police
 the current nana default: it is safe - you may want to keep it ! use the other at your risk: mainly for debugging More...
 
struct  utf8_error_police_def_char
 
struct  utf8_error_police_throw
 
struct  utf8_error_police_latin
 
struct  utf8_error_police_system
 buggie? More...
 
class  charset_string
 
class  charset_wstring
 
struct  font_style
 
class  caret
 
struct  tab_type
 Define some constant about tab category, these flags can be combine with operator |. More...
 
struct  basic_window
 a window data structure descriptor More...
 
class  drawer
 
class  events_holder
 
class  widget_notifier_interface
 
struct  native_interface
 
class  event_interface
 
class  event_docker_interface
 
struct  docker_base
 
class  event_base
 
struct  events_root_extension
 
class  bedrock
 fundamental core component, it provides an abstraction to the OS platform and some basic functions. More...
 
class  scheme_factory_interface
 
class  scheme_factory
 
class  color_schemes
 
class  events_operation
 
class  window_manager
 
struct  form_loader_private
 
class  form_loader
 
class  widget_base
 
class  element_store
 
class  edge_nimbus_renderer
 Effect edige nimbus renderer. More...
 
class  window_layout
 
struct  shortkey_rep
 
class  lite_map
 
struct  thread_refcount
 
class  cache
 
class  window_register
 
class  shortkey_container
 
struct  root_misc
 
class  root_register
 
struct  dragdrop_data
 
class  place_agent
 
struct  notifier_events
 
class  timer_core
 
class  key_interface
 
struct  type_escape
 
struct  type_escape< char * >
 
struct  type_escape< const char * >
 
struct  type_escape< char[Size]>
 
struct  type_escape< const char[Size]>
 
struct  type_escape< wchar_t * >
 
struct  type_escape< const wchar_t * >
 
struct  type_escape< wchar_t[Size]>
 
struct  type_escape< const wchar_t[Size]>
 
class  popuper
 
class  inline_widget_indicator
 
class  inline_widget_notifier_interface
 
class  inline_widget_manager
 
class  msg_dispatcher
 
struct  msg_packet_tag
 
class  theme
 
struct  xdnd_data
 
class  xdnd_protocol
 

Typedefs

using native_string_type = std::string
 
typedef bedrock bedrock_type
 
using lock_guard = std::lock_guard< std::recursive_mutex >
 
using window_layer = window_layout
 

Enumerations

enum  visible_state { visible_state::invisible, visible_state::visible, visible_state::displayed }
 
enum  { event_size = static_cast<int>(event_code::end) }
 
enum  propagation_chain { propagation_chain::exit, propagation_chain::stop, propagation_chain::pass }
 

Functions

static bool wc2mb (std::string &mbstr, const wchar_t *s)
 convert wchar C string from ? ANSI code page CP_ACP (windows) or LC_CTYPE c locale (-nix) into utf8 std::string More...
 
static bool mb2wc (std::wstring &wcstr, const char *s)
 convert a char C-string from The system default Windows ANSI code page CP_ACP or from LC_CTYPE c locale (-nix) into utf16 std::wstring More...
 
bool mb2wc (std::string &wcstr, const char *s)
 convert a char C string from The system default Windows ANSI code page CP_ACP or LC_CTYPE c locale (-nix) into utf16 std::string More...
 
void events_operation_register (event_handle evt)
 
basic_windowget_tabstop (basic_window *wd, bool forward)
 
bool check_tree (basic_window *wd, basic_window *const cond)
 
bool pred_equal (const key_interface *left, const key_interface *right) noexcept
 

Variables

auto def_encoding_error_police = std::make_unique<utf8_error_police_system>()
 
condition pressed = nullptr
 
condition pressed_by_space = nullptr
 
condition hovered = nullptr
 

Typedef Documentation

Enumeration Type Documentation

anonymous enum
Enumerator
event_size 
Enumerator
exit 
stop 
pass 
Enumerator
invisible 
visible 
displayed 

Function Documentation

bool nana::detail::check_tree ( basic_window *  wd,
basic_window *const  cond 
)
void nana::detail::events_operation_register ( event_handle  evt)
basic_window* nana::detail::get_tabstop ( basic_window *  wd,
bool  forward 
)
static bool nana::detail::mb2wc ( std::wstring wcstr,
const char *  s 
)
static

convert a char C-string from The system default Windows ANSI code page CP_ACP or from LC_CTYPE c locale (-nix) into utf16 std::wstring

bool nana::detail::mb2wc ( std::string wcstr,
const char *  s 
)

convert a char C string from The system default Windows ANSI code page CP_ACP or LC_CTYPE c locale (-nix) into utf16 std::string

bool nana::detail::pred_equal ( const key_interface *  left,
const key_interface *  right 
)
inlinenoexcept
static bool nana::detail::wc2mb ( std::string mbstr,
const wchar_t *  s 
)
static

convert wchar C string from ? ANSI code page CP_ACP (windows) or LC_CTYPE c locale (-nix) into utf8 std::string

Variable Documentation

auto nana::detail::def_encoding_error_police = std::make_unique<utf8_error_police_system>()
condition nana::detail::hovered = nullptr
condition nana::detail::pressed = nullptr
condition nana::detail::pressed_by_space = nullptr