minor revision

This commit is contained in:
Jinhao 2015-03-01 22:40:16 +08:00
parent 57bd96a6ca
commit 0df28e13e1
2 changed files with 6 additions and 6 deletions

View File

@ -118,9 +118,9 @@ namespace detail
bool available(core_window_t *, core_window_t*);
bool available(native_window_type);
core_window_t* create_root(core_window_t* owner, bool nested, rectangle, const appearance&, widget*);
core_window_t* create_widget(core_window_t* parent, const rectangle&, bool is_lite, widget*);
core_window_t* create_frame(core_window_t* parent, const rectangle&, widget*);
core_window_t* create_root(core_window_t*, bool nested, rectangle, const appearance&, widget*);
core_window_t* create_widget(core_window_t*, const rectangle&, bool is_lite, widget*);
core_window_t* create_frame(core_window_t*, const rectangle&, widget*);
bool insert_frame(core_window_t* frame, native_window);
bool insert_frame(core_window_t* frame, core_window_t*);
void close(core_window_t*);

View File

@ -1,7 +1,7 @@
/*
* A Form Implementation
* Nana C++ Library(http://www.nanapro.org)
* Copyright(C) 2003-2014 Jinhao(cnjinhao@hotmail.com)
* Copyright(C) 2003-2015 Jinhao(cnjinhao@hotmail.com)
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
@ -37,7 +37,7 @@ namespace nana
class form: public widget_object<category::root_tag, drawerbase::form::trigger, detail::events_root_extension>
{
public:
typedef ::nana::appear appear;
using appear = ::nana::appear;
/// Creates a window at the point and size specified by rect, and with the specified appearance. Creates a form owned by the desktop.
form(const rectangle& = API::make_center(300, 200), const appearance& = {}); //Default constructor
@ -53,7 +53,7 @@ namespace nana
class nested_form : public widget_object<category::root_tag, drawerbase::form::trigger, detail::events_root_extension>
{
public:
typedef ::nana::appear appear;
using appear = ::nana::appear;
nested_form(const form&, const rectangle& = {}, const appearance& = {});
nested_form(const nested_form&, const rectangle& = {}, const appearance& = {});