get ready for Linux

This commit is contained in:
cnjinhao
2015-02-04 10:26:08 +08:00
parent ec78324743
commit fd5ff571a7
27 changed files with 180 additions and 176 deletions

View File

@@ -47,8 +47,7 @@ namespace nana
#else
if (0 == index_)
{
position_.x = position_.y = 0;
size_ = detail::native_interface::primary_monitor_size();
area_ = detail::native_interface::primary_monitor_size();
return;
}
#endif
@@ -61,7 +60,7 @@ namespace nana
}
public:
//Implementation of display
std::size_t index() const override
std::size_t get_index() const override
{
return index_;
}
@@ -72,7 +71,7 @@ namespace nana
}
private:
const std::size_t index_;
::nana::rectangle area_;
::nana::rectangle area_;
};
//class screen