~mzanetti/qtmir/dpr

« back to all changes in this revision

Viewing changes to src/platforms/mirserver/displaywindow.h

  • Committer: Michael Zanetti
  • Date: 2015-03-02 15:00:51 UTC
  • Revision ID: michael.zanetti@canonical.com-20150302150051-evsafrto63bi1ayj
first try to take Qt's devicePixelRatio feature into account

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
    QRect geometry() const override;
38
38
    void setGeometry(const QRect &rect) override;
 
39
    qreal devicePixelRatio() const override;
39
40
 
40
41
    WId winId() const override { return m_winId; }
41
42