2 * Copyright (C) 2012-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 #include "guilib/GUIDialog.h"
15 class CGUISpinControl
;
20 class CGUIDialogPVRRadioRDSInfo
: public CGUIDialog
23 CGUIDialogPVRRadioRDSInfo();
24 ~CGUIDialogPVRRadioRDSInfo() override
= default;
25 bool OnMessage(CGUIMessage
& message
) override
;
28 void OnInitWindow() override
;
34 InfoControl(uint32_t iSpinLabelId
, uint32_t iSpinControlId
);
35 void Init(CGUISpinControl
* spin
, CGUITextBox
* textbox
);
36 bool Update(const std::string
& textboxValue
);
39 CGUISpinControl
* m_spinControl
= nullptr;
40 uint32_t m_iSpinLabelId
= 0;
41 uint32_t m_iSpinControlId
= 0;
42 CGUITextBox
* m_textbox
= nullptr;
43 bool m_bSpinLabelPresent
= false;
44 std::string m_textboxValue
;
47 void InitInfoControls();
48 void UpdateInfoControls();
50 InfoControl m_InfoNews
;
51 InfoControl m_InfoNewsLocal
;
52 InfoControl m_InfoSport
;
53 InfoControl m_InfoWeather
;
54 InfoControl m_InfoLottery
;
55 InfoControl m_InfoStock
;
56 InfoControl m_InfoOther
;
57 InfoControl m_InfoCinema
;
58 InfoControl m_InfoHoroscope
;