Code Review
/
apps
/
agl-service-windowmanager-2017.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Enable scaling to fit various screen resolutions
[apps/agl-service-windowmanager-2017.git]
/
src
/
wayland_ivi_wm.cpp
diff --git
a/src/wayland_ivi_wm.cpp
b/src/wayland_ivi_wm.cpp
index
6a1c84a
..
75ecbbd
100644
(file)
--- a/
src/wayland_ivi_wm.cpp
+++ b/
src/wayland_ivi_wm.cpp
@@
-435,6
+435,11
@@
void layer::set_visibility(uint32_t visibility)
ivi_wm_set_layer_visibility(this->parent->proxy.get(), this->id, visibility);
}
ivi_wm_set_layer_visibility(this->parent->proxy.get(), this->id, visibility);
}
+void layer::set_source_rectangle(int32_t x, int32_t y, int32_t width, int32_t height)
+{
+ ivi_wm_set_layer_source_rectangle(this->parent->proxy.get(), this->id, x, y, width, height);
+}
+
void layer::set_destination_rectangle(int32_t x, int32_t y,
int32_t width, int32_t height)
{
void layer::set_destination_rectangle(int32_t x, int32_t y,
int32_t width, int32_t height)
{