mw-ui.render-world

Render the state of the world as an HTML table.

format-css-class

(format-css-class statekey)

Format this statekey, assumed to be a keyword indicating a state in the world, into a CSS class

format-image-path

(format-image-path statekey)

Render this statekey, assumed to be a keyword indicating a state in the world, into a path which should recover the corresponding image file.

format-mouseover

(format-mouseover cell)

TODO: write docs

render-cell

(render-cell cell)

Render this world cell as a Hiccup table cell.

render-inspector

(render-inspector cell _)(render-inspector cell)

Render in Hiccup format the HTML content of an inspector on this cell.

render-world-row

(render-world-row row)

Render this world row as a Hiccup table row.

render-world-table

(render-world-table)

Render the world implied by the current session as a complete HTML table in a DIV.