Cleanup of surface management in Sources (centralize texturesurface_ in

Source class, avoid mistakes in subclasses). Integration of sources in
AppearanceView (not functionnal yet).
This commit is contained in:
brunoherbelin
2020-11-15 13:01:06 +01:00
parent 15a0bab925
commit 196ce3df1b
19 changed files with 175 additions and 149 deletions

3
View.h
View File

@@ -221,6 +221,8 @@ class AppearanceView : public View
public:
AppearanceView();
void draw () override;
void update (float dt) override;
void zoom (float factor) override;
void resize (int) override;
@@ -231,6 +233,7 @@ public:
private:
int index_source_;
};