Make the classes hid as mush of the underlying framework as posible.
Registered by
Gustav Hartvigsson
The Idea of vProcessing is to make a hassle free enviorment.
So I propose that all classes should be ubiquitous, EI: the underlying code should not shine though.
What I mean by this is that when a object, say a vRect is to be render, it should not be passed a SDL.Screen as a parameter, but the object should be passed to a renderer object that does the work.
Why?
I have an I idea that the code written using the current backend, in this case SDL, should be able to run if the backend changes. say,
a switch to Clutter, OpenGL or other framework.
There could be many backend renderers that can at initiation be selected, but this is highly unlikely, and will add unwanted complexity to the code.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Discussion
- Series goal:
- None
- Implementation:
-
Unknown
- Milestone target:
-
0.5.0
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
(?)