blob: 408fd6469e4efbb00244c6efc19ca1c28c21dcc9 [file] [log] [blame]
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MINIOS_SCREENS_SCREEN_DEBUG_OPTIONS_H_
#define MINIOS_SCREENS_SCREEN_DEBUG_OPTIONS_H_
#include <memory>
#include <string>
#include "minios/screens/screen_base.h"
namespace minios {
class ScreenDebugOptions : public ScreenBase {
public:
ScreenDebugOptions(std::shared_ptr<DrawInterface> draw_utils,
ScreenControllerInterface* screen_controller);
~ScreenDebugOptions() = default;
ScreenDebugOptions(const ScreenDebugOptions&) = delete;
ScreenDebugOptions& operator=(const ScreenDebugOptions&) = delete;
void Show() override;
void Reset() override;
void OnKeyPress(int key_changed) override;
ScreenType GetType() override;
std::string GetName() override;
private:
// Updates buttons with current selection.
void ShowButtons();
};
} // namespace minios
#endif // MINIOS_SCREENS_SCREEN_DEBUG_OPTIONS_H_