mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
41 lines
886 B
C++
41 lines
886 B
C++
#include "options.h"
|
|
|
|
FrameThrottleCategory::FrameThrottleCategory(QWidget *parent) :
|
|
OptionsCategory(parent)
|
|
{
|
|
setDisplayName(MENU_ENUM_LABEL_VALUE_FRAME_THROTTLE_SETTINGS);
|
|
setCategoryIcon("menu_frameskip");
|
|
}
|
|
|
|
QVector<OptionsPage*> FrameThrottleCategory::pages()
|
|
{
|
|
QVector<OptionsPage*> pages;
|
|
|
|
pages << new FrameThrottlePage(this);
|
|
pages << new RewindPage(this);
|
|
|
|
return pages;
|
|
}
|
|
|
|
FrameThrottlePage::FrameThrottlePage(QObject *parent) :
|
|
OptionsPage(parent)
|
|
{
|
|
setDisplayName(MENU_ENUM_LABEL_VALUE_FRAME_THROTTLE_SETTINGS);
|
|
}
|
|
|
|
QWidget *FrameThrottlePage::widget()
|
|
{
|
|
return create_widget(DISPLAYLIST_FRAME_THROTTLE_SETTINGS_LIST);
|
|
}
|
|
|
|
RewindPage::RewindPage(QObject *parent) :
|
|
OptionsPage(parent)
|
|
{
|
|
setDisplayName(MENU_ENUM_LABEL_VALUE_REWIND_SETTINGS);
|
|
}
|
|
|
|
QWidget *RewindPage::widget()
|
|
{
|
|
return create_widget(DISPLAYLIST_REWIND_SETTINGS_LIST);
|
|
}
|