semagrams.ui

package semagrams.ui

Members list

Concise view

Type members

Classlikes

case class AnonEntity(token: Token) extends Entity

An entity that is created in an ad-hoc manner to track some arbitrary bit of UI state

An entity that is created in an ad-hoc manner to track some arbitrary bit of UI state

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Entity
class Object
trait Matchable
class Any
object AnonEntity extends EntityType

The type of AnonEntity

The type of AnonEntity

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class UIState(sprites: Var[Vector[(Entity, Sprite, ACSet)]], focus: () => Unit, globalSize: Signal[Complex])

State for managing a collection of UI elements

State for managing a collection of UI elements

Attributes

focus

A function which focuses the global state (doesn't currently work exactly as intended I think).

globalSize

A Signal whose value is the size of the overall window. Used for positioning

sprites

A collection of UI sprites, i.e. dialogues, text boxes, buttons, etc.

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete fields

val newEntity: IO[Entity]

Construct a new unique AnonEntity

Construct a new unique AnonEntity

Attributes