mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
tree icon UI works and hover icon
This commit is contained in:
parent
a54a3da102
commit
b6ac4e46fb
BIN
assets/voxygen/element/map/tree.png
(Stored with Git LFS)
BIN
assets/voxygen/element/map/tree.png
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/element/map/tree_hover.png
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/element/map/tree_hover.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -365,6 +365,8 @@ image_ids! {
|
||||
mmap_site_cave_hover: "voxygen.element.map.cave_hover",
|
||||
mmap_site_cave: "voxygen.element.map.cave",
|
||||
mmap_site_excl: "voxygen.element.map.excl",
|
||||
mmap_site_tree: "voxygen.element.map.tree",
|
||||
mmap_site_tree_hover: "voxygen.element.map.tree_hover",
|
||||
|
||||
// Window Parts
|
||||
window_3: "voxygen.element.frames.window_3",
|
||||
|
@ -528,6 +528,7 @@ impl<'a> Widget for Map<'a> {
|
||||
SiteKind::Dungeon { .. } => self.imgs.mmap_site_dungeon,
|
||||
SiteKind::Castle => self.imgs.mmap_site_castle,
|
||||
SiteKind::Cave => self.imgs.mmap_site_cave,
|
||||
SiteKind::Tree => self.imgs.mmap_site_tree,
|
||||
_ => self.imgs.mmap_site_excl,
|
||||
})
|
||||
.x_y_position_relative_to(
|
||||
@ -541,6 +542,7 @@ impl<'a> Widget for Map<'a> {
|
||||
SiteKind::Dungeon { .. } => self.imgs.mmap_site_dungeon_hover,
|
||||
SiteKind::Castle => self.imgs.mmap_site_castle_hover,
|
||||
SiteKind::Cave => self.imgs.mmap_site_cave_hover,
|
||||
SiteKind::Tree => self.imgs.mmap_site_tree_hover,
|
||||
_ => self.imgs.mmap_site_excl,
|
||||
})
|
||||
.image_color(UI_HIGHLIGHT_0)
|
||||
|
@ -303,6 +303,7 @@ impl<'a> Widget for MiniMap<'a> {
|
||||
SiteKind::Dungeon { .. } => self.imgs.mmap_site_dungeon_bg,
|
||||
SiteKind::Castle => self.imgs.mmap_site_castle_bg,
|
||||
SiteKind::Cave => self.imgs.mmap_site_cave_bg,
|
||||
SiteKind::Tree => self.imgs.mmap_site_tree,
|
||||
_ => self.imgs.mmap_site_excl,
|
||||
})
|
||||
.x_y_position_relative_to(
|
||||
|
Loading…
Reference in New Issue
Block a user