X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Flayers.hpp;h=b6dd67ffcc3341927c1a66f32c4ec39dc6415cc4;hb=c3c367949eb63dbde4447d0c818e8af608398514;hp=e4160a52758e1cf2e4ae7e1401dee536a5c2a7d0;hpb=be9cbe2c4d0bc0f65cbe08de2bad3eb6e7f248c0;p=apps%2Fagl-service-windowmanager.git diff --git a/src/layers.hpp b/src/layers.hpp index e4160a5..b6dd67f 100644 --- a/src/layers.hpp +++ b/src/layers.hpp @@ -114,6 +114,14 @@ struct layer_map } json to_json() const; + void setupArea(int output_w, int output_h); + 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);