various fixes

This commit is contained in:
Geoffray Levasseur committed 2026-11-03 10:38:49 +01:00
1 parent ef2e1b4680
commit d1074096aa
2 files changed
+21 -4

No files matched your search

+4
View File
@@ -47,6 +47,10 @@ class GraphicSetItem;
// (e.g. ButtonA's $0000FF placeholder color) with this helper rather than
// constructing QColor from the raw hex value directly.
QColor colorFromDelphi(int value);
// Inverse of colorFromDelphi(): packs a QColor back into a Delphi/VCL
// $00BBGGRR int (needed whenever a QColor-valued field, e.g. a tribe's
// Color, must be passed to a raw-Delphi-int API like imageOpBCC()).
int colorToDelphi(const QColor &color);
// Global display gamma correction setting, in percent (100 = no
// correction) - ScreenTools.pas's `Gamma`. Call applyGammaToBitmap()