Skip to content

five-on-it / apps/client/src/gui/layout / NamedRect

Interface: NamedRect ​

Defined in: apps/client/src/gui/layout.ts:195

A block with a name, as the tests see it: its rectangle in the panel, its text, its state.

Properties ​

clickable ​

clickable: boolean

Defined in: apps/client/src/gui/layout.ts:208

It takes a click (a button, a field).


enabled ​

enabled: boolean

Defined in: apps/client/src/gui/layout.ts:204

False for a greyed-out button.


height ​

height: number

Defined in: apps/client/src/gui/layout.ts:202


id ​

id: string

Defined in: apps/client/src/gui/layout.ts:196


tags ​

tags: string[]

Defined in: apps/client/src/gui/layout.ts:206

selected, a box's tags.


text ​

text: string

Defined in: apps/client/src/gui/layout.ts:198

Its text: a line's, a button's (1 Messages), a box's every text joined by spaces.


width ​

width: number

Defined in: apps/client/src/gui/layout.ts:201


x ​

x: number

Defined in: apps/client/src/gui/layout.ts:199


y ​

y: number

Defined in: apps/client/src/gui/layout.ts:200