added missing implementation

This commit is contained in:
Geoffray Levasseur committed 2026-11-03 13:01:59 +01:00
1 parent f2e81f268c
commit 371b18bd34
2 files changed
+23

No files matched your search

+10
View File
@@ -87,6 +87,16 @@ extern GraphicSet *HGrSystem;
extern GraphicSet *HGrSystem2;
extern GraphicSet *Templates;
extern Dpi::Bitmap *Colors; // palette lookup bitmap, indexed by clkAge0/cli* below
// ScreenTools.pas's "icons.bmp" sprite sheet (improvements/wonders, big
// size) + its per-icon slot size; also populated by app asset-loading.
extern Dpi::Bitmap *bigImp;
constexpr int xSizeBig = 56;
constexpr int ySizeBig = 40;
// Frames then blits an xSrc,ySrc/width,height region of src onto canvas at
// x,y - isControl selects the lighter "control" bevel over the plain
// black double-frame.
void frameImage(Dpi::Canvas &canvas, Dpi::Bitmap &src, int x, int y, int width, int height, int xSrc, int ySrc,
bool isControl = false);
// Colors palette row/column indices (Colors->image().pixelColor(col, row)).
constexpr int clkAge0 = 1;