    void playSound(AudibleAlert alert);
    void stopSounds();
  
  public slots:
    void update(const UIState &s);
    void offroadTransition(bool offroad);
  };
  
  // container window for the NVG UI
  class NvgWindow : public QOpenGLWidget, protected QOpenGLFunctions {
 
</s> remove   std::map<AudibleAlert, QSoundEffect> sounds;

  void playSound(AudibleAlert alert);
  void stopSounds();
 </s> add   cereal::ControlsState::AlertSize alert_size; </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, </s> remove class OnroadAlerts : public QFrame {
 </s> add class OnroadAlerts : public QWidget {
  void updateState(const UIState &s);
    void playSound(AudibleAlert alert);
    void stopSounds();
  
  public slots:
  void updateState(const UIState &s);
    void offroadTransition(bool offroad);
  };
  
  // container window for the NVG UI
  class NvgWindow : public QOpenGLWidget, protected QOpenGLFunctions {
keep keep keep keep replace keep keep keep keep keep
 match nvg onroad alerts (#20854) 
selfdrive/ui/qt/onroad.h