/usr/src/castle-game-engine-5.0.0/ui/opengl/castlecontrolsimages.pas is in castle-game-engine-src 5.0.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 | { -*- buffer-read-only: t -*- }
{ Unit automatically generated by image_to_pas tool,
to embed images in Pascal source code.
@exclude (Exclude this unit from PasDoc documentation.) }
unit CastleControlsImages;
interface
uses CastleImages;
var
Panel: TRGBAlphaImage;
var
WindowDarkTransparent: TRGBAlphaImage;
var
Slider: TRGBAlphaImage;
var
Tooltip: TRGBImage;
var
TooltipRounded: TRGBAlphaImage;
var
ButtonPressed: TRGBAlphaImage;
var
ButtonFocused: TRGBAlphaImage;
var
ButtonNormal: TRGBAlphaImage;
var
FrameWhite: TRGBAlphaImage;
var
FrameWhiteBlack: TRGBAlphaImage;
var
FrameYellow: TRGBAlphaImage;
var
FrameYellowBlack: TRGBAlphaImage;
var
FrameThickWhite: TRGBAlphaImage;
var
FrameThickYellow: TRGBAlphaImage;
var
ProgressBar: TRGBAlphaImage;
var
ProgressFill: TRGBAlphaImage;
var
TouchCtlInner: TRGBAlphaImage;
var
TouchCtlOuter: TRGBAlphaImage;
var
TouchCtlFlyOuter: TRGBAlphaImage;
var
TouchCtlFlyInner: TRGBAlphaImage;
var
PanelSeparator: TRGBImage;
var
WindowDark: TRGBImage;
var
WindowGray: TRGBImage;
var
ScrollbarFrame: TRGBImage;
var
ScrollbarSlider: TRGBImage;
var
SliderPosition: TRGBImage;
var
Crosshair1: TRGBAlphaImage;
var
Crosshair2: TRGBAlphaImage;
implementation
uses SysUtils;
{ Actual image data is included from another file, with a deliberately
non-Pascal file extension ".image_data". This way ohloh.net will
not recognize this source code as (uncommented) Pascal source code. }
{$I castlecontrolsimages.image_data}
initialization
Panel := TRGBAlphaImage.Create(PanelWidth, PanelHeight);
Move(PanelPixels, Panel.RawPixels^, SizeOf(PanelPixels));
WindowDarkTransparent := TRGBAlphaImage.Create(WindowDarkTransparentWidth, WindowDarkTransparentHeight);
Move(WindowDarkTransparentPixels, WindowDarkTransparent.RawPixels^, SizeOf(WindowDarkTransparentPixels));
Slider := TRGBAlphaImage.Create(SliderWidth, SliderHeight);
Move(SliderPixels, Slider.RawPixels^, SizeOf(SliderPixels));
Tooltip := TRGBImage.Create(TooltipWidth, TooltipHeight);
Move(TooltipPixels, Tooltip.RawPixels^, SizeOf(TooltipPixels));
TooltipRounded := TRGBAlphaImage.Create(TooltipRoundedWidth, TooltipRoundedHeight);
Move(TooltipRoundedPixels, TooltipRounded.RawPixels^, SizeOf(TooltipRoundedPixels));
ButtonPressed := TRGBAlphaImage.Create(ButtonPressedWidth, ButtonPressedHeight);
Move(ButtonPressedPixels, ButtonPressed.RawPixels^, SizeOf(ButtonPressedPixels));
ButtonFocused := TRGBAlphaImage.Create(ButtonFocusedWidth, ButtonFocusedHeight);
Move(ButtonFocusedPixels, ButtonFocused.RawPixels^, SizeOf(ButtonFocusedPixels));
ButtonNormal := TRGBAlphaImage.Create(ButtonNormalWidth, ButtonNormalHeight);
Move(ButtonNormalPixels, ButtonNormal.RawPixels^, SizeOf(ButtonNormalPixels));
FrameWhite := TRGBAlphaImage.Create(FrameWhiteWidth, FrameWhiteHeight);
Move(FrameWhitePixels, FrameWhite.RawPixels^, SizeOf(FrameWhitePixels));
FrameWhiteBlack := TRGBAlphaImage.Create(FrameWhiteBlackWidth, FrameWhiteBlackHeight);
Move(FrameWhiteBlackPixels, FrameWhiteBlack.RawPixels^, SizeOf(FrameWhiteBlackPixels));
FrameYellow := TRGBAlphaImage.Create(FrameYellowWidth, FrameYellowHeight);
Move(FrameYellowPixels, FrameYellow.RawPixels^, SizeOf(FrameYellowPixels));
FrameYellowBlack := TRGBAlphaImage.Create(FrameYellowBlackWidth, FrameYellowBlackHeight);
Move(FrameYellowBlackPixels, FrameYellowBlack.RawPixels^, SizeOf(FrameYellowBlackPixels));
FrameThickWhite := TRGBAlphaImage.Create(FrameThickWhiteWidth, FrameThickWhiteHeight);
Move(FrameThickWhitePixels, FrameThickWhite.RawPixels^, SizeOf(FrameThickWhitePixels));
FrameThickYellow := TRGBAlphaImage.Create(FrameThickYellowWidth, FrameThickYellowHeight);
Move(FrameThickYellowPixels, FrameThickYellow.RawPixels^, SizeOf(FrameThickYellowPixels));
ProgressBar := TRGBAlphaImage.Create(ProgressBarWidth, ProgressBarHeight);
Move(ProgressBarPixels, ProgressBar.RawPixels^, SizeOf(ProgressBarPixels));
ProgressFill := TRGBAlphaImage.Create(ProgressFillWidth, ProgressFillHeight);
Move(ProgressFillPixels, ProgressFill.RawPixels^, SizeOf(ProgressFillPixels));
TouchCtlInner := TRGBAlphaImage.Create(TouchCtlInnerWidth, TouchCtlInnerHeight);
Move(TouchCtlInnerPixels, TouchCtlInner.RawPixels^, SizeOf(TouchCtlInnerPixels));
TouchCtlOuter := TRGBAlphaImage.Create(TouchCtlOuterWidth, TouchCtlOuterHeight);
Move(TouchCtlOuterPixels, TouchCtlOuter.RawPixels^, SizeOf(TouchCtlOuterPixels));
TouchCtlFlyOuter := TRGBAlphaImage.Create(TouchCtlFlyOuterWidth, TouchCtlFlyOuterHeight);
Move(TouchCtlFlyOuterPixels, TouchCtlFlyOuter.RawPixels^, SizeOf(TouchCtlFlyOuterPixels));
TouchCtlFlyInner := TRGBAlphaImage.Create(TouchCtlFlyInnerWidth, TouchCtlFlyInnerHeight);
Move(TouchCtlFlyInnerPixels, TouchCtlFlyInner.RawPixels^, SizeOf(TouchCtlFlyInnerPixels));
PanelSeparator := TRGBImage.Create(PanelSeparatorWidth, PanelSeparatorHeight);
Move(PanelSeparatorPixels, PanelSeparator.RawPixels^, SizeOf(PanelSeparatorPixels));
WindowDark := TRGBImage.Create(WindowDarkWidth, WindowDarkHeight);
Move(WindowDarkPixels, WindowDark.RawPixels^, SizeOf(WindowDarkPixels));
WindowGray := TRGBImage.Create(WindowGrayWidth, WindowGrayHeight);
Move(WindowGrayPixels, WindowGray.RawPixels^, SizeOf(WindowGrayPixels));
ScrollbarFrame := TRGBImage.Create(ScrollbarFrameWidth, ScrollbarFrameHeight);
Move(ScrollbarFramePixels, ScrollbarFrame.RawPixels^, SizeOf(ScrollbarFramePixels));
ScrollbarSlider := TRGBImage.Create(ScrollbarSliderWidth, ScrollbarSliderHeight);
Move(ScrollbarSliderPixels, ScrollbarSlider.RawPixels^, SizeOf(ScrollbarSliderPixels));
SliderPosition := TRGBImage.Create(SliderPositionWidth, SliderPositionHeight);
Move(SliderPositionPixels, SliderPosition.RawPixels^, SizeOf(SliderPositionPixels));
Crosshair1 := TRGBAlphaImage.Create(Crosshair1Width, Crosshair1Height);
Move(Crosshair1Pixels, Crosshair1.RawPixels^, SizeOf(Crosshair1Pixels));
Crosshair2 := TRGBAlphaImage.Create(Crosshair2Width, Crosshair2Height);
Move(Crosshair2Pixels, Crosshair2.RawPixels^, SizeOf(Crosshair2Pixels));
finalization
FreeAndNil(Panel);
FreeAndNil(WindowDarkTransparent);
FreeAndNil(Slider);
FreeAndNil(Tooltip);
FreeAndNil(TooltipRounded);
FreeAndNil(ButtonPressed);
FreeAndNil(ButtonFocused);
FreeAndNil(ButtonNormal);
FreeAndNil(FrameWhite);
FreeAndNil(FrameWhiteBlack);
FreeAndNil(FrameYellow);
FreeAndNil(FrameYellowBlack);
FreeAndNil(FrameThickWhite);
FreeAndNil(FrameThickYellow);
FreeAndNil(ProgressBar);
FreeAndNil(ProgressFill);
FreeAndNil(TouchCtlInner);
FreeAndNil(TouchCtlOuter);
FreeAndNil(TouchCtlFlyOuter);
FreeAndNil(TouchCtlFlyInner);
FreeAndNil(PanelSeparator);
FreeAndNil(WindowDark);
FreeAndNil(WindowGray);
FreeAndNil(ScrollbarFrame);
FreeAndNil(ScrollbarSlider);
FreeAndNil(SliderPosition);
FreeAndNil(Crosshair1);
FreeAndNil(Crosshair2);
end.
|