X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Flayers.hpp;h=f52886ef5443870dea4a01629d36c9ad755abb71;hb=refs%2Ftags%2Fflounder%2F6.0.2;hp=e4160a52758e1cf2e4ae7e1401dee536a5c2a7d0;hpb=be9cbe2c4d0bc0f65cbe08de2bad3eb6e7f248c0;p=apps%2Fagl-service-windowmanager-2017.git diff --git a/src/layers.hpp b/src/layers.hpp index e4160a5..f52886e 100644 --- a/src/layers.hpp +++ b/src/layers.hpp @@ -114,6 +114,14 @@ struct layer_map } json to_json() const; + void setupArea(double scaling); + compositor::rect getAreaSize(const std::string &area); + int loadAreaDb(); + + private: + std::unordered_map area2size; + + static const char *kDefaultAreaDb; }; struct result to_layer_map(nlohmann::json const &j);