aboutsummaryrefslogtreecommitdiffstats
path: root/src/layers.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/layers.hpp')
-rw-r--r--src/layers.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/layers.hpp b/src/layers.hpp
index e4160a5..a8ab2cc 100644
--- a/src/layers.hpp
+++ b/src/layers.hpp
@@ -114,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<std::string, compositor::rect> area2size;
};
struct result<struct layer_map> to_layer_map(nlohmann::json const &j);