Skip to content

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

Interface: NamedRect ​

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

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:192

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


enabled ​

enabled: boolean

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

False for a greyed-out button.


height ​

height: number

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


id ​

id: string

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


tags ​

tags: string[]

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

selected, a box's tags.


text ​

text: string

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

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:185


x ​

x: number

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


y ​

y: number

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