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

The list model for mode list. More...

Inheritance diagram for ResolutionListModel:

Public Member Functions

 ResolutionListModel ()
 
int getNumberOfElements () override
 
std::string getElementAt (int i) override
 
const DisplayModegetModeAt (int i) const
 
int getIndexOf (int width, int height) const
 Returns the index corresponding to the given video resolution or 0 ("Custom") if not found.
 

Private Attributes

std::vector< DisplayModemDisplayModes
 

Detailed Description

The list model for mode list.

Definition at line 83 of file setup_video.cpp.

Constructor & Destructor Documentation

◆ ResolutionListModel()

ResolutionListModel::ResolutionListModel ( )
inline

Definition at line 86 of file setup_video.cpp.

Member Function Documentation

◆ getElementAt()

std::string ResolutionListModel::getElementAt ( int  i)
inlineoverride

Definition at line 99 of file setup_video.cpp.

◆ getIndexOf()

int ResolutionListModel::getIndexOf ( int  width,
int  height 
) const
inline

Returns the index corresponding to the given video resolution or 0 ("Custom") if not found.

Definition at line 136 of file setup_video.cpp.

◆ getModeAt()

const DisplayMode & ResolutionListModel::getModeAt ( int  i) const
inline

Definition at line 127 of file setup_video.cpp.

◆ getNumberOfElements()

int ResolutionListModel::getNumberOfElements ( )
inlineoverride

Definition at line 94 of file setup_video.cpp.

Member Data Documentation

◆ mDisplayModes

std::vector<DisplayMode> ResolutionListModel::mDisplayModes
private

Definition at line 148 of file setup_video.cpp.


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