начало дерева объектов
This commit is contained in:
@@ -12,6 +12,8 @@ pub const OpenDocument = struct {
|
||||
document: Document,
|
||||
cpu_render: CpuRenderEngine,
|
||||
canvas: Canvas,
|
||||
/// Выбранный объект в дереве (указатель, не индекс).
|
||||
selected_object: ?*Document.Object = null,
|
||||
|
||||
pub fn init(allocator: std.mem.Allocator, self: *OpenDocument) void {
|
||||
const default_size = basic_models.Size_f{ .w = 800, .h = 600 };
|
||||
|
||||
Reference in New Issue
Block a user