Code Review
/
apps
/
agl-service-windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update windowmanager
[apps/agl-service-windowmanager.git]
/
src
/
layers.hpp
diff --git
a/src/layers.hpp
b/src/layers.hpp
index
e4160a5
..
f52886e
100644
(file)
--- a/
src/layers.hpp
+++ b/
src/layers.hpp
@@
-114,6
+114,14
@@
struct layer_map
}
json to_json() const;
}
json to_json() const;
+ void setupArea(double scaling);
+ 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);
};
struct result<struct layer_map> to_layer_map(nlohmann::json const &j);