Oolite
Loading...
Searching...
No Matches
GuiDisplayGen.m File Reference
import "GuiDisplayGen.h"
import "GameController.h"
import "HeadUpDisplay.h"
import "OOCollectionExtractors.h"
import "OOJavaScriptEngine.h"
import "OOSound.h"
import "OOStringExpander.h"
import "OOStringParsing.h"
import "OOSystemDescriptionManager.h"
import "OOTexture.h"
import "OOTextureSprite.h"
import "PlayerEntity.h"
import "PlayerEntityControls.h"
import "PlayerEntityStickProfile.h"
import "ResourceManager.h"
import "Universe.h"
Include dependency graph for GuiDisplayGen.m:

Go to the source code of this file.

Classes

category  GuiDisplayGen(Internal)

Functions

OOINLINE BOOL RowInRange (OOGUIRow row, NSRange range)

Variables

static BOOL _refreshStarChart = NO

Function Documentation

◆ RowInRange()

OOINLINE BOOL RowInRange ( OOGUIRow row,
NSRange range )

Definition at line 42 of file GuiDisplayGen.m.

43{
44 return ((int)range.location <= row && row < (int)(range.location + range.length));
45}

References OOINLINE.

Referenced by GuiDisplayGen(Internal)::drawGLDisplay:y:z:alpha:, GuiDisplayGen::keyForRow:, GuiDisplayGen::objectForRow:, GuiDisplayGen::setArray:forRow:, GuiDisplayGen::setColor:forRow:, GuiDisplayGen::setFirstSelectableRow, GuiDisplayGen::setKey:forRow:, GuiDisplayGen::setLastSelectableRow, GuiDisplayGen::setNextRow:, GuiDisplayGen::setSelectedRow:, GuiDisplayGen::setText:forRow:, and GuiDisplayGen::setText:forRow:align:.

Here is the caller graph for this function:

Variable Documentation

◆ _refreshStarChart

BOOL _refreshStarChart = NO
static