статистика времени кадра
This commit is contained in:
@@ -45,17 +45,14 @@ pub const OpenDocument = struct {
|
||||
};
|
||||
|
||||
allocator: std.mem.Allocator,
|
||||
frame_index: u64,
|
||||
documents: std.ArrayList(*OpenDocument),
|
||||
active_document_index: ?usize,
|
||||
|
||||
pub fn init(allocator: std.mem.Allocator) !WindowContext {
|
||||
const frame_index: u64 = 0;
|
||||
const documents = std.ArrayList(*OpenDocument).empty;
|
||||
const active_document_index: ?usize = null;
|
||||
return .{
|
||||
.allocator = allocator,
|
||||
.frame_index = frame_index,
|
||||
.documents = documents,
|
||||
.active_document_index = active_document_index,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user