fix misspellings

This commit is contained in:
beru
2019-03-23 18:18:52 +09:00
parent e39158f72f
commit 3160b8a204
14 changed files with 33 additions and 33 deletions

View File

@@ -15,7 +15,7 @@
namespace nana
{
//overlap test if overlaped between r1 and r2
//overlap test if overlapped between r1 and r2
bool overlapped(const rectangle& r1, const rectangle& r2)
{
if (r1.y + (long long)(r1.height) <= r2.y) return false;

View File

@@ -49,8 +49,8 @@ static const char* field_options = "__nana_group_options__";
implement() = default;
implement(window grp_panel, ::std::string titel, bool vsb, unsigned gap=2)
: caption (grp_panel, std::move(titel), vsb),
implement(window grp_panel, ::std::string title, bool vsb, unsigned gap=2)
: caption (grp_panel, std::move(title), vsb),
place_content{grp_panel},
gap{gap}
{
@@ -118,12 +118,12 @@ group::group(window parent, const rectangle& r, bool vsb)
using groupbase_type = widget_object<category::widget_tag, drawerbase::panel::drawer, general_events, drawerbase::group::scheme>;
group::group(window parent, ::std::string titel, bool formatted, unsigned gap, const rectangle& r, bool vsb)
group::group(window parent, ::std::string title, bool formatted, unsigned gap, const rectangle& r, bool vsb)
: group(parent, r, vsb)
{
this->bgcolor(API::bgcolor(parent));
impl_.reset(new implement(*this, std::move(titel), vsb, gap));
impl_.reset(new implement(*this, std::move(title), vsb, gap));
impl_->caption.format(formatted);
_m_init();

View File

@@ -285,7 +285,7 @@ namespace paint
const void* graphics::pixmap() const
{
//The reinterpret_cast is used for same platform. Under Windows, the type
//of pixmap can be conversed into void* directly, but under X11, the type is not a pointer.
//of pixmap can be converted into void* directly, but under X11, the type is not a pointer.
return (impl_->handle ? reinterpret_cast<void*>(impl_->handle->pixmap) : nullptr);
}
@@ -310,7 +310,7 @@ namespace paint
return;
}
//The object will be delete while dwptr_ is performing a release.
//The object will be deleted while dwptr_ is performing a release.
std::shared_ptr<nana::detail::drawable_impl_type> dw{ new nana::detail::drawable_impl_type, detail::drawable_deleter{} };
//Reuse the old font