Skip to content

Cleanup HUD notify panel

username-removed-51285 requested to merge sev/hud_panel_notify into master

From a design perspective, the current HUD notify panel has two problems:

  • It reserves space for icons with an aspect ratio of 2:1, leaving a lot of whitespace around square icons
  • The notifications are not center-aligned, causing a messy output

This branch implements the following solutions:

  • It introduces the cvar hud_panel_notify_icon_aspect, to define the aspect ratio of the total drawing area per icon
  • It aligns the notifications by their icons, establishing a neat column
  • As a bonus, it optimizes the performance of HUD_Notify()

notify

Merge request reports