diff options
Diffstat (limited to 'qt/ScintillaEditBase/PlatQt.h')
| -rw-r--r-- | qt/ScintillaEditBase/PlatQt.h | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/qt/ScintillaEditBase/PlatQt.h b/qt/ScintillaEditBase/PlatQt.h index 60a7e7300..be35d818b 100644 --- a/qt/ScintillaEditBase/PlatQt.h +++ b/qt/ScintillaEditBase/PlatQt.h @@ -34,6 +34,11 @@ inline QRect QRectFromPRect(PRectangle pr)  	return QRect(pr.left, pr.top, pr.Width(), pr.Height());  } +inline QRectF QRectFFromPRect(PRectangle pr) +{ +	return QRectF(pr.left, pr.top, pr.Width(), pr.Height()); +} +  inline PRectangle PRectFromQRect(QRect qr)  {  	return PRectangle(qr.x(), qr.y(), qr.x() + qr.width(), qr.y() + qr.height()); | 
