improve inputbox

This commit is contained in:
Jinhao
2015-02-24 17:03:17 +08:00
parent 022f7168c0
commit f454a965be
4 changed files with 57 additions and 16 deletions

View File

@@ -80,7 +80,6 @@ namespace nana
if (backimg.stretchable)
{
auto fit_size = fit_zoom({ valid_area.width, valid_area.height }, graphsize);
//::nana::point pos{ int(graphsize.width - fit_size.width), int(graphsize.height - fit_size.height) };
::nana::point pos;
if (fit_size.width != graphsize.width)
@@ -176,8 +175,6 @@ namespace nana
}//end namespace drawerbase
//class picture
picture::picture(){}
picture::picture(window wd, bool visible)
{
create(wd, rectangle(), visible);