UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

14 lines (13 loc) 470 B
import LabelView from "../../../../view/common/LabelView.js"; import {CSS_ABSOLUTE_POSITIONING} from "../../../../view/CSS_ABSOLUTE_POSITIONING.js"; export function buildReadOnlyDisplay() { return new LabelView("Read Only Mode", { css: { background: `rgb(34, 34, 34)`, ...CSS_ABSOLUTE_POSITIONING, padding: '4px 25px', color: 'red', font: '12px Tahoma, monospaced' } }); }