coastline 0.0.4
Loading...
Searching...
No Matches
GlideDisplayModeNode Struct Reference

A display mode of the Glide library, linked in ascending order of size. More...

#include <displaymode.h>

Collaboration diagram for GlideDisplayModeNode:

Public Member Functions

 GlideDisplayModeNode ()
 Construct an empty mode.
void DeleteChain ()
 Delete the modes that follow this one.
bool IsLessOrEqual (const GlideDisplayModeNode *pMode) const
 Whether a mode is no larger than the mode that follows this one in each of its bit depth, width, and height.
void InsertSorted (GlideDisplayModeNode *pMode)
 Insert a mode after this one, before the first following mode it is no larger than.

Public Attributes

int nWidth
int nHeight
int nBitDepth
int nRefreshRate
GlideDisplayModeNode * pNext

Detailed Description

A display mode of the Glide library, linked in ascending order of size.

Constructor & Destructor Documentation

◆ GlideDisplayModeNode()

GlideDisplayModeNode::GlideDisplayModeNode ( )

Construct an empty mode.

Ghidra address:
BRGlide: 0x10058c70

Member Function Documentation

◆ DeleteChain()

void GlideDisplayModeNode::DeleteChain ( )

Delete the modes that follow this one.

Ghidra address:
BRGlide: 0x10058c90

◆ IsLessOrEqual()

bool GlideDisplayModeNode::IsLessOrEqual ( const GlideDisplayModeNode * pMode) const

Whether a mode is no larger than the mode that follows this one in each of its bit depth, width, and height.

Parameters
pModeThe mode.
Returns
False also when the mode or the next mode is missing.
Ghidra address:
BRGlide: 0x10058cc0

◆ InsertSorted()

void GlideDisplayModeNode::InsertSorted ( GlideDisplayModeNode * pMode)

Insert a mode after this one, before the first following mode it is no larger than.

The mode is never inserted before this one.

Parameters
pModeThe mode.
Ghidra address:
BRGlide: 0x10058d00

Member Data Documentation

◆ nWidth

int GlideDisplayModeNode::nWidth

The width in pixels.

◆ nHeight

int GlideDisplayModeNode::nHeight

The height in pixels.

◆ nBitDepth

int GlideDisplayModeNode::nBitDepth

The bits of a pixel, 16 for every mode.

◆ nRefreshRate

int GlideDisplayModeNode::nRefreshRate

The refresh rate in hertz, 0 for every mode.

◆ pNext

GlideDisplayModeNode* GlideDisplayModeNode::pNext

The next larger mode.


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