Module veloren_voxygen::hud
source · Re-exports§
pub use item_imgs::animate_by_pulse;
Modules§
- animation π
- bag π
- buffs π
- buttons π
- change_notification π
- chat π
- crafting π
- diary π
- esc_menu π
- group π
- hotbar π
- loot_scroller π
- map π
- minimap π
- overhead π
- overitem π
- popup π
- prompt_dialog π
- quest π
- settings_window π
- skillbar π
- slots π
- social π
- subtitles π
- trade π
Structs§
- Ids π
- (target slot, input value, inventory quantity, is our inventory, error, trade.offers index of trade slot)
Enums§
- Similar to PressBehavior, with different semantics for settings that change state automatically. There is no [PressBehavior::update][update] implementation because it doesnβt apply to the use case; this is just a sentinel.
- Specifier to use with
Position::position
Read its documentation for more
Constants§
- BLACK π
- BUFF_COLOR π
- CRITICAL_HP_COLOR π
- DEBUFF_COLOR π
- DEFAULT_NPC π
- ENEMY_HP_COLOR π
- ERROR_COLOR πColor for chat command errors (yellow !)
- EXP_FLOATER_LIFETIME π
- FACTION_COLOR πColor for factional chat
- GROUP_COLOR πColor for group chat
- GROUP_MEMBER π
- HP_COLOR π
- INFO_COLOR πColor for chat command info (blue i)
- KILL_COLOR πColor for death messagesw
- LOW_HP_COLOR π
- MENU_BG π
- NAMETAG_DMG_RANGE πRange damaged triggered nametags can be seen
- NAMETAG_DMG_TIME πTime nametags stay visible after doing damage even if they are out of range in seconds
- NAMETAG_GROUP_RANGE πDistance at which nametags are visible for group members
- NAMETAG_RANGE πDistance at which nametags are visible
- OFFLINE_COLOR πOffline color
- ONLINE_COLOR πOnline color
- POISEBAR_TICK_COLOR π
- POISE_COLOR π
- QUALITY_ARTIFACT π
- QUALITY_COMMON π
- QUALITY_DEBUG π
- QUALITY_EPIC π
- QUALITY_HIGH π
- QUALITY_LEGENDARY π
- QUALITY_LOW π
- QUALITY_MODERATE π
- REGION_COLOR πColor for regional chat
- SAY_COLOR πColor for local chat
- SPEECH_BUBBLE_RANGE πRange to display speech-bubbles at
- STAMINA_COLOR π
- TELL_COLOR πColor for a private message from another player
- TEXT_BG π
- TEXT_BLUE_COLOR π
- TEXT_COLOR π
- TEXT_COLOR_3 π
- TEXT_COLOR_GREY π
- TEXT_DULL_RED_COLOR π
- TEXT_GRAY_COLOR π
- TEXT_VELORITE π
- UI_HIGHLIGHT_0 π
- UI_MAIN π
- UI_SUBTLE π
- WORLD_COLOR πColor for global messages
- XP_COLOR π
Traits§
- Trait which enables you to declare widget position to use later on widget creation. It is implemented for all widgets which are implement Positionable, so you can easily change your code to use this method.
Functions§
- air_velocity π
- Converts multiplier to percentage. NOTE: floats are not the most precise type.