blob: 6153075613a9f3bfd99e11917955bcf8b3ab56a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/*
* Copyright (C) 2018 Team Kodi
* This file is part of Kodi - https://kodi.tv
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSES/README.md for more information.
*/
#pragma once
namespace KODI
{
namespace GAME
{
class CDialogGameOSD;
class CDialogGameOSDHelp
{
public:
CDialogGameOSDHelp(CDialogGameOSD& dialog);
// Initialize help controls
void OnInitWindow();
// Check if any help controls are visible
bool IsVisible();
private:
// Utility functions
bool IsVisible(int windowId);
// Construction parameters
CDialogGameOSD& m_dialog;
// Help control IDs
static const int CONTROL_ID_HELP_TEXT;
static const int CONTROL_ID_GAME_CONTROLLER;
};
} // namespace GAME
} // namespace KODI
|