Skip to content

Move graphics-relevant stuff into extra unit #60

@frostney

Description

@frostney

Probably some interfaces or something. Not completely sure how to exactly implement it.

I think the prettiest way would be extend TelNode.Draw to something like that:

TelNode.Draw(Graphics: TelGraphicsProvider);
begin
Graphics.DrawLine(...);
Graphics.DrawTexture(...);
end;

The other way would be to avoid circular references as much possible, which could turn out to be difficult. (Like uses graphics-related units only in the implementation section, class helpers or similar.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions