summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/roster-editor/src/View/GlyphSelection.elm')
-rw-r--r--src/roster-editor/src/View/GlyphSelection.elm17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/roster-editor/src/View/GlyphSelection.elm b/src/roster-editor/src/View/GlyphSelection.elm
index 6d3eca2..e7b1da8 100644
--- a/src/roster-editor/src/View/GlyphSelection.elm
+++ b/src/roster-editor/src/View/GlyphSelection.elm
@@ -10,9 +10,11 @@ import Html.Events
-- Battle ----------------------------------------------------------------------
import Battle.View.Omnimods
+-- Battle Characters -----------------------------------------------------------
+import BattleCharacters.Struct.Glyph
+
-- Local Module ----------------------------------------------------------------
import Struct.Event
-import Struct.Glyph
import Struct.Model
--------------------------------------------------------------------------------
@@ -32,7 +34,10 @@ get_mod_html mod =
]
)
-get_glyph_html : Struct.Glyph.Type -> (Html.Html Struct.Event.Type)
+get_glyph_html : (
+ BattleCharacters.Struct.Glyph.Type ->
+ (Html.Html Struct.Event.Type)
+ )
get_glyph_html glyph =
(Html.div
[
@@ -40,13 +45,15 @@ get_glyph_html glyph =
(Html.Attributes.class "clickable"),
(Html.Events.onClick
(Struct.Event.SelectedGlyph
- (Struct.Glyph.get_id glyph)
+ (BattleCharacters.Struct.Glyph.get_id glyph)
)
)
]
[
- (Html.text (Struct.Glyph.get_name glyph)),
- (Battle.View.Omnimods.get_html (Struct.Glyph.get_omnimods glyph))
+ (Html.text (BattleCharacters.Struct.Glyph.get_name glyph)),
+ (Battle.View.Omnimods.get_html
+ (BattleCharacters.Struct.Glyph.get_omnimods glyph)
+ )
]
)