style: remove all emojis from HUD, use text labels instead

- Change 🏆 Best: to Highest:
- Replace gear emojis with W:/A:/L: prefixes
- Replace 💎 with S: (Shrapnel)
- Replace 📦 with R: (Regular)
- Change settings button from ⚙️ to ... with border styling
- Clean, minimal text-based UI ready for custom icons later
This commit is contained in:
LemonNexus 2026-02-09 23:07:26 +00:00
parent e5c6878c6a
commit ab89b3350f
1 changed files with 21 additions and 18 deletions

View File

@ -370,17 +370,21 @@ class HUDOverlay(QWidget):
header.addStretch() header.addStretch()
# Settings button # Settings button
self.settings_btn = QPushButton("⚙️") self.settings_btn = QPushButton("...")
self.settings_btn.setFixedSize(24, 24) self.settings_btn.setFixedSize(24, 24)
self.settings_btn.setStyleSheet(""" self.settings_btn.setStyleSheet("""
QPushButton { QPushButton {
background: transparent; background: transparent;
border: none; border: 1px solid rgba(255, 255, 255, 100);
font-size: 14px; border-radius: 4px;
color: #888;
font-size: 10px;
font-weight: bold;
} }
QPushButton:hover { QPushButton:hover {
background: rgba(255, 255, 255, 30); background: rgba(255, 255, 255, 30);
border-radius: 4px; border-color: #FFF;
color: #FFF;
} }
""") """)
self.settings_btn.clicked.connect(self._show_settings) self.settings_btn.clicked.connect(self._show_settings)
@ -395,9 +399,9 @@ class HUDOverlay(QWidget):
gear_layout.setContentsMargins(0, 0, 0, 0) gear_layout.setContentsMargins(0, 0, 0, 0)
gear_layout.setSpacing(2) gear_layout.setSpacing(2)
self.weapon_label = QLabel("🔫 None") self.weapon_label = QLabel("W: None")
self.armor_label = QLabel("🛡️ None") self.armor_label = QLabel("A: None")
self.loadout_label = QLabel("📋 No Loadout") self.loadout_label = QLabel("L: No Loadout")
gear_layout.addWidget(self.weapon_label) gear_layout.addWidget(self.weapon_label)
gear_layout.addWidget(self.armor_label) gear_layout.addWidget(self.armor_label)
@ -454,10 +458,10 @@ class HUDOverlay(QWidget):
self.total_loot_label = QLabel("Total: 0.00") self.total_loot_label = QLabel("Total: 0.00")
self.total_loot_label.setStyleSheet("font-size: 11px; color: #AAFFAA;") self.total_loot_label.setStyleSheet("font-size: 11px; color: #AAFFAA;")
self.shrapnel_value_label = QLabel("💎 0.00") self.shrapnel_value_label = QLabel("S: 0.00")
self.shrapnel_value_label.setStyleSheet("font-size: 11px; color: #87CEEB;") self.shrapnel_value_label.setStyleSheet("font-size: 11px; color: #87CEEB;")
self.regular_loot_label = QLabel("📦 0.00") self.regular_loot_label = QLabel("R: 0.00")
self.regular_loot_label.setStyleSheet("font-size: 11px; color: #FFD700;") self.regular_loot_label.setStyleSheet("font-size: 11px; color: #FFD700;")
loot_layout.addWidget(self.total_loot_label) loot_layout.addWidget(self.total_loot_label)
@ -469,7 +473,7 @@ class HUDOverlay(QWidget):
# Highest loot row # Highest loot row
highest_layout = QHBoxLayout() highest_layout = QHBoxLayout()
self.highest_loot_label = QLabel("🏆 Best: 0.00") self.highest_loot_label = QLabel("Highest: 0.00")
self.highest_loot_label.setStyleSheet("font-size: 11px; color: #FFD700; font-weight: bold;") self.highest_loot_label.setStyleSheet("font-size: 11px; color: #FFD700; font-weight: bold;")
highest_layout.addWidget(self.highest_loot_label) highest_layout.addWidget(self.highest_loot_label)
highest_layout.addStretch() highest_layout.addStretch()
@ -753,9 +757,9 @@ class HUDOverlay(QWidget):
# Total Cost + Loot breakdown + Highest # Total Cost + Loot breakdown + Highest
self._safe_set_text('total_cost_label', f"Cost: {self._stats.cost_total:.2f}") self._safe_set_text('total_cost_label', f"Cost: {self._stats.cost_total:.2f}")
self._safe_set_text('total_loot_label', f"Total: {self._stats.loot_total:.2f}") self._safe_set_text('total_loot_label', f"Total: {self._stats.loot_total:.2f}")
self._safe_set_text('shrapnel_value_label', f"💎 {self._stats.shrapnel_total:.2f}") self._safe_set_text('shrapnel_value_label', f"S: {self._stats.shrapnel_total:.2f}")
self._safe_set_text('regular_loot_label', f"📦 {self._stats.loot_other:.2f}") self._safe_set_text('regular_loot_label', f"R: {self._stats.loot_other:.2f}")
self._safe_set_text('highest_loot_label', f"🏆 Best: {self._stats.highest_loot:.2f}") self._safe_set_text('highest_loot_label', f"Highest: {self._stats.highest_loot:.2f}")
# Cost metrics # Cost metrics
self._safe_set_text('cps_label', f"Shot: {self._stats.cost_per_shot:.4f}") self._safe_set_text('cps_label', f"Shot: {self._stats.cost_per_shot:.4f}")
@ -763,9 +767,9 @@ class HUDOverlay(QWidget):
self._safe_set_text('cphl_label', f"Heal: {self._stats.cost_per_heal:.4f}") self._safe_set_text('cphl_label', f"Heal: {self._stats.cost_per_heal:.4f}")
# Gear # Gear
self._safe_set_text('weapon_label', f"🔫 {self._stats.current_weapon[:20]}") self._safe_set_text('weapon_label', f"W: {self._stats.current_weapon[:20]}")
self._safe_set_text('armor_label', f"🛡️ {self._stats.current_armor[:20]}") self._safe_set_text('armor_label', f"A: {self._stats.current_armor[:20]}")
self._safe_set_text('loadout_label', f"📋 {self._stats.current_loadout[:20]}") self._safe_set_text('loadout_label', f"L: {self._stats.current_loadout[:20]}")
# Cost breakdown # Cost breakdown
self._safe_set_text('wep_cost_label', f"{self._stats.weapon_cost_total:.2f}") self._safe_set_text('wep_cost_label', f"{self._stats.weapon_cost_total:.2f}")
@ -780,8 +784,7 @@ class HUDOverlay(QWidget):
self._safe_set_text('damage_dealt_label', f"Dealt: {int(self._stats.damage_dealt)}") self._safe_set_text('damage_dealt_label', f"Dealt: {int(self._stats.damage_dealt)}")
self._safe_set_text('damage_taken_label', f"Taken: {int(self._stats.damage_taken)}") self._safe_set_text('damage_taken_label', f"Taken: {int(self._stats.damage_taken)}")
# Shrapnel (in summary section now) # Shrapnel (in summary section now - already updated above)
self._safe_set_text('shrapnel_value_label', f"💎 {self._stats.shrapnel_total:.2f}")
# === Public Update Methods === # === Public Update Methods ===