veloren/voxygen/src/hud/img_ids.rs

211 lines
8.9 KiB
Rust
Raw Normal View History

use crate::ui::img_ids::{BlankGraphic, ImageGraphic, VoxelGraphic, VoxelMs9Graphic};
image_ids! {
pub struct Imgs {
<VoxelGraphic>
// Bag
2019-08-06 06:31:48 +00:00
bag_contents: "voxygen.element.frames.bag",
inv_grid: "voxygen.element.frames.inv_grid",
inv_slot: "voxygen.element.buttons.inv_slot",
grid_inv: "voxygen.element.buttons.grid_inv",
bag_top: "voxygen.element.bag.top",
bag_mid: "voxygen.element.bag.mid",
bag_bot: "voxygen.element.bag.bot",
// Window Parts
2019-08-06 06:31:48 +00:00
window_3: "voxygen.element.frames.window_3",
tab_bg: "voxygen.element.frames.tab_bg",
tab_small_open: "voxygen.element.frames.tab_small_open",
tab_small_closed: "voxygen.element.frames.tab_small_closed",
// MiniMap
2019-08-06 06:31:48 +00:00
mmap_frame: "voxygen.element.frames.mmap",
mmap_frame_closed: "voxygen.element.frames.mmap_closed",
// Missing: Buff Frame Animation .gif ?! we could do animation in ui.maintain, or in shader?
2019-08-06 06:31:48 +00:00
window_frame: "voxygen.element.frames.window2",
// Social Window
social_button: "voxygen.element.buttons.social_tab",
social_button_pressed: "voxygen.element.buttons.social_tab_pressed",
social_button_hover: "voxygen.element.buttons.social_tab_hover",
social_button_press: "voxygen.element.buttons.social_tab_press",
social_frame: "voxygen.element.frames.social_frame",
// Settings Window
2019-08-06 06:31:48 +00:00
settings_frame_r: "voxygen.element.frames.settings_r",
settings_frame_l: "voxygen.element.frames.settings_l",
settings_button: "voxygen.element.buttons.settings_button",
settings_button_pressed: "voxygen.element.buttons.settings_button_pressed",
settings_button_hover: "voxygen.element.buttons.settings_button_hover",
settings_button_press: "voxygen.element.buttons.settings_button_press",
check: "voxygen.element.buttons.check.no",
check_mo: "voxygen.element.buttons.check.no_mo",
check_press: "voxygen.element.buttons.check.press",
check_checked: "voxygen.element.buttons.check.yes",
check_checked_mo: "voxygen.element.buttons.check.yes_mo",
slider: "voxygen.element.slider.track",
slider_indicator: "voxygen.element.slider.indicator",
esc_frame: "voxygen.element.frames.esc_menu",
// Map Window
2019-08-06 06:31:48 +00:00
map_frame_l: "voxygen.element.frames.map_l",
map_frame_r: "voxygen.element.frames.map_r",
map_frame_bl: "voxygen.element.frames.map_bl",
map_frame_br: "voxygen.element.frames.map_br",
// Chat-Arrows
2019-08-06 06:31:48 +00:00
chat_arrow: "voxygen.element.buttons.arrow_down",
chat_arrow_mo: "voxygen.element.buttons.arrow_down_hover",
chat_arrow_press: "voxygen.element.buttons.arrow_down_press",
2019-07-05 13:39:28 +00:00
// Crosshair
2019-08-06 06:31:48 +00:00
crosshair_inner: "voxygen.element.misc_bg.crosshair_inner",
2019-07-05 13:39:28 +00:00
////////////////////////////////////////////////////////////////////////
<VoxelMs9Graphic>
2019-08-06 06:31:48 +00:00
crosshair_outer_round: "voxygen.element.misc_bg.crosshair_outer_1",
crosshair_outer_round_edges: "voxygen.element.misc_bg.crosshair_outer_2",
crosshair_outer_edges: "voxygen.element.misc_bg.crosshair_outer_3",
2019-07-23 01:02:57 +00:00
2019-08-06 06:31:48 +00:00
crosshair_bg: "voxygen.element.misc_bg.crosshair_bg",
crosshair_bg_hover: "voxygen.element.misc_bg.crosshair_bg_hover",
crosshair_bg_press: "voxygen.element.misc_bg.crosshair_bg_press",
crosshair_bg_pressed: "voxygen.element.misc_bg.crosshair_bg_pressed",
2019-07-06 23:04:30 +00:00
// Buttons
2019-08-06 06:31:48 +00:00
mmap_closed: "voxygen.element.buttons.button_mmap_closed",
mmap_closed_hover: "voxygen.element.buttons.button_mmap_closed_hover",
mmap_closed_press: "voxygen.element.buttons.button_mmap_closed_press",
mmap_open: "voxygen.element.buttons.button_mmap_open",
mmap_open_hover: "voxygen.element.buttons.button_mmap_open_hover",
mmap_open_press: "voxygen.element.buttons.button_mmap_open_press",
// Grid
2019-08-06 06:31:48 +00:00
grid: "voxygen.element.buttons.grid",
grid_hover: "voxygen.element.buttons.grid",
grid_press: "voxygen.element.buttons.grid",
2019-08-06 06:31:48 +00:00
settings: "voxygen.element.buttons.settings",
settings_hover: "voxygen.element.buttons.settings_hover",
settings_press: "voxygen.element.buttons.settings_press",
social: "voxygen.element.buttons.social",
2019-08-06 06:31:48 +00:00
social_hover: "voxygen.element.buttons.social_hover",
social_press: "voxygen.element.buttons.social_press",
2019-08-06 06:31:48 +00:00
map_button: "voxygen.element.buttons.map",
map_hover: "voxygen.element.buttons.map_hover",
map_press: "voxygen.element.buttons.map_press",
2019-08-06 06:31:48 +00:00
spellbook_button: "voxygen.element.buttons.spellbook",
spellbook_hover: "voxygen.element.buttons.spellbook_hover",
spellbook_press: "voxygen.element.buttons.spellbook_press",
2019-08-06 06:31:48 +00:00
character_button: "voxygen.element.buttons.character",
character_hover: "voxygen.element.buttons.character_hover",
character_press: "voxygen.element.buttons.character_press",
2019-08-06 06:31:48 +00:00
qlog_button: "voxygen.element.buttons.qlog",
qlog_hover: "voxygen.element.buttons.qlog_hover",
qlog_press: "voxygen.element.buttons.qlog_press",
// Charwindow
2019-08-06 06:31:48 +00:00
xp_charwindow: "voxygen.element.frames.xp_charwindow",
divider: "voxygen.element.frames.divider_charwindow",
head_bg: "voxygen.element.icons.head",
shoulders_bg: "voxygen.element.icons.shoulders",
hands_bg: "voxygen.element.icons.hands",
belt_bg: "voxygen.element.icons.belt",
legs_bg: "voxygen.element.icons.legs",
feet_bg: "voxygen.element.icons.feet",
ring_r_bg: "voxygen.element.icons.ring",
ring_l_bg: "voxygen.element.icons.ring",
tabard_bg: "voxygen.element.icons.tabard",
chest_bg: "voxygen.element.icons.chest",
back_bg: "voxygen.element.icons.back",
gem_bg: "voxygen.element.icons.gem",
necklace_bg: "voxygen.element.icons.necklace",
mainhand_bg: "voxygen.element.icons.mainhand",
offhand_bg: "voxygen.element.icons.offhand",
// Close button
2019-08-06 06:31:48 +00:00
close_button: "voxygen.element.buttons.x",
close_button_hover: "voxygen.element.buttons.x_hover",
close_button_press: "voxygen.element.buttons.x_press",
// Esc-Menu
2019-08-06 06:31:48 +00:00
fireplace: "voxygen.element.misc_bg.fireplace",
button: "voxygen.element.buttons.button",
button_hover: "voxygen.element.buttons.button_hover",
button_press: "voxygen.element.buttons.button_press",
2019-06-29 01:47:38 +00:00
// Items
2019-08-06 06:31:48 +00:00
potion_red: "voxygen.voxel.object.potion_red",
potion_green: "voxygen.voxel.object.potion_green",
potion_blue: "voxygen.voxel.object.potion_blue",
key: "voxygen.voxel.object.key",
key_gold: "voxygen.voxel.object.key_gold",
//////////////////////////////////////////////////////////////////////////////////////////////////////
2019-08-06 06:31:48 +00:00
<ImageGraphic>
2019-08-06 06:31:48 +00:00
charwindow_gradient:"voxygen.element.misc_bg.charwindow",
// Spell Book Window
2019-08-06 06:31:48 +00:00
spellbook_icon: "voxygen.element.icons.spellbook",
// Bag
2019-08-06 06:31:48 +00:00
bag: "voxygen.element.buttons.bag.closed",
bag_hover: "voxygen.element.buttons.bag.closed_hover",
bag_press: "voxygen.element.buttons.bag.closed_press",
bag_open: "voxygen.element.buttons.bag.open",
bag_open_hover: "voxygen.element.buttons.bag.open_hover",
bag_open_press: "voxygen.element.buttons.bag.open_press",
2019-08-06 06:31:48 +00:00
map_icon: "voxygen.element.icons.map",
2019-08-06 06:31:48 +00:00
grid_button: "voxygen.element.buttons.border",
grid_button_hover: "voxygen.element.buttons.border_mo",
grid_button_press: "voxygen.element.buttons.border_press",
grid_button_open: "voxygen.element.buttons.border_pressed",
// Skillbar Module
2019-08-06 06:31:48 +00:00
sb_grid: "voxygen.element.skill_bar.sbar_grid",
sb_grid_bg: "voxygen.element.skill_bar.sbar_grid_bg",
l_click: "voxygen.element.skill_bar.l",
r_click: "voxygen.element.skill_bar.r",
mana_bar: "voxygen.element.skill_bar.mana_bar",
health_bar: "voxygen.element.skill_bar.health_bar",
xp_bar: "voxygen.element.skill_bar.xp_bar",
2019-08-06 06:31:48 +00:00
esc_bg: "voxygen.element.frames.menu",
2019-08-06 06:31:48 +00:00
window_frame_2: "voxygen.element.frames.window_2",
// Char Window
2019-08-06 06:31:48 +00:00
charwindow: "voxygen.element.misc_bg.charwindow",
charwindow_icon: "voxygen.element.icons.charwindow",
charwindow_tab_bg: "voxygen.element.frames.tab",
charwindow_tab: "voxygen.element.buttons.tab",
charwindow_expbar: "voxygen.element.misc_bg.small_bg",
progress_frame: "voxygen.element.frames.progress_bar",
progress: "voxygen.element.misc_bg.progress",
// Quest-Log Window
2019-08-06 06:31:48 +00:00
questlog_icon: "voxygen.element.icons.questlog",
// Window BG
2019-08-06 06:31:48 +00:00
window_bg: "voxygen.element.misc_bg.window_bg",
// Social Window
2019-08-06 06:31:48 +00:00
social_icon: "voxygen.element.icons.social",
<BlankGraphic>
2019-07-27 19:26:31 +00:00
nothing: (),
}
}