Mana
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Setup_Video Class Reference

#include <setup_video.h>

Inheritance diagram for Setup_Video:
SetupTab Container

Public Member Functions

 Setup_Video ()
 
 ~Setup_Video () override
 
void apply () override
 Called when the Apply button is pressed in the setup window.
 
void cancel () override
 Called when the Cancel button is pressed in the setup window.
 
void action (const gcn::ActionEvent &event) override
 
- Public Member Functions inherited from SetupTab
 SetupTab ()
 
const std::string & getName () const
 
- Public Member Functions inherited from Container
 Container ()
 
 ~Container () override
 
void drawFrame (gcn::Graphics *graphics) override
 

Private Member Functions

void refreshScaleList ()
 

Private Attributes

VideoSettings mVideoSettings
 
bool mCustomCursorEnabled
 
bool mParticleEffectsEnabled
 
int mFps
 
bool mSDLTransparencyDisabled
 
std::unique_ptr< gcn::ListModel > mWindowModeListModel
 
std::unique_ptr< ResolutionListModelmResolutionListModel
 
std::unique_ptr< ScaleListModelmScaleListModel
 
gcn::DropDown * mWindowModeDropDown
 
gcn::DropDown * mResolutionDropDown
 
DropDownmScaleDropDown
 
gcn::CheckBox * mVSyncCheckBox
 
gcn::CheckBox * mOpenGLCheckBox
 
gcn::CheckBox * mCustomCursorCheckBox
 
gcn::CheckBox * mParticleEffectsCheckBox
 
gcn::CheckBox * mFpsCheckBox
 
gcn::Slider * mFpsSlider
 
gcn::Label * mFpsLabel
 
int mOverlayDetail
 
gcn::Slider * mOverlayDetailSlider
 
gcn::Label * mOverlayDetailField
 
int mParticleDetail
 
gcn::Slider * mParticleDetailSlider
 
gcn::Label * mParticleDetailField
 
gcn::CheckBox * mDisableSDLTransparencyCheckBox
 

Additional Inherited Members

- Protected Member Functions inherited from SetupTab
void setName (const std::string &name)
 Sets the name displayed on the tab.
 
- Protected Member Functions inherited from Container
LayoutgetLayout ()
 Gets the layout handler for this container.
 
LayoutCellplace (int x, int y, gcn::Widget *wg, int w=1, int h=1)
 Adds a widget to the container and sets it at given cell.
 
ContainerPlacer getPlacer (int x, int y)
 Returns a proxy for adding widgets in an inner table of the layout.
 

Detailed Description

Definition at line 36 of file setup_video.h.

Constructor & Destructor Documentation

◆ Setup_Video()

Setup_Video::Setup_Video ( )

Definition at line 215 of file setup_video.cpp.

◆ ~Setup_Video()

Setup_Video::~Setup_Video ( )
overridedefault

Member Function Documentation

◆ action()

void Setup_Video::action ( const gcn::ActionEvent &  event)
override

Definition at line 462 of file setup_video.cpp.

◆ apply()

void Setup_Video::apply ( )
overridevirtual

Called when the Apply button is pressed in the setup window.

Implements SetupTab.

Definition at line 344 of file setup_video.cpp.

◆ cancel()

void Setup_Video::cancel ( )
overridevirtual

Called when the Cancel button is pressed in the setup window.

Implements SetupTab.

Definition at line 432 of file setup_video.cpp.

◆ refreshScaleList()

void Setup_Video::refreshScaleList ( )
private

Definition at line 544 of file setup_video.cpp.

Member Data Documentation

◆ mCustomCursorCheckBox

gcn::CheckBox* Setup_Video::mCustomCursorCheckBox
private

Definition at line 66 of file setup_video.h.

◆ mCustomCursorEnabled

bool Setup_Video::mCustomCursorEnabled
private

Definition at line 52 of file setup_video.h.

◆ mDisableSDLTransparencyCheckBox

gcn::CheckBox* Setup_Video::mDisableSDLTransparencyCheckBox
private

Definition at line 81 of file setup_video.h.

◆ mFps

int Setup_Video::mFps
private

Definition at line 54 of file setup_video.h.

◆ mFpsCheckBox

gcn::CheckBox* Setup_Video::mFpsCheckBox
private

Definition at line 69 of file setup_video.h.

◆ mFpsLabel

gcn::Label* Setup_Video::mFpsLabel
private

Definition at line 71 of file setup_video.h.

◆ mFpsSlider

gcn::Slider* Setup_Video::mFpsSlider
private

Definition at line 70 of file setup_video.h.

◆ mOpenGLCheckBox

gcn::CheckBox* Setup_Video::mOpenGLCheckBox
private

Definition at line 65 of file setup_video.h.

◆ mOverlayDetail

int Setup_Video::mOverlayDetail
private

Definition at line 73 of file setup_video.h.

◆ mOverlayDetailField

gcn::Label* Setup_Video::mOverlayDetailField
private

Definition at line 75 of file setup_video.h.

◆ mOverlayDetailSlider

gcn::Slider* Setup_Video::mOverlayDetailSlider
private

Definition at line 74 of file setup_video.h.

◆ mParticleDetail

int Setup_Video::mParticleDetail
private

Definition at line 77 of file setup_video.h.

◆ mParticleDetailField

gcn::Label* Setup_Video::mParticleDetailField
private

Definition at line 79 of file setup_video.h.

◆ mParticleDetailSlider

gcn::Slider* Setup_Video::mParticleDetailSlider
private

Definition at line 78 of file setup_video.h.

◆ mParticleEffectsCheckBox

gcn::CheckBox* Setup_Video::mParticleEffectsCheckBox
private

Definition at line 67 of file setup_video.h.

◆ mParticleEffectsEnabled

bool Setup_Video::mParticleEffectsEnabled
private

Definition at line 53 of file setup_video.h.

◆ mResolutionDropDown

gcn::DropDown* Setup_Video::mResolutionDropDown
private

Definition at line 62 of file setup_video.h.

◆ mResolutionListModel

std::unique_ptr<ResolutionListModel> Setup_Video::mResolutionListModel
private

Definition at line 58 of file setup_video.h.

◆ mScaleDropDown

DropDown* Setup_Video::mScaleDropDown
private

Definition at line 63 of file setup_video.h.

◆ mScaleListModel

std::unique_ptr<ScaleListModel> Setup_Video::mScaleListModel
private

Definition at line 59 of file setup_video.h.

◆ mSDLTransparencyDisabled

bool Setup_Video::mSDLTransparencyDisabled
private

Definition at line 55 of file setup_video.h.

◆ mVideoSettings

VideoSettings Setup_Video::mVideoSettings
private

Definition at line 51 of file setup_video.h.

◆ mVSyncCheckBox

gcn::CheckBox* Setup_Video::mVSyncCheckBox
private

Definition at line 64 of file setup_video.h.

◆ mWindowModeDropDown

gcn::DropDown* Setup_Video::mWindowModeDropDown
private

Definition at line 61 of file setup_video.h.

◆ mWindowModeListModel

std::unique_ptr<gcn::ListModel> Setup_Video::mWindowModeListModel
private

Definition at line 57 of file setup_video.h.


The documentation for this class was generated from the following files: