veloren/voxygen/src/hud/img_ids.rs

322 lines
15 KiB
Rust
Raw Normal View History

use crate::ui::img_ids::{BlankGraphic, ImageGraphic, VoxelGraphic, VoxelPixArtGraphic};
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",
2020-03-27 03:05:04 +00:00
<ImageGraphic>
indicator_mmap_small: "voxygen.element.buttons.indicator_mmap_small",
//////////////////////////////////////////////////////////////////////////////////////////////////////
<VoxelPixArtGraphic>
2019-09-25 16:51:47 +00:00
}
}
image_ids! {
pub struct Imgs {
<VoxelGraphic>
// 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",
// 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",
// 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",
2020-01-17 22:00:00 +00:00
////////////////////////////////////////////////////////////////////////
<VoxelPixArtGraphic>
2020-01-17 22:00:00 +00:00
// Skill Icons
2019-10-04 18:27:12 +00:00
// Icons
flower: "voxygen.element.icons.item_flower",
grass: "voxygen.element.icons.item_grass",
// 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",
// Charwindow
2019-08-06 06:31:48 +00:00
xp_charwindow: "voxygen.element.frames.xp_charwindow",
divider: "voxygen.element.frames.divider_charwindow",
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",
2020-01-10 00:33:38 +00:00
//////////////////////////////////////////////////////////////////////////////////////////////////////
2019-08-06 06:31:48 +00:00
<ImageGraphic>
2020-06-03 17:59:09 +00:00
quest_bg: "voxygen.element.misc_bg.temp_quest_bg",
2020-04-26 01:44:56 +00:00
// Buttons
settings: "voxygen.element.buttons.settings",
settings_hover: "voxygen.element.buttons.settings_hover",
settings_press: "voxygen.element.buttons.settings_press",
social: "voxygen.element.buttons.social",
social_hover: "voxygen.element.buttons.social_hover",
social_press: "voxygen.element.buttons.social_press",
map_button: "voxygen.element.buttons.map",
map_hover: "voxygen.element.buttons.map_hover",
map_press: "voxygen.element.buttons.map_press",
spellbook_button: "voxygen.element.buttons.spellbook",
spellbook_hover: "voxygen.element.buttons.spellbook_hover",
spellbook_press: "voxygen.element.buttons.spellbook_press",
2020-03-27 03:05:04 +00:00
2020-04-12 04:13:42 +00:00
// Skillbar
2020-04-12 16:35:41 +00:00
level_up: "voxygen.element.misc_bg.level_up",
level_down:"voxygen.element.misc_bg.level_down",
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",
healthbar_bg: "voxygen.element.skillbar.healthbar_bg",
energybar_bg: "voxygen.element.skillbar.energybar_bg",
bar_content: "voxygen.element.skillbar.bar_content",
skillbar_slot_big: "voxygen.element.skillbar.skillbar_slot_big",
skillbar_slot_big_bg: "voxygen.element.skillbar.skillbar_slot_big",
skillbar_slot_big_act: "voxygen.element.skillbar.skillbar_slot_big",
2020-04-12 04:13:42 +00:00
skillbar_slot: "voxygen.element.skillbar.skillbar_slot",
skillbar_slot_act: "voxygen.element.skillbar.skillbar_slot_active",
skillbar_slot_l: "voxygen.element.skillbar.skillbar_slot_l",
skillbar_slot_r: "voxygen.element.skillbar.skillbar_slot_r",
skillbar_slot_l_act: "voxygen.element.skillbar.skillbar_slot_l_active",
skillbar_slot_r_act: "voxygen.element.skillbar.skillbar_slot_r_active",
// Skill 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",
bow_m1: "voxygen.element.icons.bow_m1",
2020-06-14 09:22:21 +00:00
bow_m2: "voxygen.element.icons.bow_m2",
staff_m1: "voxygen.element.icons.staff_m1",
staff_m2: "voxygen.element.icons.staff_m2",
flyingrod_m1: "voxygen.element.icons.debug_wand_m1",
flyingrod_m2: "voxygen.element.icons.debug_wand_m2",
charge: "voxygen.element.icons.skill_charge_3",
2020-03-27 03:05:04 +00:00
// Other Icons/Art
skull: "voxygen.element.icons.skull",
skull_2: "voxygen.element.icons.skull_2",
2020-03-27 03:05:04 +00:00
fireplace: "voxygen.element.misc_bg.fireplace",
// Crosshair
crosshair_inner: "voxygen.element.misc_bg.crosshair_inner",
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",
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",
2020-03-25 00:41:43 +00:00
// Map
map_bg: "voxygen.element.misc_bg.map_bg",
map_frame: "voxygen.element.misc_bg.map_frame",
2020-03-27 03:05:04 +00:00
map_frame_art: "voxygen.element.misc_bg.map_frame_art",
indicator_mmap: "voxygen.element.buttons.indicator_mmap",
2020-03-25 00:41:43 +00:00
2020-03-12 19:01:24 +00:00
// MiniMap
mmap_frame: "voxygen.element.frames.mmap",
mmap_frame_2: "voxygen.element.frames.mmap_frame",
2020-03-12 19:01:24 +00:00
mmap_frame_closed: "voxygen.element.frames.mmap_closed",
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",
mmap_plus: "voxygen.element.buttons.min_plus.mmap_button-plus",
mmap_plus_hover: "voxygen.element.buttons.min_plus.mmap_button-plus_hover",
mmap_plus_press: "voxygen.element.buttons.min_plus.mmap_button-plus_press",
mmap_minus: "voxygen.element.buttons.min_plus.mmap_button-min",
mmap_minus_hover: "voxygen.element.buttons.min_plus.mmap_button-min_hover",
mmap_minus_press: "voxygen.element.buttons.min_plus.mmap_button-min_press",
2020-03-09 21:54:36 +00:00
// Close-Button
close_btn: "voxygen.element.buttons.close_btn",
close_btn_hover: "voxygen.element.buttons.close_btn_hover",
close_btn_press: "voxygen.element.buttons.close_btn_press",
2020-03-20 19:52:32 +00:00
close_button: "voxygen.element.buttons.close_btn",
close_button_hover: "voxygen.element.buttons.close_btn_hover",
close_button_press: "voxygen.element.buttons.close_btn_press",
2020-03-09 21:54:36 +00:00
// Inventory
2020-03-18 11:05:36 +00:00
coin_ico: "voxygen.element.icons.coin",
2020-03-16 21:58:19 +00:00
inv_bg_armor: "voxygen.element.misc_bg.inv_bg_0",
inv_bg_stats: "voxygen.element.misc_bg.inv_bg_1",
2020-03-09 21:54:36 +00:00
inv_frame: "voxygen.element.misc_bg.inv_frame",
2020-03-15 16:27:56 +00:00
char_art: "voxygen.element.icons.character",
inv_slot: "voxygen.element.buttons.inv_slot",
inv_slot_sel: "voxygen.element.buttons.inv_slot_sel",
2020-03-15 20:33:51 +00:00
scrollbar_bg: "voxygen.element.slider.scrollbar",
inv_tab_active: "voxygen.element.buttons.inv_tab_active",
inv_tab_inactive: "voxygen.element.buttons.inv_tab_inactive",
inv_tab_inactive_hover: "voxygen.element.buttons.inv_tab_inactive",
inv_tab_inactive_press: "voxygen.element.buttons.inv_tab_inactive",
inv_slots: "voxygen.element.misc_bg.inv_slots",
inv_runes: "voxygen.element.misc_bg.inv_runes",
2020-03-17 16:02:50 +00:00
armor_slot: "voxygen.element.buttons.armor_slot",
armor_slot_sel: "voxygen.element.buttons.armor_slot_selected",
2020-04-05 19:19:59 +00:00
armor_slot_empty: "voxygen.element.buttons.armor_slot_empty",
2020-03-18 00:43:55 +00:00
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",
2020-04-06 21:16:24 +00:00
ring_bg: "voxygen.element.icons.ring",
2020-03-18 00:43:55 +00:00
tabard_bg: "voxygen.element.icons.tabard",
chest_bg: "voxygen.element.icons.chest",
back_bg: "voxygen.element.icons.back",
2020-04-06 21:16:24 +00:00
lantern_bg: "voxygen.element.icons.lantern",
2020-03-18 00:43:55 +00:00
necklace_bg: "voxygen.element.icons.necklace",
mainhand_bg: "voxygen.element.icons.mainhand",
offhand_bg: "voxygen.element.icons.offhand",
2020-03-20 19:52:32 +00:00
willpower_ico: "voxygen.element.icons.willpower",
endurance_ico: "voxygen.element.icons.endurance",
fitness_ico: "voxygen.element.icons.fitness",
2019-10-09 19:28:05 +00:00
not_found:"voxygen.element.not_found",
2019-10-06 19:19:08 +00:00
help:"voxygen.element.help",
2020-01-10 00:33:38 +00:00
death_bg: "voxygen.background.death",
hurt_bg: "voxygen.background.hurt",
banner_top: "voxygen.element.frames.banner_top",
2020-03-25 00:41:43 +00:00
// Icons
fire_spell_1: "voxygen.element.icons.fire_spell_0",
snake_arrow_0: "voxygen.element.icons.snake",
2020-03-25 00:41:43 +00:00
heal_0: "voxygen.element.icons.heal_0",
// Buttons
button: "voxygen.element.buttons.button",
button_hover: "voxygen.element.buttons.button_hover",
button_press: "voxygen.element.buttons.button_press",
2020-01-10 00:33:38 +00:00
// Enemy Healthbar
enemy_health: "voxygen.element.frames.enemybar",
2020-02-16 10:58:44 +00:00
enemy_health_bg: "voxygen.element.frames.enemybar_bg",
2020-01-10 00:33:38 +00:00
// Enemy Bar Content:
enemy_bar: "voxygen.element.skillbar.enemy_bar_content",
// 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",
// Char Window
2019-08-06 06:31:48 +00:00
progress_frame: "voxygen.element.frames.progress_bar",
progress: "voxygen.element.misc_bg.progress",
// Speech bubbles
speech_bubble_top_left: "voxygen.element.frames.bubble.top_left",
speech_bubble_top: "voxygen.element.frames.bubble.top",
speech_bubble_top_right: "voxygen.element.frames.bubble.top_right",
speech_bubble_left: "voxygen.element.frames.bubble.left",
speech_bubble_mid: "voxygen.element.frames.bubble.mid",
speech_bubble_right: "voxygen.element.frames.bubble.right",
speech_bubble_bottom_left: "voxygen.element.frames.bubble.bottom_left",
speech_bubble_bottom: "voxygen.element.frames.bubble.bottom",
speech_bubble_bottom_right: "voxygen.element.frames.bubble.bottom_right",
speech_bubble_tail: "voxygen.element.frames.bubble.tail",
dark_bubble_top_left: "voxygen.element.frames.bubble_dark.top_left",
dark_bubble_top: "voxygen.element.frames.bubble_dark.top",
dark_bubble_top_right: "voxygen.element.frames.bubble_dark.top_right",
dark_bubble_left: "voxygen.element.frames.bubble_dark.left",
dark_bubble_mid: "voxygen.element.frames.bubble_dark.mid",
dark_bubble_right: "voxygen.element.frames.bubble_dark.right",
dark_bubble_bottom_left: "voxygen.element.frames.bubble_dark.bottom_left",
dark_bubble_bottom: "voxygen.element.frames.bubble_dark.bottom",
dark_bubble_bottom_right: "voxygen.element.frames.bubble_dark.bottom_right",
dark_bubble_tail: "voxygen.element.frames.bubble_dark.tail",
// Chat icons
chat_broadcast_small: "voxygen.element.icons.chat.broadcast_small",
chat_faction_small: "voxygen.element.icons.chat.faction_small",
chat_group_small: "voxygen.element.icons.chat.group_small",
chat_kill_small: "voxygen.element.icons.chat.kill_small",
chat_private_small: "voxygen.element.icons.chat.private_small",
chat_region_small: "voxygen.element.icons.chat.region_small",
chat_say_small: "voxygen.element.icons.chat.say_small",
chat_tell_small: "voxygen.element.icons.chat.tell_small",
chat_world_small: "voxygen.element.icons.chat.world_small",
chat_faction: "voxygen.element.icons.chat.faction",
chat_group: "voxygen.element.icons.chat.group",
chat_region: "voxygen.element.icons.chat.region",
chat_say: "voxygen.element.icons.chat.say",
chat_tell: "voxygen.element.icons.chat.tell",
chat_world: "voxygen.element.icons.chat.world",
<BlankGraphic>
2019-07-27 19:26:31 +00:00
nothing: (),
}
}