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