diff options
Diffstat (limited to 'basic/source/app/app.cxx')
-rwxr-xr-x | basic/source/app/app.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/basic/source/app/app.cxx b/basic/source/app/app.cxx index 544b0f177eaa..6b844a772e03 100755 --- a/basic/source/app/app.cxx +++ b/basic/source/app/app.cxx @@ -781,6 +781,15 @@ void BasicFrame::Resize() } } +Rectangle BasicFrame::GetInnerRect() const +{ + Rectangle aRect( Point(0,0), GetOutputSizePixel() ); + aRect.Bottom() = pStatus->GetPosPixel().Y()-1; + if( aRect.Bottom() < 0 ) // sanity check + aRect.Bottom() = 0; + return aRect; +} + void BasicFrame::Move() { Config aConf(Config::GetConfigName( Config::GetDefDirectory(), CUniString("testtool") )); |