Merge branch 'develop' of https://github.com/nabijaczleweli/nana into nabijaczleweli-develop
This commit is contained in:
commit
bfa96c0dc9
@ -355,17 +355,17 @@ namespace paint
|
||||
return (image_ptr_ ? &image::empty : nullptr);
|
||||
}
|
||||
|
||||
void image::close()
|
||||
void image::close() noexcept
|
||||
{
|
||||
image_ptr_.reset();
|
||||
}
|
||||
|
||||
bool image::alpha() const
|
||||
bool image::alpha() const noexcept
|
||||
{
|
||||
return (image_ptr_ ? image_ptr_->alpha_channel() : false);
|
||||
}
|
||||
|
||||
nana::size image::size() const
|
||||
nana::size image::size() const noexcept
|
||||
{
|
||||
return (image_ptr_ ? image_ptr_->size() : nana::size());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user