veloren/voxygen/src/hud/img_ids.rs

274 lines
12 KiB
Rust
Raw Normal View History

use crate::ui::img_ids::{BlankGraphic, ImageGraphic, VoxelGraphic, VoxelMs9Graphic};
2019-09-25 20:18:40 +00:00
// TODO: Combine with image_ids, see macro definition
2019-09-25 16:51:47 +00:00
rotation_image_ids! {
pub struct ImgsRot {
<VoxelGraphic>
// Tooltip Test
tt_side: "voxygen/element/frames/tt_test_edge",
tt_corner: "voxygen/element/frames/tt_test_corner_tr",
}
}
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",
// Skillbar
xp_bar_mid: "voxygen.element.skillbar.xp_bar_mid",
xp_bar_left: "voxygen.element.skillbar.xp_bar_left",
xp_bar_right: "voxygen.element.skillbar.xp_bar_right",
skillbar_slot: "voxygen.element.skillbar.skillbar_slot",
skillbar_slot_l: "voxygen.element.skillbar.skillbar_slot_l",
skillbar_slot_r: "voxygen.element.skillbar.skillbar_slot_r",
skillbar_slot_bg: "voxygen.element.skillbar.skillbar_slot_bg",
skillbar_slot_big: "voxygen.element.skillbar.skillbar_slot_big",
skillbar_slot_big_bg: "voxygen.element.skillbar.skillbar_slot_big_bg",
healthbar_bg: "voxygen.element.skillbar.healthbar_bg",
energybar_bg: "voxygen.element.skillbar.energybar_bg",
bar_content: "voxygen.element.skillbar.bar_content",
level_up: "voxygen.element.misc_bg.level_up",
level_down:"voxygen.element.misc_bg.level_down",
stamina_0:"voxygen.element.skillbar.stamina_wheel-empty",
stamina_1:"voxygen.element.skillbar.stamina_wheel-0",
stamina_2:"voxygen.element.skillbar.stamina_wheel-1",
stamina_3:"voxygen.element.skillbar.stamina_wheel-2",
stamina_4:"voxygen.element.skillbar.stamina_wheel-3",
stamina_5:"voxygen.element.skillbar.stamina_wheel-4",
stamina_6:"voxygen.element.skillbar.stamina_wheel-5",
stamina_7:"voxygen.element.skillbar.stamina_wheel-6",
stamina_8:"voxygen.element.skillbar.stamina_wheel-7",
// 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",
2019-10-02 10:05:17 +00:00
indicator_mmap: "voxygen.voxel.figure.accessory.human.earring",
// 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",
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",
2019-10-02 10:05:17 +00:00
pos_indicator: "voxygen.element.buttons.qlog",
// 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
// Icons
twohsword_m1: "voxygen.element.icons.2hsword_m1",
twohsword_m2: "voxygen.element.icons.2hsword_m2",
twohhammer_m1: "voxygen.element.icons.2hhammer_m1",
twohhammer_m2: "voxygen.element.icons.2hhammer_m2",
twohaxe_m1: "voxygen.element.icons.2haxe_m1",
twohaxe_m2: "voxygen.element.icons.2haxe_m2",
2019-10-05 21:51:08 +00:00
bow_m1: "voxygen.element.icons.bow_m1",
bow_m2: "voxygen.element.icons.bow_m2",
flyingrod_m1: "voxygen.element.icons.debug_wand_m1",
flyingrod_m2: "voxygen.element.icons.debug_wand_m2",
2019-10-04 18:27:12 +00:00
////////////////////////////////////////////////////////////////////////
<VoxelMs9Graphic>
2019-10-04 18:27:12 +00:00
// Icons
flower: "voxygen.element.icons.item_flower",
grass: "voxygen.element.icons.item_grass",
apple: "voxygen.element.icons.item_apple",
mushroom: "voxygen.element.icons.item_mushroom",
2019-10-02 10:05:17 +00:00
// Map
map_indicator: "voxygen.element.buttons.map_indicator",
// Crosshair
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
// Checkboxes and Radio buttons
check: "voxygen.element.buttons.radio.inactive",
check_mo: "voxygen.element.buttons.radio.inactive_hover",
check_press: "voxygen.element.buttons.radio.press",
check_checked: "voxygen.element.buttons.radio.active",
check_checked_mo: "voxygen.element.buttons.radio.hover",
checkbox: "voxygen.element.buttons.checkbox.inactive",
checkbox_mo: "voxygen.element.buttons.checkbox.inactive_hover",
checkbox_press: "voxygen.element.buttons.checkbox.press",
checkbox_checked: "voxygen.element.buttons.checkbox.active",
checkbox_checked_mo: "voxygen.element.buttons.checkbox.hover",
// 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-10-06 19:19:08 +00:00
help:"voxygen.element.help",
2019-08-06 06:31:48 +00:00
charwindow_gradient:"voxygen.element.misc_bg.charwindow",
2019-10-02 10:05:17 +00:00
map_placeholder: "voxygen.background.map",
// 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",
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: (),
}
}