/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/lib_ui/ui/ |
H A D | painter.h | 19 void drawTextLeft(int x, int y, int outerw, const QString &text, int textWidth = -1) { 33 return drawPixmapLeft(p.x(), p.y(), outerw, pix, from); in drawPixmapLeft() 39 return drawPixmapLeft(r.x(), r.y(), r.width(), r.height(), outerw, pix, from); in drawPixmapLeft() 41 void drawPixmapLeft(int x, int y, int outerw, const QPixmap &pix) { in drawPixmapLeft() argument 44 void drawPixmapLeft(const QPoint &p, int outerw, const QPixmap &pix) { in drawPixmapLeft() argument 45 return drawPixmapLeft(p.x(), p.y(), outerw, pix); in drawPixmapLeft() 51 return drawPixmapRight(p.x(), p.y(), outerw, pix, from); in drawPixmapRight() 57 return drawPixmapRight(r.x(), r.y(), r.width(), r.height(), outerw, pix, from); in drawPixmapRight() 59 void drawPixmapRight(int x, int y, int outerw, const QPixmap &pix) { in drawPixmapRight() argument 62 void drawPixmapRight(const QPoint &p, int outerw, const QPixmap &pix) { in drawPixmapRight() argument [all …]
|
H A D | rp_widget.h | 45 void moveToLeft(int x, int y, int outerw = 0) { 49 …Base::move(style::RightToLeft() ? ((outerw > 0 ? outerw : Base::parentWidget()->width()) - x - Bas… 51 void moveToRight(int x, int y, int outerw = 0) { 55 …Base::move(style::RightToLeft() ? x : ((outerw > 0 ? outerw : Base::parentWidget()->width()) - x -… 57 void setGeometryToLeft(int x, int y, int w, int h, int outerw = 0) { 63 …Base::setGeometry(style::RightToLeft() ? ((outerw > 0 ? outerw : Base::parentWidget()->width()) - … 65 void setGeometryToRight(int x, int y, int w, int h, int outerw = 0) { 71 …Base::setGeometry(style::RightToLeft() ? x : ((outerw > 0 ? outerw : Base::parentWidget()->width()…
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/lib_ui/ui/style/ |
H A D | style_core_direction.h | 35 inline QPoint rtlpoint(int x, int y, int outerw) { in rtlpoint() argument 36 return QPoint(RightToLeft() ? (outerw - x) : x, y); in rtlpoint() 39 inline QPoint rtlpoint(const QPoint &p, int outerw) { in rtlpoint() argument 40 return RightToLeft() ? QPoint(outerw - p.x(), p.y()) : p; in rtlpoint() 43 inline QPointF rtlpoint(const QPointF &p, int outerw) { in rtlpoint() argument 44 return RightToLeft() ? QPointF(outerw - p.x(), p.y()) : p; in rtlpoint() 47 inline QRect rtlrect(int x, int y, int w, int h, int outerw) { in rtlrect() argument 48 return QRect(RightToLeft() ? (outerw - x - w) : x, y, w, h); in rtlrect() 51 inline QRect rtlrect(const QRect &r, int outerw) { in rtlrect() argument 53 ? QRect(outerw - r.x() - r.width(), r.y(), r.width(), r.height()) in rtlrect() [all …]
|
H A D | style_core_icon.h | 56 void paint(QPainter &p, const QPoint &pos, int outerw) const; 107 part.paint(p, pos, outerw); in paint() 114 part.paint(p, pos, outerw, colorOverride); in paint() 121 part.paint(p, pos, outerw, paletteOverride); in paint() 196 return _data->paint(p, pos, outerw); in paint() 198 void paint(QPainter &p, int x, int y, int outerw) const { in paint() argument 199 return _data->paint(p, QPoint(x, y), outerw); in paint() 209 return _data->paint(p, pos, outerw, colorOverride); in paint() 237 return _icon.paintWithPalette(p, pos, outerw, _palette); in paint() 239 void paint(QPainter &p, int x, int y, int outerw) const { in paint() argument [all …]
|
H A D | style_core_icon.cpp | 144 void MonoIcon::paint(QPainter &p, const QPoint &pos, int outerw) const { in paint() 147 int partPosX = RightToLeft() ? (outerw - fullOffset.x() - w) : fullOffset.x(); in paint() 167 void MonoIcon::paint(QPainter &p, const QPoint &pos, int outerw, QColor colorOverride) const { in paint() argument 170 int partPosX = RightToLeft() ? (outerw - fullOffset.x() - w) : fullOffset.x(); in paint() 195 int outerw, in paint() argument 207 const auto partPosX = RightToLeft() ? (outerw - fullOffset.x() - w) : fullOffset.x(); in paint()
|
/dports/net-im/nheko/nheko-0.9.0/src/ui/ |
H A D | Painter.h | 26 void drawTextRight(int x, int y, int outerw, const QString &text, int textWidth = -1) 32 drawText((outerw - x - textWidth), y + m.ascent(), text); 55 void drawPixmapLeft(int x, int y, int outerw, const QPixmap &pix) in drawPixmapLeft() argument 57 Q_UNUSED(outerw); in drawPixmapLeft() 61 void drawPixmapLeft(const QPoint &p, int outerw, const QPixmap &pix) in drawPixmapLeft() argument 63 return drawPixmapLeft(p.x(), p.y(), outerw, pix); in drawPixmapLeft() 73 return drawPixmapRight(p.x(), p.y(), outerw, pix, from); in drawPixmapRight() 78 drawPixmap(QRect((outerw - x - w), y, w, h), pix, from); in drawPixmapRight() 86 void drawPixmapRight(int x, int y, int outerw, const QPixmap &pix) in drawPixmapRight() argument 91 void drawPixmapRight(const QPoint &p, int outerw, const QPixmap &pix) in drawPixmapRight() argument [all …]
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/ui/image/ |
H A D | image.cpp | 482 int outerw, in pixSingle() argument 515 auto p = pixNoCache(w, h, options, outerw, outerh, colored); in pixSingle() 525 int outerw, in pixBlurredSingle() argument 558 auto p = pixNoCache(w, h, options, outerw, outerh, colored); in pixBlurredSingle() 569 int outerw, in pixNoCache() argument 576 return Empty()->pixNoCache(w, h, options, outerw, outerh); in pixNoCache() 579 if (isNull() && outerw > 0 && outerh > 0) { in pixNoCache() 580 outerw *= cIntRetinaFactor(); in pixNoCache() 588 if (w < outerw) { in pixNoCache() 590 …p.fillRect(((outerw - w) / 2) + w, 0, result.width() - (((outerw - w) / 2) + w), result.height(), … in pixNoCache() [all …]
|
H A D | image.h | 62 int outerw, 70 int outerw, 81 int outerw = -1,
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/media/clip/ |
H A D | media_clip_reader.cpp | 43 auto needOuterFill = (request.outerw != request.framew) || (request.outerh != request.frameh); in PrepareFrameImage() 50 auto needNewCache = (cache.width() != request.outerw || cache.height() != request.outerh); in PrepareFrameImage() 52 cache = QImage(request.outerw, request.outerh, QImage::Format_ARGB32_Premultiplied); in PrepareFrameImage() 58 if (request.framew < request.outerw) { in PrepareFrameImage() 59 …p.fillRect(0, 0, (request.outerw - request.framew) / (2 * factor), cache.height() / factor, st::im… in PrepareFrameImage() 60 ….fillRect((request.outerw - request.framew) / (2 * factor) + (request.framew / factor), 0, (cache.… in PrepareFrameImage() 217 request.outerw = outerw * factor; in start() 228 Expects(outerw > 0); in current() 249 if (frame->pix.width() == outerw * factor in current() 259 frame->request.outerw = outerw * factor; in current() [all …]
|
H A D | media_clip_reader.h | 36 int outerw = 0; member 69 …void start(int framew, int frameh, int outerw, int outerh, ImageRoundRadius radius, RectParts corn… 70 …QPixmap current(int framew, int frameh, int outerw, int outerh, ImageRoundRadius radius, RectParts…
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/lib_ui/ui/text/ |
H A D | text.h | 149 …void drawLeft(Painter &p, int32 left, int32 top, int32 width, int32 outerw, style::align align = s… 150 …void drawLeftElided(Painter &p, int32 left, int32 top, int32 width, int32 outerw, int32 lines = 1,… 151 …void drawRight(Painter &p, int32 right, int32 top, int32 width, int32 outerw, style::align align =… 152 …void drawRightElided(Painter &p, int32 right, int32 top, int32 width, int32 outerw, int32 lines = … 155 …StateResult getStateLeft(QPoint point, int width, int outerw, StateRequest request = StateRequest(… 157 …StateResult getStateElidedLeft(QPoint point, int width, int outerw, StateRequestElided request = S…
|
H A D | text.cpp | 3063 void String::drawLeft(Painter &p, int32 left, int32 top, int32 width, int32 outerw, style::align al… in drawLeft() argument 3064 …draw(p, style::RightToLeft() ? (outerw - left - width) : left, top, width, align, yFrom, yTo, sele… in drawLeft() 3067 void String::drawLeftElided(Painter &p, int32 left, int32 top, int32 width, int32 outerw, int32 lin… in drawLeftElided() argument 3068 …drawElided(p, style::RightToLeft() ? (outerw - left - width) : left, top, width, lines, align, yFr… in drawLeftElided() 3071 void String::drawRight(Painter &p, int32 right, int32 top, int32 width, int32 outerw, style::align … in drawRight() argument 3072 …draw(p, style::RightToLeft() ? right : (outerw - right - width), top, width, align, yFrom, yTo, se… in drawRight() 3076 …drawElided(p, style::RightToLeft() ? right : (outerw - right - width), top, width, lines, align, y… in drawRightElided() 3083 StateResult String::getStateLeft(QPoint point, int width, int outerw, StateRequest request) const { in getStateLeft() argument 3084 return getState(style::rtlpoint(point, outerw), width, request); in getStateLeft() 3091 StateResult String::getStateElidedLeft(QPoint point, int width, int outerw, StateRequestElided requ… in getStateElidedLeft() argument [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES2/src/EGL/WIN32/ |
H A D | OgreWin32EGLWindow.cpp | 144 int outerw = (rc.right-rc.left < screenw)? rc.right-rc.left : screenw; in createNativeWindow() local 148 left = monitorInfoEx.rcMonitor.left + (screenw - outerw) / 2; in createNativeWindow()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES/src/EGL/WIN32/ |
H A D | OgreWin32EGLWindow.cpp | 144 int outerw = (rc.right-rc.left < screenw)? rc.right-rc.left : screenw; in createNativeWindow() local 148 left = monitorInfoEx.rcMonitor.left + (screenw - outerw) / 2; in createNativeWindow()
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/history/view/media/ |
H A D | history_view_media_unwrapped.h | 112 int outerw) const;
|
H A D | history_view_media_unwrapped.cpp | 152 int outerw) const { in surroundingInfo() 157 const auto innerw = outerw - st::msgReplyPadding.left() - st::msgReplyPadding.right(); in surroundingInfo()
|
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GLSupport/src/EGL/WIN32/ |
H A D | OgreWin32EGLWindow.cpp | 126 int outerw = (rc.right-rc.left < screenw)? rc.right-rc.left : screenw; in createNativeWindow() local 130 left = monitorInfoEx.rcMonitor.left + (screenw - outerw) / 2; in createNativeWindow()
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/lib_ui/ui/image/ |
H A D | image_prepare.h | 120 QImage prepare(QImage img, int w, int h, Options options, int outerw, int outerh, const style::colo…
|
H A D | image_prepare.cpp | 1072 QImage prepare(QImage img, int w, int h, Images::Options options, int outerw, int outerh, const sty… in prepare() argument 1086 if (outerw > 0 && outerh > 0) { in prepare() 1088 outerw *= pixelRatio; in prepare() 1090 if (outerw != w || outerh != h) { in prepare() 1092 auto result = QImage(outerw, outerh, QImage::Format_ARGB32_Premultiplied); in prepare() 1100 if (w < outerw || h < outerh) { in prepare()
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/lib_ui/ui/widgets/ |
H A D | buttons.cpp | 752 auto outerw = width(); in paintEvent() local 762 outerw, in paintEvent() 768 _toggle->paint(p, rect.left(), rect.top(), outerw); in paintEvent()
|
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/Direct3D9/src/ |
H A D | OgreD3D9RenderWindow.cpp | 275 uint32 outerw = (winWidth < screenw)? winWidth : screenw; in create() local 279 left = monitorInfo.rcWork.left + (screenw - outerw) / 2; in create()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/Direct3D9/src/ |
H A D | OgreD3D9RenderWindow.cpp | 266 uint32 outerw = (winWidth < screenw)? winWidth : screenw; in create() local 270 left = monitorInfo.rcWork.left + (screenw - outerw) / 2; in create()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GL3Plus/src/win32/ |
H A D | OgreWin32Window.cpp | 274 int outerw = (winWidth < screenw)? winWidth : screenw; in create() local 278 left = monitorInfoEx.rcWork.left + (screenw - outerw) / 2; in create()
|
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GLSupport/src/win32/ |
H A D | OgreWin32Window.cpp | 322 int outerw = (winWidth < screenw)? winWidth : screenw; in create() local 326 left = monitorInfoEx.rcWork.left + (screenw - outerw) / 2; in create()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GL/src/Win32/ |
H A D | OgreWin32Window.cpp | 274 uint32 outerw = (winWidth < screenw)? winWidth : screenw; in create() local 278 left = monitorInfoEx.rcWork.left + (screenw - outerw) / 2; in create()
|