X11 library (WIP)

This commit is contained in:
2026-01-09 16:08:48 +01:00
parent 9fb8ec9454
commit a6f67d3f0d
4 changed files with 2880 additions and 5 deletions

View File

@@ -1,10 +1,23 @@
{
"folders": [
{ "path": "packages/js" },
{ "path": "packages/media" },
{ "path": "packages/myid" },
{ "path": "packages/sciter" },
{ "path": "packages/vecmath" },
{
"path": "packages/js"
},
{
"path": "packages/media"
},
{
"path": "packages/myid"
},
{
"path": "packages/sciter"
},
{
"path": "packages/vecmath"
},
{
"path": "packages/x11"
}
],
"settings": {
"files.exclude": {

9
packages/x11/build.zig Normal file
View File

@@ -0,0 +1,9 @@
const std = @import("std");
pub fn build(b: *std.Build) void {
const mod = b.addModule("x11", .{
.root_source_file = b.path("src/root.zig"),
});
mod.linkSystemLibrary("X11", .{});
}

View File

@@ -0,0 +1,11 @@
.{
.name = .x11,
.version = "0.0.0",
.minimum_zig_version = "0.15.2",
.paths = .{
"src",
"build.zig",
"build.zig.zon",
},
.fingerprint = 0x3220e772d0ef0e80,
}

2842
packages/x11/src/root.zig Normal file

File diff suppressed because it is too large Load Diff