2 * Copyright (C) 2005-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"
12 #include "video/Teletext.h"
18 class CGUIDialogTeletext
: public CGUIDialog
21 CGUIDialogTeletext(void);
22 ~CGUIDialogTeletext(void) override
;
23 bool OnMessage(CGUIMessage
& message
) override
;
24 bool OnAction(const CAction
& action
) override
;
25 bool OnBack(int actionID
) override
;
26 void Process(unsigned int currentTime
, CDirtyRegionList
&dirtyregions
) override
;
27 void Render() override
;
28 void OnInitWindow() override
;
29 void OnDeinitWindow(int nextWindowID
) override
;
32 bool m_bClose
; /* Close sendet, needed for fade out */
33 std::unique_ptr
<CTexture
> m_pTxtTexture
; /* Texture info class to render to screen */
34 CRect m_vertCoords
; /* Coordinates of teletext field on screen */
35 CTeletextDecoder m_TextDecoder
; /* Decoding class for teletext code */
38 void SetCoordinates();