--[[

    about.lua
    ---------
    General information about the engine

--]]

CreateElement(
    "ABOUT_MENU",
    "MENU OBJECT",
    {
        POSITION = "(180 SLICES - 5 TILES, 180 SLICES - 4 TILES - 10 PIXELS)",
        DIMENSIONS = "(10 TILES x 9 TILES + 4 PIXELS)",
        MINTS = {
            ABOUT_TEXT = {
                TYPE = "LABEL",
                POSITION = "(0 PIXELS, 2 PIXELS)",
                DIMENSIONS = "(10 TILES x 9 TILES)",
                TEXT = string.format("Monospace Engine\n" ..
                                     "Version: %s\n\n" ..
                                     "Developed by\n" ..
                                     "Monospace Games\n\n" ..
                                     "To learn how to\n" ..
                                     "develop games using\n" ..
                                     "the engine, see the\n" ..
                                     "user-manual.html\n" ..
                                     "file.\n\n" ..
                                     "Visit our website:\n" ..
                                     "monospace.games",
                                     ENGINE_VERSION)
            }
        },
        APPEARANCE = {
            BORDER = {
                WIDTH = "1 PIXEL",
                ACTIVE_COLOR = "WHITE",
            },
            MINTS = {
                TEXT = {
                    FONT = "C64",
                    ALIGNMENT = "CENTER"
                }
            }
        },
        KEYMAP = {
            ENTER = "CloseSelf()"
        }
    }
)
