diff -r 6aeb7a756187 -r 3c88a81ff781 ginebra2/ChromeLayout.h --- a/ginebra2/ChromeLayout.h Thu Sep 23 15:32:11 2010 -0400 +++ b/ginebra2/ChromeLayout.h Fri Oct 15 17:30:59 2010 -0400 @@ -81,9 +81,12 @@ QString getDisplayMode() const; Q_PROPERTY(QString displayMode READ getDisplayMode) + QSize viewPortSize(bool withoutTop=false); + public slots: void snippetShown(ChromeSnippet * snippet); void snippetHiding(ChromeSnippet * snippet); + qreal setViewSlide(qreal pos); qreal slideView(qreal delta); qreal shrinkView(qreal delta); int width(){ return (int)size().width(); }