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