49
edits
(→notes) |
|||
| Line 63: | Line 63: | ||
=== notes === | === notes === | ||
'backdropInfo' requirements: | |||
* The backdropInfo table requires one, or both, of 'edgeFile' or 'bgFile', or will be ignored, and the backdrop will not be created. | * The backdropInfo table requires one, or both, of 'edgeFile' or 'bgFile', or will be ignored, and the backdrop will not be created. | ||
user defined color table requirements: | |||
* 'color table', or color constant, must be created with CreateColor(r, g, b, a) which creates a ColorMixin instance. BackdropTemplate will try to call GetRGB on the table and expect an 'r, g, b, a =' return. | * 'color table', or color constant, must be created with CreateColor(r, g, b, a) which creates a ColorMixin instance. BackdropTemplate will try to call GetRGB on the table and expect an 'r, g, b, a =' return. | ||
<pre> | <pre lang='lua'> | ||
PURE_RED_COLOR = CreateColor(0.8, 0, 0); | PURE_RED_COLOR = CreateColor(0.8, 0, 0); | ||
PAPER_FRAME_DARK_COLOR = CreateColor(0.25, 0.1484375, 0.02) | PAPER_FRAME_DARK_COLOR = CreateColor(0.25, 0.1484375, 0.02) | ||