2021-07-23 08:24:00 +01:00
|
|
|
/*
|
|
|
|
* options_tab.hpp
|
|
|
|
*
|
|
|
|
* Copyright (c) 2020-2021, DarkMatterCore <pabloacurielz@gmail.com>.
|
|
|
|
*
|
|
|
|
* This file is part of nxdumptool (https://github.com/DarkMatterCore/nxdumptool).
|
|
|
|
*
|
|
|
|
* nxdumptool is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* nxdumptool is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifndef __OPTIONS_TAB_HPP__
|
|
|
|
#define __OPTIONS_TAB_HPP__
|
|
|
|
|
|
|
|
#include <borealis.hpp>
|
|
|
|
|
|
|
|
namespace nxdt::views
|
|
|
|
{
|
|
|
|
class OptionsTab: public brls::List
|
|
|
|
{
|
2021-07-25 06:37:13 +01:00
|
|
|
private:
|
|
|
|
bool display_notification = true;
|
|
|
|
brls::menu_timer_t notification_timer = 0.0f;
|
|
|
|
brls::menu_timer_ctx_entry_t notification_timer_ctx = {0};
|
|
|
|
|
|
|
|
void DisplayNotification(std::string str);
|
2021-07-23 08:24:00 +01:00
|
|
|
public:
|
|
|
|
OptionsTab(void);
|
2021-07-25 06:37:13 +01:00
|
|
|
~OptionsTab(void);
|
2021-07-23 08:24:00 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* __OPTIONS_TAB_HPP__ */
|