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
Add APIs which can get information about the display and the surface area
[apps/agl-service-windowmanager.git]
/
src
/
wayland_ivi_wm.hpp
diff --git
a/src/wayland_ivi_wm.hpp
b/src/wayland_ivi_wm.hpp
index
a51a1a0
..
872e287
100644
(file)
--- a/
src/wayland_ivi_wm.hpp
+++ b/
src/wayland_ivi_wm.hpp
@@
-96,6
+96,8
@@
struct display {
struct output : public wayland_proxy<struct wl_output> {
int width{};
int height{};
struct output : public wayland_proxy<struct wl_output> {
int width{};
int height{};
+ int physical_width{};
+ int physical_height{};
int refresh{};
int transform{};
int refresh{};
int transform{};
@@
-235,7
+237,8
@@
struct controller : public wayland_proxy<struct ivi_wm> {
std::unique_ptr<struct screen> screen;
std::unique_ptr<struct screen> screen;
- size output_size;
+ size output_size; // Display size[pixel]
+ size physical_size; // Display size[mm]
wm::controller_hooks *chooks;
wm::controller_hooks *chooks;