diff options
| author | 0xNul <57599792+0xNul@users.noreply.github.com> | 2023-07-10 23:40:07 -0700 |
|---|---|---|
| committer | 0xNul <57599792+0xNul@users.noreply.github.com> | 2023-07-10 23:40:07 -0700 |
| commit | d1e5729a62bfc85312d3c46e9a1b34df938965b9 (patch) | |
| tree | ef05add67655eff96b31da8c62a245c8072d9474 /src | |
| parent | 1010c65e82ff1d01b54d15c51345f7ba9739d912 (diff) | |
better organized tabs and added battle-sim-tab
Diffstat (limited to 'src')
| -rw-r--r-- | src/votann/tab_widget.clj | 16 |
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]))) |