xbmc
DialogGameOSDHelp.h
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 
18 {
19 public:
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  static const int CONTROL_ID_GAME_CONTROLLER;
38 };
39 } // namespace GAME
40 } // namespace KODI
Definition: DialogGameOSD.h:21
Definition: DialogGameOSDHelp.h:17
void OnInitWindow()
Definition: DialogGameOSDHelp.cpp:30
Controller configuration window.
Definition: AudioDecoder.h:18