diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-08-27 15:28:00 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-08-27 19:17:17 +0900 |
commit | a5106227c3c9ddbe2b07fbc2ecfc4e2ae1e4de74 (patch) | |
tree | 94d568f2af40af4a8c92387a659e1351853834e2 /src/wm_layer_control.hpp | |
parent | 0a414d1909a0f356e195d81593eb6b50d470daab (diff) |
Update wm_layer
Change-Id: Ia8277ba20a97a0a5b3617ae14a447e0e962afafd
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.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wm_layer_control.hpp b/src/wm_layer_control.hpp index 647a5c7..db482bf 100644 --- a/src/wm_layer_control.hpp +++ b/src/wm_layer_control.hpp @@ -60,10 +60,12 @@ class LayerControl explicit LayerControl(const std::string& root);
~LayerControl() = default;
WMError init(const LayerControlCallbacks& cb);
- unsigned getNewLayerID(const std::string& role);
+ void createNewLayer(unsigned id);
+ unsigned getNewLayerID(const std::string& role, std::string* layer_name);
struct rect getAreaSize(const std::string& area);
void setupArea(double scaling);
Screen getScreenInfo();
+ double scale();
// void setRenderOrder(const std::vector<unsigned> layer_render_order);
// std::vector<unsigned> getAllRenderOrder();
// std::vector<std::shared_ptr<WMLayer>>& getAllLayers();
@@ -84,6 +86,7 @@ class LayerControl std::unordered_map<std::string, struct rect> area2size;
unsigned screenID;
struct ilmScreenProperties screen_prop;
+ double scaling;
LayerControlCallbacks cb;
};
|