missing implementation in cevowidgets

This commit is contained in:
Geoffray Levasseur committed 2026-10-28 18:07:38 +01:00
1 parent e9c191d46f
commit 713ef99e2f
4 files changed
+30

No files matched your search

+9
View File
@@ -134,6 +134,15 @@ void btnFrame(Dpi::Canvas &canvas, const QRect &rect, const Texture &texture)
texture.colorBevelShade, texture.colorBevelLight);
}
void editFrame(Dpi::Canvas &canvas, const QRect &rect, const Texture &texture)
{
frame(canvas, rect.left() - 1, rect.top() - 1, rect.right(), rect.bottom(), Qt::black, Qt::black);
frame(canvas, rect.left() - 2, rect.top() - 2, rect.right() + 1, rect.bottom() + 1, Qt::black, Qt::black);
frame(canvas, rect.left() - 3, rect.top() - 3, rect.right() + 2, rect.bottom() + 1, Qt::black, Qt::black);
rframe(canvas, rect.left() - 4, rect.top() - 4, rect.right() + 3, rect.bottom() + 2, texture.colorBevelShade,
texture.colorBevelLight);
}
void corner(Dpi::Canvas &, int, int, int, const Texture &)
{
// Unimplemented in the original ScreenTools.pas too (body is commented out there).