Debian Codegraph @

tools/build-tool/embedded_images/toolembeddedimages.pas

raw
1 { -*- buffer-read-only: t -*- }
2
3 { Unit automatically generated by image-to-pascal tool,
4 to embed images in Pascal source code.
5 @exclude (Exclude this unit from PasDoc documentation.) }
6 unit ToolEmbeddedImages;
7
8 interface
9
10 uses CastleImages;
11
12 function DefaultIcon: TRGBAlphaImage;
13
14 function DefaultIconSquare: TRGBImage;
15
16 implementation
17
18 uses SysUtils, CastleInternalDataCompression;
19
20 { Actual image data is included from another file, with a deliberately
21 non-Pascal file extension ".image_data". This way online code analysis
22 tools will NOT consider this source code as an uncommented Pascal code
23 (which would be unfair --- the image data file is autogenerated
24 and never supposed to be processed by a human). }
25 {$I toolembeddedimages.image_data}
26
27 initialization
28 finalization
29 FreeAndNil(FDefaultIcon);
30 FreeAndNil(FDefaultIconSquare);
31 end.