    };
    float volume = Hardware::MIN_VOLUME;
    float blinking_rate = 0;
    std::string alert_type;
    std::map<AudibleAlert, QSoundEffect> sounds;
  
    void playSound(AudibleAlert alert);
    void stopSounds();
  
  public slots:
    void update(const UIState &s);
    void offroadTransition(bool offroad);
  };
 
</s> remove   void update(const UIState &s);
 </s> add   void updateState(const UIState &s); </s> remove   QColor bg;
  QLabel *title, *msg;
  QVBoxLayout *layout;

  void updateAlert(const QString &text1, const QString &text2, float blink_rate,
 </s> add   void stopSounds();
  void playSound(AudibleAlert alert);
  void updateAlert(const QString &t1, const QString &t2, float blink_rate,
  cereal::ControlsState::AlertSize alert_size;
    };
    float volume = Hardware::MIN_VOLUME;
    float blinking_rate = 0;
    std::string alert_type;
  cereal::ControlsState::AlertSize alert_size;
  cereal::ControlsState::AlertSize alert_size;
  cereal::ControlsState::AlertSize alert_size;
  cereal::ControlsState::AlertSize alert_size;
  
  public slots:
    void update(const UIState &s);
    void offroadTransition(bool offroad);
  };
keep keep keep keep replace replace replace replace keep keep keep keep keep
 match nvg onroad alerts (#20854) 
selfdrive/ui/qt/onroad.h