Viewer done
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
#include <vector>
|
||||
#include "sql.hpp"
|
||||
#include "values/DnaManager.hpp"
|
||||
#include "canvas/Canvas.hpp"
|
||||
|
||||
enum DrawingStage{
|
||||
setup,
|
||||
drawTree,
|
||||
drawBig,
|
||||
done,
|
||||
};
|
||||
|
||||
class Vapp
|
||||
{
|
||||
@@ -16,8 +25,20 @@ private:
|
||||
sqlite3_stmt *get_gen_num;
|
||||
std::vector<int64_t> ids;
|
||||
int64_t gens = -1;
|
||||
int selected_id = -1;
|
||||
bool update_gen = false;
|
||||
int selected_gen = -1;
|
||||
bool enableAll = true;
|
||||
|
||||
int64_t selected_id = -1;
|
||||
int selected_gen = -1;
|
||||
DnaManagerData manager;
|
||||
DrawingStage stageOfDrawing = DrawingStage::done;
|
||||
|
||||
Canvas canvas;
|
||||
RenderTexture2D treeTexture;
|
||||
int drawTreeIndex = -1;
|
||||
|
||||
RenderTexture2D bigTexture;
|
||||
int drawX = 0;
|
||||
int drawY = 0;
|
||||
void setUpManager();
|
||||
};
|
Reference in New Issue
Block a user