summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/votann/tab_widget.clj16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/votann/tab_widget.clj b/src/votann/tab_widget.clj
index e7ff9c1..653a12c 100644
--- a/src/votann/tab_widget.clj
+++ b/src/votann/tab_widget.clj
@@ -24,5 +24,19 @@
:closable false
:content enhancements-view-widget}])
+(def codex-view-tab
+ [{:fx/type :tab
+ :text "Codex"
+ :closable false
+ :content {:fx/type :tab-pane
+ :tabs (vec (apply merge unit-view-tab enhancements-view-tab))}}])
+
+(def battle-simulator-view-tab
+ [{:fx/type :tab
+ :text "Battle Simulator"
+ :closable false
+ :content {:fx/type :label
+ :text "placeholder battle simulator page"}}])
+
(defn tab-widget [data]
- (vec (apply concat [(list-view-tab data) unit-view-tab enhancements-view-tab])))
+ (vec (apply concat [(list-view-tab data) codex-view-tab battle-simulator-view-tab])))