this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

vxfw: add empty Surface identifier

+9
+9
src/vxfw/vxfw.zig
··· 343 343 344 344 children: []SubSurface, 345 345 346 + pub fn empty(widget: Widget) Surface { 347 + return .{ 348 + .size = .{}, 349 + .widget = widget, 350 + .buffer = &.{}, 351 + .children = &.{}, 352 + }; 353 + } 354 + 346 355 /// Creates a slice of vaxis.Cell's equal to size.width * size.height 347 356 pub fn createBuffer(allocator: Allocator, size: Size) Allocator.Error![]vaxis.Cell { 348 357 const buffer = try allocator.alloc(vaxis.Cell, size.width * size.height);