fullscreen {
    x = 0,
    y = 0,
    width = parent_width,
    height = parent_height,
}

fullscreen(pause_menu=true) {
    background_color = rgba(0, 0, 0, 0.25),
    can_hover = true,
    on_mouse_down = "init#return true",
    on_mouse_up = "init#return true",
    on_mouse_move = "init#return true",
}

full_center {
    layout = "center",
    x = 0,
    y = 0,
    width = parent_width,
    height = parent_height,
}

full_center(pause_menu=true) {
    background_color = rgba(0, 0, 0, 0.25),
    can_hover = true,
    on_mouse_down = "init#return true",
    on_mouse_up = "init#return true",
    on_mouse_move = "init#return true",
}

center {
    layout = "center",
}

error_icon {
    image = "ui/error",
    width = 30,
    height = 28,
}

@text {
    font = "schoolbell",
}

@text(url=true) {
    on_mouse_up = "init#
        local text = node.text
        if text:sub(1, ('http'):len()) ~= 'http' then
            text = 'http://' .. text
        end
        open_url(text)
    ",
}

@text(url_path=url) {
    on_mouse_up = "init#
        local url = node:get_property_string('url_path')
        open_url(url)
    ",
}