aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_layer_control.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-08 15:28:36 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-08 15:29:08 +0900
commit2f2639950dec4b97984fd6776a850e5d4703ef52 (patch)
tree83a61ec7fa6fc729974d116feddbd03b4e1909e4 /src/wm_layer_control.hpp
parentf5001e404097c3e55ed9fad207036c55d11f5c8d (diff)
Update wm_layer
* add getUuid * add getWMLayer Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/wm_layer_control.hpp')
-rw-r--r--src/wm_layer_control.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wm_layer_control.hpp b/src/wm_layer_control.hpp
index 0be06c2..df6c863 100644
--- a/src/wm_layer_control.hpp
+++ b/src/wm_layer_control.hpp
@@ -63,6 +63,8 @@ class LayerControl
WMError init(const LayerControlCallbacks& cb);
void createNewLayer(unsigned id);
unsigned getNewLayerID(const std::string& role, std::string* layer_name);
+ std::shared_ptr<WMLayer> getWMLayer(unsigned layer);
+ // std::shared_ptr<WMLayer> getWMLayer(std::string layer_name);
struct rect getAreaSize(const std::string& area);
void setupArea(double scaling);
Screen getScreenInfo();
@@ -73,6 +75,7 @@ class LayerControl
// std::vector<unsigned> getRenderOrder(const std::string& layer_name);
WMError updateLayer(LayerState& layer_state);
WMError commitChange();
+ // WMError renderWMLayers();
void undoUpdate();
WMError layoutChange(const WMAction& action);
WMError visibilityChange(const WMAction &action);
@@ -88,6 +91,7 @@ class LayerControl
WMError loadAreaDb(const std::string& path);
std::vector<std::shared_ptr<WMLayer>> wm_layers;
+ std::unordered_map<unsigned, unsigned> lid2wmlid;
std::unordered_map<std::string, struct rect> area2size;
unsigned screenID;
struct ilmScreenProperties screen_prop;