mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
39 lines
802 B
C++
39 lines
802 B
C++
#include "options.h"
|
|
|
|
CoreCategory::CoreCategory(QWidget *parent) :
|
|
OptionsCategory(parent)
|
|
{
|
|
setDisplayName(MENU_ENUM_LABEL_VALUE_CORE_SETTINGS);
|
|
setCategoryIcon("core-options");
|
|
}
|
|
|
|
QVector<OptionsPage*> CoreCategory::pages()
|
|
{
|
|
QVector<OptionsPage*> pages;
|
|
|
|
pages << new CorePage(this);
|
|
|
|
return pages;
|
|
}
|
|
|
|
CorePage::CorePage(QObject *parent) :
|
|
OptionsPage(parent)
|
|
{
|
|
}
|
|
|
|
QWidget *CorePage::widget()
|
|
{
|
|
QWidget *widget = new QWidget;
|
|
|
|
FormLayout *layout = new FormLayout;
|
|
|
|
layout->addCheckBox(MENU_ENUM_LABEL_VIDEO_SHARED_CONTEXT);
|
|
layout->addCheckBox(MENU_ENUM_LABEL_DUMMY_ON_CORE_SHUTDOWN);
|
|
layout->addCheckBox(MENU_ENUM_LABEL_CHECK_FOR_MISSING_FIRMWARE);
|
|
layout->addCheckBox(MENU_ENUM_LABEL_VIDEO_ALLOW_ROTATE);
|
|
|
|
widget->setLayout(layout);
|
|
|
|
return widget;
|
|
}
|