mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-19 04:38:01 +00:00
update official website example
This commit is contained in:
parent
a2c1b860a6
commit
f9b0bef35a
@ -96,6 +96,11 @@
|
|||||||
{name: 'length', type: 'uint32_t' },
|
{name: 'length', type: 'uint32_t' },
|
||||||
{name: 'chars', type: 'uint32_t' },
|
{name: 'chars', type: 'uint32_t' },
|
||||||
]};
|
]};
|
||||||
|
let stringSliceDefinition = { type: 'struct', members: [
|
||||||
|
{name: 'length', type: 'uint32_t' },
|
||||||
|
{name: 'chars', type: 'uint32_t' },
|
||||||
|
{name: 'baseChars', type: 'uint32_t' },
|
||||||
|
]};
|
||||||
let borderDefinition = { type: 'struct', members: [
|
let borderDefinition = { type: 'struct', members: [
|
||||||
{name: 'width', type: 'uint32_t'},
|
{name: 'width', type: 'uint32_t'},
|
||||||
{name: 'color', ...colorDefinition},
|
{name: 'color', ...colorDefinition},
|
||||||
@ -155,7 +160,8 @@
|
|||||||
{ name: 'height', type: 'float' },
|
{ name: 'height', type: 'float' },
|
||||||
]},
|
]},
|
||||||
{ name: 'config', type: 'uint32_t'},
|
{ name: 'config', type: 'uint32_t'},
|
||||||
{ name: 'text', ...stringDefinition },
|
{ name: 'text', ...stringSliceDefinition },
|
||||||
|
{ name: 'zIndex', type: 'int32_t' },
|
||||||
{ name: 'id', type: 'uint32_t' },
|
{ name: 'id', type: 'uint32_t' },
|
||||||
{ name: 'commandType', type: 'uint32_t', },
|
{ name: 'commandType', type: 'uint32_t', },
|
||||||
]
|
]
|
||||||
|
Binary file not shown.
@ -96,6 +96,11 @@
|
|||||||
{name: 'length', type: 'uint32_t' },
|
{name: 'length', type: 'uint32_t' },
|
||||||
{name: 'chars', type: 'uint32_t' },
|
{name: 'chars', type: 'uint32_t' },
|
||||||
]};
|
]};
|
||||||
|
let stringSliceDefinition = { type: 'struct', members: [
|
||||||
|
{name: 'length', type: 'uint32_t' },
|
||||||
|
{name: 'chars', type: 'uint32_t' },
|
||||||
|
{name: 'baseChars', type: 'uint32_t' },
|
||||||
|
]};
|
||||||
let borderDefinition = { type: 'struct', members: [
|
let borderDefinition = { type: 'struct', members: [
|
||||||
{name: 'width', type: 'uint32_t'},
|
{name: 'width', type: 'uint32_t'},
|
||||||
{name: 'color', ...colorDefinition},
|
{name: 'color', ...colorDefinition},
|
||||||
@ -155,7 +160,8 @@
|
|||||||
{ name: 'height', type: 'float' },
|
{ name: 'height', type: 'float' },
|
||||||
]},
|
]},
|
||||||
{ name: 'config', type: 'uint32_t'},
|
{ name: 'config', type: 'uint32_t'},
|
||||||
{ name: 'text', ...stringDefinition },
|
{ name: 'text', ...stringSliceDefinition },
|
||||||
|
{ name: 'zIndex', type: 'int32_t' },
|
||||||
{ name: 'id', type: 'uint32_t' },
|
{ name: 'id', type: 'uint32_t' },
|
||||||
{ name: 'commandType', type: 'uint32_t', },
|
{ name: 'commandType', type: 'uint32_t', },
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user