work on layers

This commit is contained in:
2025-04-08 11:47:24 -05:00
parent fbfa13a742
commit 3a797fb19a
10 changed files with 183 additions and 87 deletions

View File

@@ -9,7 +9,6 @@ namespace Archimedes {
public:
int w, h;
typedef void renderCmd();
~Renderer() {}
@@ -19,12 +18,12 @@ namespace Archimedes {
r.render(rc, w, h);
}
std::list<renderCmd*>& getCmdList() {
std::list<std::function<void()>>& getCmdList() {
return rc;
}
private:
std::list<renderCmd*> rc;
std::list<std::function<void()>> rc;
RendererImpl r;
};
}