diff options
author | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2018-11-30 15:04:14 +0900 |
---|---|---|
committer | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2018-11-30 15:04:14 +0900 |
commit | d3eb924dde663e971656d277cd3ac596372bbc70 (patch) | |
tree | 07f9d99060423e54de68d22c7bcd9962b27299de /src/wm_layer_control.hpp | |
parent | c1d5b18cd9d3318c5dcc2a071a7250f8ab74745c (diff) |
Add 2 APIs
* getAreaList
* changeAreaSize
Diffstat (limited to 'src/wm_layer_control.hpp')
-rw-r--r-- | src/wm_layer_control.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wm_layer_control.hpp b/src/wm_layer_control.hpp index fef71ff..63362df 100644 --- a/src/wm_layer_control.hpp +++ b/src/wm_layer_control.hpp @@ -79,6 +79,10 @@ class LayerControl void undoUpdate(); WMError layoutChange(const WMAction& action); WMError visibilityChange(const WMAction &action); + const std::unordered_map<std::string, struct rect>& getAreaList() {return this->area2size;} + WMError updateAreaList(const ChangeAreaReq& req); + WMError getUpdateAreaList(ChangeAreaReq* req); + WMError changeAreaSize(std::shared_ptr<WMClient> client, const std::string& area); void appTerminated(const std::shared_ptr<WMClient> client); // Don't use this function. |