feat: some more ffi communication

This commit is contained in:
TrèsAbhi committed 2025-06-10 13:16:14 -05:00
1 parent fe3d029e74
commit a5a72f9536
12 files changed
+95 -64

No files matched your search

@@ -1,47 +1,14 @@
import { Link, Table } from '@radix-ui/themes';
import { Heading } from '@radix-ui/themes';
import { FFIEcho } from '../../components/Internal/FFIEcho';
import { FFIFileCount } from '../../components/Internal/FFIFileCount';
import { PageWrapper } from '../../components/PageWrapper';
export function Page() {
return (
<PageWrapper>
<Table.Root>
<Table.Header>
<Table.Row>
<Table.ColumnHeaderCell>Name</Table.ColumnHeaderCell>
<Table.ColumnHeaderCell>Memo</Table.ColumnHeaderCell>
</Table.Row>
</Table.Header>
<Table.Body>
<Table.Row>
<Table.Cell>
<Link href="internal/ffi">FFI</Link>
</Table.Cell>
<Table.Cell>
Status of BlitzKit's currently mounted foreign function interface
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>
<Link href="internal/ffi">Client</Link>
</Table.Cell>
<Table.Cell>
Location and information of the currently mounted client
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>
<Link href="/internal/bindings">Bindings</Link>
</Table.Cell>
<Table.Cell>
Exhaustive list of all bindings and preference of currently
mounted client
</Table.Cell>
</Table.Row>
</Table.Body>
</Table.Root>
<PageWrapper color="amber">
<Heading>BlitzKit FFI</Heading>
<FFIEcho />
<FFIFileCount />
</PageWrapper>
);
}
@@ -1,11 +0,0 @@
import { PageWrapper } from 'packages/website-ue/src/components/PageWrapper';
import { ffi } from 'packages/website-ue/src/core/blitzkit/ffi';
export function Page() {
return (
<PageWrapper align="center" justify="center">
🟢 {ffi.echo(new Date().toLocaleString())}
<img src="https://i.imgflip.com/9wrr7u.gif" />
</PageWrapper>
);
}
@@ -1,8 +0,0 @@
---
import InternalBaseLayout from 'packages/website-ue/src/layouts/InternalBaseLayout.astro';
import { Page } from './_index';
---
<InternalBaseLayout>
<Page />
</InternalBaseLayout>