kodi
GUIDialogSeekBar.h
1 /*
2  * Copyright (C) 2005-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 #include "guilib/GUIDialog.h"
12 
14 {
15 public:
16  CGUIDialogSeekBar(void);
17  ~CGUIDialogSeekBar(void) override;
18  bool OnMessage(CGUIMessage& message) override;
19  void FrameMove() override;
20 private:
21  int GetProgress() const;
22  int GetEpgEventProgress() const;
23  int GetTimeshiftProgress() const;
24 
25  int m_lastProgress = 0;
26  int m_lastEpgEventProgress = 0;
27  int m_lastTimeshiftProgress = 0;
28 };
Definition: GUIDialog.h:35
void FrameMove() override
Main update function, called every frame prior to rendering Any window that requires updating on a fr...
Definition: GUIDialogSeekBar.cpp:53
Definition: GUIMessage.h:365
Definition: GUIDialogSeekBar.h:13