forked from microsoft/Xbox-GDK-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQuickActionScreen.h
More file actions
29 lines (23 loc) · 811 Bytes
/
Copy pathQuickActionScreen.h
File metadata and controls
29 lines (23 loc) · 811 Bytes
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
//--------------------------------------------------------------------------------------
// QuickActionScene.h
//
// Advanced Technology Group (ATG)
// Copyright (C) Microsoft Corporation. All rights reserved.
//--------------------------------------------------------------------------------------
#pragma once
#include "PanelScreen.h"
#include "NavigationHint.h"
#include "StepTimer.h"
class QuickActionScreen : public PanelScreen
{
public:
QuickActionScreen(FrontPanelManager *owner, XFrontPanelButton buttonId);
void Update(DX::StepTimer const& timer) override;
void RenderFrontPanel() override;
private:
void SetLightState(bool on);
XFrontPanelButton m_myButton;
BasicNavigationHint m_nav;
bool m_curLightState;
double m_blinkSeconds;
};