diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-01-09 22:17:29 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-06-18 17:01:29 +0200 |
commit | c2df3be07190af89e0f2936058c3240fd066b6a9 (patch) | |
tree | 7d3eab7f20362a6723ff1b6b72969f76075c755e /vcl/source/uitest | |
parent | 6de9c77b56ee4b9bc100a7d01d07fc94a83d7667 (diff) |
uitest: ReallyVisible contains if the Window is visible on screen
ReallyVisible is calculated by going through the hierarchy and check if
all parents are visible.
Change-Id: I41dec643618a9ee57a0d04efb9d72c45723b3f65
Diffstat (limited to 'vcl/source/uitest')
-rw-r--r-- | vcl/source/uitest/uiobject.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx index 32db83b74930..cf14baf536c0 100644 --- a/vcl/source/uitest/uiobject.cxx +++ b/vcl/source/uitest/uiobject.cxx @@ -100,6 +100,7 @@ StringMap WindowUIObject::get_state() { StringMap aMap; aMap["Visible"] = OUString::boolean(mxWindow->IsVisible()); + aMap["ReallyVisible"] = OUString::boolean(mxWindow->IsReallyVisible()); aMap["Enabled"] = OUString::boolean(mxWindow->IsEnabled()); aMap["WindowType"] = OUString::number(mxWindow->GetType(), 16); if (mxWindow->GetParent()) |