From 1a96ffe9287e2c194ff20222e2e8c5fa1059ad3e Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 28 Sep 2018 01:49:37 +0200 Subject: [PATCH] rogueviz:: export kind --- rogueviz.cpp | 1 - rogueviz.h | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/rogueviz.cpp b/rogueviz.cpp index 606c3f56..c88363a7 100644 --- a/rogueviz.cpp +++ b/rogueviz.cpp @@ -50,7 +50,6 @@ string fname; // const char *fname; // const char *cfname; -enum eVizkind { kNONE, kAnyGraph, kTree, kSpiral, kSAG, kCollatz, kFullNet, kKohonen }; eVizkind kind; bool on; diff --git a/rogueviz.h b/rogueviz.h index 875a62bf..8222bc6a 100644 --- a/rogueviz.h +++ b/rogueviz.h @@ -3,6 +3,9 @@ namespace rogueviz { using namespace hr; + enum eVizkind { kNONE, kAnyGraph, kTree, kSpiral, kSAG, kCollatz, kFullNet, kKohonen }; + extern eVizkind kind; + extern bool on; void drawExtra(); void close();