X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Flayers.hpp;h=5a18fad043a643a63e304f92c1ec52522023424d;hb=6a1e527c8bd8ff7d1a04a3528431f36a2aa29e5e;hp=5479c3a62ebdd6d60c64c956bf7d3269c3ea3a7d;hpb=dfe4aee045113eceaeabd327291f94583e7b13d3;p=apps%2Fagl-service-windowmanager.git diff --git a/src/layers.hpp b/src/layers.hpp index 5479c3a..5a18fad 100644 --- a/src/layers.hpp +++ b/src/layers.hpp @@ -17,12 +17,9 @@ #ifndef TMCAGLWM_LAYERS_H #define TMCAGLWM_LAYERS_H -#include - -#include -#include #include +#include "../include/json.hpp" #include "layout.hpp" #include "result.hpp" #include "wayland_ivi_wm.hpp" @@ -117,6 +114,11 @@ struct layer_map } json to_json() const; + void setupArea(int output_w, int output_h); + compositor::rect getAreaSize(const std::string &area); + + private: + std::unordered_map area2size; }; struct result to_layer_map(nlohmann::json const &j);