![]() |
Oolite 1.91.0.7659-250410-0031890
|
#include <GuiDisplayGen.h>
Class Methods | |
(static OOTexture *) | + TextureForGUITexture [implementation] |
(static OOTextureSprite *) | + NewTextureSpriteWithDescriptor [implementation] |
Private Attributes | |
NSSize | size_in_pixels |
unsigned | n_columns |
unsigned | n_rows |
int | pixel_row_center |
unsigned | pixel_row_height |
int | pixel_row_start |
NSSize | pixel_text_size |
BOOL | showAdvancedNavArray |
NSSize | pixel_title_size |
OOColor * | backgroundColor |
OOColor * | textColor |
OOColor * | textCommsColor |
OOTextureSprite * | backgroundSprite |
OOTextureSprite * | foregroundSprite |
OOGUIBackgroundSpecial | backgroundSpecial |
NSString * | title |
NSMutableArray * | rowText |
NSMutableArray * | rowKey |
NSMutableArray * | rowColor |
Vector | drawPosition |
NSPoint | rowPosition [GUI_MAX_ROWS] |
OOGUIAlignment | rowAlignment [GUI_MAX_ROWS] |
float | rowFadeTime [GUI_MAX_ROWS] |
OOGUITabSettings | tabStops |
NSDictionary * | guiUserSettings |
NSRange | rowRange |
OOGUIRow | selectedRow |
NSRange | selectableRange |
BOOL | showTextCursor |
OOGUIRow | currentRow |
GLfloat | max_alpha |
GLfloat | fade_alpha |
GLfloat | fade_sign |
NSUInteger | statusPage |
OOSystemID | foundSystem |
Definition at line 168 of file GuiDisplayGen.h.
- (OOGUIRow) addLongText: | (NSString *) | str | |
startingAtRow: | (OOGUIRow) | row | |
align: | (OOGUIAlignment) | alignment |
Definition at line 695 of file GuiDisplayGen.m.
References addLongText:startingAtRow:align:, count, OORectFromString(), pixel_text_size, ScanTokensFromString(), setText:forRow:align:, and size_in_pixels.
Referenced by PlayerEntity(Scripting)::addLiteralMissionText:, addLongText:startingAtRow:align:, OOOXZManager::gui, OOOXZManager::processShowInfoKey, PlayerEntity(KeyMapper)::setGuiToConfirmClearScreen, PlayerEntity(Contracts)::setGuiToDockingReportScreen, PlayerEntity::setGuiToIntroFirstGo:, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, PlayerEntity(KeyMapper)::setGuiToKeyConfigScreen:, PlayerEntity::setGuiToMarketInfoScreen, PlayerEntity::setGuiToSystemDataScreenRefreshBackground:, PlayerEntity(OOLoadSavePrivate)::showCommanderShip:, PlayerEntity::showInformationForSelectedInterface, PlayerEntity::showInformationForSelectedUpgradeWithFormatString:, OOOXZManager::showInstallOptions, OOOXZManager::showRemoveOptions, PlayerEntity(LoadSave)::showScenarioDetails, and PlayerEntity(Contracts)::showShipyardInfoForSelection.
- (GLfloat) alpha |
Definition at line 339 of file GuiDisplayGen.m.
References alpha, and fade_alpha.
Referenced by alpha, drawGUI:drawCursor:, Universe::drawMessage, drawPosition, and setGLColorFromSetting:defaultValue:alpha:.
- (void) clear |
Definition at line 644 of file GuiDisplayGen.m.
References clear, and clearAndKeepBackground:.
Referenced by clear, Universe::clearGUIs, resizeTo:characterHeight:title:, resizeWithPixelSize:columns:rows:rowHeight:rowStart:title:, selectableRange, PlayerEntity(KeyMapper)::setGuiToConfirmClearScreen, PlayerEntity::setGuiToGameOptionsScreen, PlayerEntity::setGuiToIntroFirstGo:, PlayerEntity(KeyMapper)::setGuiToKeyboardLayoutScreen:resetCurrentRow:, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, PlayerEntity(KeyMapper)::setGuiToKeyConfigScreen:, PlayerEntity(KeyMapper)::setGuiToKeyMapperScreen:resetCurrentRow:, PlayerEntity(OOLoadSavePrivate)::setGuiToLoadCommanderScreen, PlayerEntity::setGuiToLoadSaveScreen, PlayerEntity(Scripting)::setGuiToMissionScreenWithCallback:, PlayerEntity(OOLoadSavePrivate)::setGuiToOverwriteScreen:, PlayerEntity(OOLoadSavePrivate)::setGuiToSaveCommanderScreen:, PlayerEntity(StickMapper)::setGuiToStickMapperScreen:resetCurrentRow:, PlayerEntity::setupStartScreenGui, Universe::setViewDirection:, and StickProfileScreen::startGui:.
- (void) clearAndKeepBackground: | (BOOL) | keepBackground |
Definition at line 650 of file GuiDisplayGen.m.
References clearBackground, n_rows, rowFadeTime, setColor:forRow:, setKey:forRow:, setSelectableRange:, setShowTextCursor:, setText:forRow:align:, and setTitle:.
Referenced by clear, OOOXZManager::gui, OOOXZManager::processShowInfoKey, PlayerEntity(Contracts)::setGuiToDockingReportScreen, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToInterfacesScreen:, PlayerEntity::setGuiToLongRangeChartScreen, PlayerEntity(Contracts)::setGuiToManifestScreen, PlayerEntity::setGuiToMarketInfoScreen, PlayerEntity::setGuiToMarketScreen, PlayerEntity(LoadSave)::setGuiToScenarioScreen:, PlayerEntity(Contracts)::setGuiToShipyardScreen:, PlayerEntity::setGuiToShortRangeChartScreen, PlayerEntity::setGuiToStatusScreen, and PlayerEntity::setGuiToSystemDataScreenRefreshBackground:.
- (void) clearBackground |
Definition at line 981 of file GuiDisplayGen.m.
References clearBackground, setBackgroundTextureDescriptor:, and setForegroundTextureDescriptor:.
Referenced by clearAndKeepBackground:, clearBackground, PlayerEntity(OOControlsPrivate)::pollDemoControls:, and selectableRange.
Definition at line 393 of file GuiDisplayGen.m.
References OOColor::colorWithDescription:, nil, and textColor.
Referenced by PlayerEntity(Contracts)::buySelectedShip, GuiDisplayGen(Internal)::drawAdvancedNavArrayAtX:y:z:alpha:usingRoute:optimizedBy:zoom:, GuiDisplayGen(Internal)::drawEquipmentList:z:, GlobalGetGuiColorSettingForKey(), setGLColorFromSetting:defaultValue:alpha:, PlayerEntity(Contracts)::setGuiToDockingReportScreen, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToInterfacesScreen:, PlayerEntity(Contracts)::setGuiToManifestScreen, PlayerEntity::setGuiToMarketInfoScreen, PlayerEntity::setGuiToMarketScreen, PlayerEntity(Contracts)::setGuiToShipyardScreen:, PlayerEntity::setGuiToStatusScreen, PlayerEntity::setGuiToSystemDataScreenRefreshBackground:, PlayerEntity(OOLoadSavePrivate)::showCommanderShip:, PlayerEntity::showInformationForSelectedInterface, PlayerEntity::showInformationForSelectedUpgradeWithFormatString:, PlayerEntity(OOPrivate)::showMarketCashAndLoadLine, PlayerEntity(OOPrivate)::showMarketScreenDataLine:forGood:inMarket:holdQuantity:, PlayerEntity(OOPrivate)::showMarketScreenHeaders, PlayerEntity(Contracts)::showShipyardInfoForSelection, and PlayerEntity(Contracts)::showTradeInInformationFooter.
- (unsigned) columns |
Definition at line 261 of file GuiDisplayGen.m.
References columns, and n_columns.
Referenced by columns.
- (void) dealloc |
Definition at line 167 of file GuiDisplayGen.m.
References dealloc.
Referenced by dealloc, and title.
|
implementation |
Provided by category GuiDisplayGen(Internal).
Definition at line 2468 of file GuiDisplayGen.m.
References CHART_HEIGHT_AT_MAX_ZOOM, CHART_WIDTH_AT_MAX_ZOOM, CHART_ZOOM_SHOW_LABELS, colorFromSetting:defaultValue:, OOColor::colorWithDescription:, OOColor::colorWithWhite:alpha:, OOColor::cyanColor, distanceBetweenPlanetPositions(), OOSystemDescriptionManager::getCoordinatesForSystem:inGalaxy:, OOSystemDescriptionManager::getPropertiesForSystem:inGalaxy:, OOSystemDescriptionManager::getProperty:forSystemKey:, OOColor::getRed:green:blue:alpha:, MAX_JUMP_RANGE, nil, OO_SYSTEMCONCEALMENT_NONAME, OO_SYSTEMCONCEALMENT_NOTHING, OODrawString(), OOGL, OOGLBEGIN, OOGLEND, OPTIMIZED_BY_JUMPS, OPTIMIZED_BY_NONE, setGLColorFromSetting:defaultValue:alpha:, UNIVERSE, x, y, and OOColor::yellowColor.
Referenced by GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:.
|
implementation |
Provided by category GuiDisplayGen(Internal).
Definition at line 1704 of file GuiDisplayGen.m.
References OOGLBEGIN, OOGLEND, x, and y.
Referenced by GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:.
|
implementation |
add color selection here
Provided by category GuiDisplayGen(Internal).
Definition at line 1222 of file GuiDisplayGen.m.
References colorFromSetting:defaultValue:, count, OOColor::greenColor, nil, OOClampInteger(), OODrawString(), OOMouseInteractionModeIsUIScreen(), OOColor::orangeColor, PLAYER, setArray:forRow:, setColor:forRow:, setGLColorFromSetting:defaultValue:alpha:, setKey:forRow:, setSelectableRange:, setSelectedRow:, setText:forRow:, STATUS_EQUIPMENT_BIGGUI_EXTRA_ROWS, STATUS_EQUIPMENT_FIRST_ROW, STATUS_EQUIPMENT_MAX_ROWS, and UNIVERSE.
Referenced by drawGUI:drawCursor:.
|
implementation |
Provided by category GuiDisplayGen(Internal).
Definition at line 1471 of file GuiDisplayGen.m.
References OOTexture::applyNone, OOColor::blackColor, OOColor::colorWithWhite:alpha:, count, EXPECT_NOT, GUI_ALIGN_CENTER, GUI_ALIGN_LEFT, GUI_ALIGN_RIGHT, MIN, nil, OODrawString(), OODrawStringQuadsAligned(), OOGL, OOGLBEGIN, OOGLEND, OORectFromString(), OOStartDrawingStrings(), OOStopDrawingStrings(), PLAYER, OOColor::redColor, RowInRange(), setGLColorFromSetting:defaultValue:alpha:, UNIVERSE, x, and y.
- (int) drawGUI: | (GLfloat) | alpha | |
drawCursor: | (BOOL) | drawCursor |
Definition at line 1378 of file GuiDisplayGen.m.
References alpha, backgroundSpecial, drawEquipmentList:z:, drawPosition, PlayerEntity::equipmentList, fade_alpha, fade_sign, GLScaledLineWidth(), GUI_BACKGROUND_SPECIAL_CUSTOM, GUI_BACKGROUND_SPECIAL_CUSTOM_ANA_QUICKEST, GUI_BACKGROUND_SPECIAL_CUSTOM_ANA_SHORTEST, GUI_BACKGROUND_SPECIAL_LONG, GUI_BACKGROUND_SPECIAL_LONG_ANA_QUICKEST, GUI_BACKGROUND_SPECIAL_LONG_ANA_SHORTEST, GUI_BACKGROUND_SPECIAL_SHORT, GUI_BACKGROUND_SPECIAL_SHORT_ANA_QUICKEST, GUI_BACKGROUND_SPECIAL_SHORT_ANA_SHORTEST, int(), max_alpha, OOGL, OOGLBEGIN, OOGLEND, pixel_row_height, pixel_row_start, PLAYER, size_in_pixels, PlayerEntity::stickProfileGraphAxisProfile:screenAt:screenSize:, UNIVERSE, x, and y.
Referenced by Universe::drawMessage, and Universe::pauseGame.
- (void) drawGUIBackground |
Definition at line 1358 of file GuiDisplayGen.m.
References backgroundSprite, OOTextureSprite::blitBackgroundCentredToX:Y:Z:alpha:, drawGUIBackground, drawPosition, nil, x, and y.
Referenced by drawGUIBackground, Universe::drawUniverse, and selectableRange.
- (Vector) drawPosition |
References alpha, drawPosition, stopFadeOuts, and userSettings.
|
implementation |
Provided by category GuiDisplayGen(Internal).
Definition at line 1745 of file GuiDisplayGen.m.
References _refreshStarChart, PlayerEntity::adjusted_chart_centre, PlayerEntity::ANAMode, OOColor::blueColor, CHART_CLIP_BORDER, CHART_HEIGHT_AT_MAX_ZOOM, CHART_MAX_ZOOM, CHART_SCREEN_VERTICAL_CENTRE, CHART_SCREEN_VERTICAL_CENTRE_COMPACT, CHART_WIDTH_AT_MAX_ZOOM, PlayerEntity::chart_zoom, CHART_ZOOM_SHOW_LABELS, OOColor::colorWithDescription:, OOColor::colorWithRed:green:blue:alpha:, OOColor::colorWithWhite:alpha:, PlayerEntity::cursor_coordinates, OOColor::cyanColor, PlayerEntity::dialFuel, distanceBetweenPlanetPositions(), drawAdvancedNavArrayAtX:y:z:alpha:usingRoute:optimizedBy:zoom:, drawCrossHairsWithSize:x:y:z:, drawSystemMarkers:atX:andY:andZ:withAlpha:andScale:, EXPECT, EXPECT_NOT, PlayerEntity::galaxy_coordinates, PlayerEntity::galaxyNumber, OOSystemDescriptionManager::getCoordinatesForSystem:inGalaxy:, OOSystemDescriptionManager::getPropertiesForSystem:inGalaxy:, OOColor::getRed:green:blue:alpha:, GLDrawFilledOval(), GLDrawOval(), GLScaledLineWidth(), OOColor::greenColor, GUI_BACKGROUND_SPECIAL_CUSTOM_ANA_QUICKEST, GUI_BACKGROUND_SPECIAL_CUSTOM_ANA_SHORTEST, GUI_BACKGROUND_SPECIAL_LONG, GUI_BACKGROUND_SPECIAL_LONG_ANA_QUICKEST, GUI_BACKGROUND_SPECIAL_LONG_ANA_SHORTEST, GUI_BACKGROUND_SPECIAL_SHORT_ANA_QUICKEST, GUI_BACKGROUND_SPECIAL_SHORT_ANA_SHORTEST, GUI_ROW_CHART_SYSTEM, GUI_ROW_CHART_SYSTEM_COMPACT, PlayerEntity::infoSystemID, PlayerEntity::longRangeChartMode, MAIN_GUI_ROW_HEIGHT, PlayerEntity::markedDestinations, MAX_JUMP_RANGE, nil, OO_SYSTEMCONCEALMENT_NODATA, OO_SYSTEMCONCEALMENT_NONAME, OO_SYSTEMCONCEALMENT_NOTHING, OODrawHilightedPlanetInfo(), OODrawHilightedString(), OODrawPlanetInfo(), OODrawString(), OOExpandKey, OOGL, OOGLBEGIN, OOGLEND, OPTIMIZED_BY_JUMPS, OPTIMIZED_BY_NONE, OPTIMIZED_BY_TIME, overrideTabs:from:length:, PLAYER, OOColor::redColor, setArray:forRow:, setGLColorFromSetting:defaultValue:alpha:, setTabStops:, UNIVERSE, x, y, and OOColor::yellowColor.
|
implementation |
Provided by category GuiDisplayGen(Internal).
Definition at line 2355 of file GuiDisplayGen.m.
References OOColor::colorWithDescription:, OOGL, OOGLBEGIN, OOGLEND, OOColor::rgbaComponents, x, and y.
Referenced by GuiDisplayGen(Internal)::drawSystemMarkers:atX:andY:andZ:withAlpha:andScale:.
|
implementation |
Provided by category GuiDisplayGen(Internal).
Definition at line 2344 of file GuiDisplayGen.m.
References drawSystemMarker:atX:andY:andZ:withAlpha:andScale:.
Referenced by GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:.
- (void) fadeOutFromTime: | (OOTimeAbsolute) | now_time | |
overDuration: | (OOTimeDelta) | duration |
Definition at line 320 of file GuiDisplayGen.m.
References fade_alpha, and fade_sign.
Referenced by Universe::showCommsLog:.
- (NSArray *) getLastLines |
Definition at line 791 of file GuiDisplayGen.m.
References getLastLines, n_rows, nil, and OOColor::rgbaComponents.
Referenced by getLastLines, HeadUpDisplay::resetGuis:, and selectableRange.
- (id) init |
Definition at line 66 of file GuiDisplayGen.m.
References backgroundSpecial, ResourceManager::dictionaryFromFilesNamed:inFolder:andMerge:, drawPosition, GUI_ALIGN_LEFT, GUI_BACKGROUND_SPECIAL_NONE, GUI_DEFAULT_COLUMNS, GUI_DEFAULT_ROWS, guiUserSettings, init, MAIN_GUI_PIXEL_HEIGHT, MAIN_GUI_PIXEL_ROW_START, MAIN_GUI_PIXEL_WIDTH, MAIN_GUI_ROW_HEIGHT, max_alpha, n_columns, n_rows, pixel_row_center, pixel_row_height, pixel_row_start, pixel_text_size, pixel_title_size, rowAlignment, rowColor, rowKey, rowPosition, rowRange, rowText, size_in_pixels, tabStops, textColor, title, and OOColor::yellowColor.
Referenced by init.
- (id) initWithPixelSize: | (NSSize) | gui_size | |
columns: | (int) | gui_cols | |
rows: | (int) | gui_rows | |
rowHeight: | (int) | gui_row_height | |
rowStart: | (int) | gui_row_start | |
title: | (NSString*) | gui_title |
Definition at line 120 of file GuiDisplayGen.m.
References OOColor::greenColor, GUI_ALIGN_LEFT, max_alpha, n_columns, n_rows, pixel_row_center, pixel_row_height, pixel_row_start, pixel_text_size, pixel_title_size, rowAlignment, rowColor, rowKey, rowPosition, rowRange, rowText, size_in_pixels, textColor, title, and OOColor::yellowColor.
- (void) insertItemsFromArray: | (NSArray *) | items | |
withKeys: | (NSArray *) | item_keys | |
intoRow: | (OOGUIRow) | row | |
color: | (OOColor *) | text_color |
Definition at line 912 of file GuiDisplayGen.m.
References count, keyForRow:, n_rows, objectForRow:, setArray:forRow:, setColor:forRow:, setKey:forRow:, and setText:forRow:.
- (NSString *) keyForRow: | (OOGUIRow) | row |
Definition at line 480 of file GuiDisplayGen.m.
References RowInRange(), and rowRange.
Referenced by PlayerEntity(Contracts)::buySelectedShip, PlayerEntity(KeyMapper)::handleKeyboardLayoutEntryKeys:view:, PlayerEntity(OOControlsPrivate)::handleKeyboardLayoutKeys, PlayerEntity(OOControlsPrivate)::handleKeyMapperScreenKeys, PlayerEntity(OOControlsPrivate)::handleStickMapperScreenKeys, PlayerEntity::highlightEquipShipScreenKey:, insertItemsFromArray:withKeys:intoRow:color:, PlayerEntity(KeyMapper)::keyMapperInputHandler:view:, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, PlayerEntity(Contracts)::showShipyardInfoForSelection, and PlayerEntity(StickMapper)::stickMapperInputHandler:view:.
- (void) leaveLastLine |
Definition at line 776 of file GuiDisplayGen.m.
References GUI_ALIGN_LEFT, leaveLastLine, n_rows, rowAlignment, and rowFadeTime.
Referenced by leaveLastLine, and selectableRange.
|
implementation |
Definition at line 1013 of file GuiDisplayGen.m.
References nil, OOTexture::originalDimensions, size, and TextureForGUITexture.
Referenced by setBackgroundTextureDescriptor:, and setForegroundTextureDescriptor:.
- (id) objectForRow: | (OOGUIRow) | row |
Definition at line 458 of file GuiDisplayGen.m.
References RowInRange(), and rowRange.
Referenced by PlayerEntity(Contracts)::buySelectedShip, insertItemsFromArray:withKeys:intoRow:color:, and PlayerEntity(Contracts)::showShipyardInfoForSelection.
- (void) overrideTabs: | (OOGUITabSettings) | stops | |
from: | (NSString *) | setting | |
length: | (NSUInteger) | len |
Definition at line 626 of file GuiDisplayGen.m.
References GUI_MAX_COLUMNS, and nil.
Referenced by GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToInterfacesScreen:, PlayerEntity(Contracts)::setGuiToManifestScreen, PlayerEntity(Contracts)::setGuiToShipyardScreen:, PlayerEntity::setGuiToStatusScreen, PlayerEntity::setGuiToSystemDataScreenRefreshBackground:, and PlayerEntity(OOPrivate)::showMarketScreenHeaders.
- (BOOL) preloadGUITexture: | (NSDictionary *) | descriptor |
Definition at line 1152 of file GuiDisplayGen.m.
References nil, and TextureForGUITexture.
- (void) printLineNoScroll: | (NSString *) | str | |
align: | (OOGUIAlignment) | alignment | |
color: | (OOColor *) | text_color | |
fadeTime: | (float) | text_fade | |
key: | (NSString *) | text_key | |
addToArray: | (NSMutableArray *) | text_array |
Definition at line 887 of file GuiDisplayGen.m.
References rowFadeTime, setColor:forRow:, setKey:forRow:, and setText:forRow:align:.
Referenced by Universe::showGUIMessage:withScroll:andColor:overDuration:.
- (void) printLongText: | (NSString *) | str | |
align: | (OOGUIAlignment) | alignment | |
color: | (OOColor *) | text_color | |
fadeTime: | (float) | text_fade | |
key: | (NSString *) | text_key | |
addToArray: | (NSMutableArray *) | text_array |
Definition at line 820 of file GuiDisplayGen.m.
References count, currentRow, n_rows, OORectFromString(), pixel_text_size, printLongText:align:color:fadeTime:key:addToArray:, rowFadeTime, ScanTokensFromString(), scrollUp:, setColor:forRow:, setKey:forRow:, setText:forRow:align:, and size_in_pixels.
Referenced by Universe::addCommsMessage:forCount:andShowComms:logOnly:, Universe::clearGUIs, printLongText:align:color:fadeTime:key:addToArray:, HeadUpDisplay::resetGuis:, Universe::setUpUniverseFromWitchspace, and Universe::showGUIMessage:withScroll:andColor:overDuration:.
- (NSString *) reflowTextForMFD: | (NSString *) | input |
Definition at line 740 of file GuiDisplayGen.m.
References count, nil, OORectFromString(), pixel_text_size, ScanTokensFromString(), and size.
Referenced by PlayerShipSetMultiFunctionText().
- (void) refreshStarChart |
Definition at line 1372 of file GuiDisplayGen.m.
References _refreshStarChart, and refreshStarChart.
Referenced by refreshStarChart, setBackgroundTextureSpecial:withBackground:, PlayerEntity::setGuiToChartScreenFrom:, Universe::setSystemDataForGalaxy:planet:key:value:fromManifest:forLayer:, and statusPage.
- (void) resizeTo: | (NSSize) | gui_size | |
characterHeight: | (int) | csize | |
title: | (NSString*) | gui_title |
Definition at line 209 of file GuiDisplayGen.m.
References clear, currentRow, OOColor::greenColor, GUI_ALIGN_LEFT, int(), n_columns, n_rows, nil, OOLog, pixel_row_center, pixel_row_height, pixel_row_start, pixel_text_size, pixel_title_size, rowAlignment, rowPosition, rowRange, setTitle:, size_in_pixels, and title.
Referenced by HeadUpDisplay(Private)::resetGui:withInfo:, and HeadUpDisplay::resetGuis:.
- (void) resizeWithPixelSize: | (NSSize) | gui_size | |
columns: | (int) | gui_cols | |
rows: | (int) | gui_rows | |
rowHeight: | (int) | gui_row_height | |
rowStart: | (int) | gui_row_start | |
title: | (NSString*) | gui_title |
Definition at line 183 of file GuiDisplayGen.m.
References clear, n_columns, n_rows, pixel_row_center, pixel_row_height, pixel_row_start, pixel_text_size, pixel_title_size, rowRange, setTitle:, and size_in_pixels.
- (OOGUIRow) rowForKey: | (NSString*) | key |
Definition at line 467 of file GuiDisplayGen.m.
References rowKey.
- (unsigned) rowHeight |
Definition at line 273 of file GuiDisplayGen.m.
References pixel_row_height, and rowHeight.
Referenced by HeadUpDisplay(Private)::resetGui:withInfo:, and rowHeight.
- (unsigned) rows |
- (int) rowStart |
Definition at line 279 of file GuiDisplayGen.m.
References int(), pixel_row_start, and rowStart.
Referenced by rowStart.
- (void) scrollUp: | (int) | how_much |
Definition at line 959 of file GuiDisplayGen.m.
References GUI_ALIGN_LEFT, n_rows, rowAlignment, and rowFadeTime.
Referenced by printLongText:align:color:fadeTime:key:addToArray:.
- (NSRange) selectableRange |
References clear, clearBackground, drawGUIBackground, getLastLines, int(), leaveLastLine, and selectableRange.
- (OOGUIRow) selectedRow |
References selectedRow, selectedRowKey, selectedRowText, setFirstSelectableRow, setLastSelectableRow, and setNoSelectedRow.
- (NSString *) selectedRowKey |
Definition at line 580 of file GuiDisplayGen.m.
References count, nil, rowKey, selectedRow, and selectedRowKey.
Referenced by PlayerEntity::activateSelectedInterface, PlayerEntity::buySelectedItem, PlayerEntity(OOControlsPrivate)::pollDemoControls:, PlayerEntity(OOControlsPrivate)::pollMarketScreenControls, selectedRow, selectedRowKey, PlayerEntity::showInformationForSelectedInterface, PlayerEntity::showInformationForSelectedUpgradeWithFormatString:, PlayerEntity(LoadSave)::showScenarioDetails, and PlayerEntity(LoadSave)::startScenario.
- (NSString *) selectedRowText |
Definition at line 570 of file GuiDisplayGen.m.
References rowText, selectedRow, and selectedRowText.
Referenced by PlayerEntity::buySelectedItem, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, selectedRow, and selectedRowText.
- (void) setAlpha: | (GLfloat) | an_alpha |
Definition at line 345 of file GuiDisplayGen.m.
References fade_alpha, and max_alpha.
Referenced by HeadUpDisplay::resetGuis:, Universe::showCommsLog:, and Universe::showGUIMessage:withScroll:andColor:overDuration:.
- (void) setArray: | (NSArray *) | arr | |
forRow: | (OOGUIRow) | row |
Definition at line 905 of file GuiDisplayGen.m.
References RowInRange(), and rowRange.
Referenced by PlayerEntity(Contracts)::buySelectedShip, PlayerEntity(StickMapperInternal)::displayFunctionList:skip:, PlayerEntity(KeyMapperInternal)::displayKeyboardLayoutList:skip:, PlayerEntity(KeyMapperInternal)::displayKeyFunctionList:skip:, GuiDisplayGen(Internal)::drawEquipmentList:z:, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, insertItemsFromArray:withKeys:intoRow:color:, PlayerEntity(OOLoadSavePrivate)::lsCommanders:directory:pageNumber:highlightName:, PlayerEntity(KeyMapper)::outputKeyDefinition:shift:mod1:mod2:skiprows:, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToInterfacesScreen:, PlayerEntity(KeyMapper)::setGuiToKeyboardLayoutScreen:resetCurrentRow:, PlayerEntity(KeyMapper)::setGuiToKeyConfigScreen:, PlayerEntity(KeyMapper)::setGuiToKeyMapperScreen:resetCurrentRow:, PlayerEntity(Contracts)::setGuiToManifestScreen, PlayerEntity::setGuiToMarketScreen, PlayerEntity(LoadSave)::setGuiToScenarioScreen:, PlayerEntity(Contracts)::setGuiToShipyardScreen:, PlayerEntity::setGuiToStatusScreen, PlayerEntity(StickMapper)::setGuiToStickMapperScreen:resetCurrentRow:, PlayerEntity::setGuiToSystemDataScreenRefreshBackground:, PlayerEntity(Contracts)::setManifestScreenRow:inColor:forRow:ofRows:andOffset:inMultipage:, OOOXZManager::showInstallOptions, PlayerEntity(OOPrivate)::showMarketScreenDataLine:forGood:inMarket:holdQuantity:, PlayerEntity(OOPrivate)::showMarketScreenHeaders, OOOXZManager::showRemoveOptions, StickProfileScreen(StickProfileInternal)::showScreen, PlayerEntity(Contracts)::showShipyardInfoForSelection, and PlayerEntity(StickMapper)::stickMapperInputHandler:view:.
- (void) setBackgroundColor: | (OOColor*) | color |
Definition at line 357 of file GuiDisplayGen.m.
References backgroundColor.
Referenced by HeadUpDisplay(Private)::resetGui:withInfo:, HeadUpDisplay::resetGuis:, and Universe::setMessageGuiBackgroundColor:.
- (BOOL) setBackgroundTextureDescriptor: | (NSDictionary *) | descriptor |
Definition at line 1123 of file GuiDisplayGen.m.
References backgroundSpecial, backgroundSprite, GUI_BACKGROUND_SPECIAL_NONE, NewTextureSpriteWithDescriptor, and nil.
Referenced by clearBackground, GlobalSetScreenBackground(), setBackgroundTextureKey:, setBackgroundTextureSpecial:withBackground:, PlayerEntity(Contracts)::setGuiToDockingReportScreen, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToInterfacesScreen:, PlayerEntity(Scripting)::setGuiToMissionScreenWithCallback:, and PlayerEntity::setGuiToStatusScreen.
- (BOOL) setBackgroundTextureKey: | (NSString *) | key |
Definition at line 1140 of file GuiDisplayGen.m.
References setBackgroundTextureDescriptor:.
Referenced by PlayerEntity::setGuiToChartScreenFrom:, PlayerEntity(KeyMapper)::setGuiToConfirmClearScreen, PlayerEntity::setGuiToGameOptionsScreen, PlayerEntity::setGuiToIntroFirstGo:, PlayerEntity(KeyMapper)::setGuiToKeyboardLayoutScreen:resetCurrentRow:, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, PlayerEntity(KeyMapper)::setGuiToKeyConfigScreen:, PlayerEntity(KeyMapper)::setGuiToKeyMapperScreen:resetCurrentRow:, PlayerEntity(OOLoadSavePrivate)::setGuiToLoadCommanderScreen, PlayerEntity::setGuiToLoadSaveScreen, PlayerEntity::setGuiToLongRangeChartScreen, PlayerEntity(Contracts)::setGuiToManifestScreen, PlayerEntity::setGuiToMarketInfoScreen, PlayerEntity::setGuiToMarketScreen, PlayerEntity(OOLoadSavePrivate)::setGuiToOverwriteScreen:, PlayerEntity(OOLoadSavePrivate)::setGuiToSaveCommanderScreen:, PlayerEntity(LoadSave)::setGuiToScenarioScreen:, PlayerEntity(Contracts)::setGuiToShipyardScreen:, PlayerEntity::setGuiToShortRangeChartScreen, PlayerEntity(StickMapper)::setGuiToStickMapperScreen:resetCurrentRow:, PlayerEntity::setGuiToSystemDataScreenRefreshBackground:, PlayerEntity::setupStartScreenGui, and StickProfileScreen(StickProfileInternal)::showScreen.
- (void) setBackgroundTextureSpecial: | (OOGUIBackgroundSpecial) | spec | |
withBackground: | (BOOL) | withBackground |
Definition at line 1061 of file GuiDisplayGen.m.
References backgroundSpecial, GUI_BACKGROUND_SPECIAL_CUSTOM, GUI_BACKGROUND_SPECIAL_CUSTOM_ANA_QUICKEST, GUI_BACKGROUND_SPECIAL_CUSTOM_ANA_SHORTEST, GUI_BACKGROUND_SPECIAL_LONG, GUI_BACKGROUND_SPECIAL_LONG_ANA_QUICKEST, GUI_BACKGROUND_SPECIAL_LONG_ANA_SHORTEST, GUI_BACKGROUND_SPECIAL_NONE, GUI_BACKGROUND_SPECIAL_SHORT, GUI_BACKGROUND_SPECIAL_SHORT_ANA_QUICKEST, GUI_BACKGROUND_SPECIAL_SHORT_ANA_SHORTEST, nil, refreshStarChart, and setBackgroundTextureDescriptor:.
Referenced by PlayerEntity(Scripting)::setGuiToMissionScreenWithCallback:.
- (void) setCharacterSize: | (NSSize) | character_size |
Definition at line 439 of file GuiDisplayGen.m.
References pixel_text_size.
Referenced by HeadUpDisplay::resetGuis:.
Definition at line 451 of file GuiDisplayGen.m.
References RowInRange(), and rowRange.
Referenced by PlayerEntity(Contracts)::buySelectedShip, clearAndKeepBackground:, PlayerEntity(StickMapperInternal)::displayFunctionList:skip:, PlayerEntity(KeyMapperInternal)::displayKeyboardLayoutList:skip:, PlayerEntity(KeyMapperInternal)::displayKeyFunctionList:skip:, GuiDisplayGen(Internal)::drawEquipmentList:z:, OOOXZManager::gui, PlayerEntity(KeyMapper)::handleKeyConfigEntryKeys:view:, insertItemsFromArray:withKeys:intoRow:color:, PlayerEntity(OOLoadSavePrivate)::lsCommanders:directory:pageNumber:highlightName:, printLineNoScroll:align:color:fadeTime:key:addToArray:, printLongText:align:color:fadeTime:key:addToArray:, OOOXZManager::processShowInfoKey, PlayerEntity(Scripting)::refreshMissionScreenTextEntry, OOOXZManager::refreshTextInput:, PlayerEntity(LoadSave)::saveCommanderInputHandler, PlayerEntity::setGuiToChartScreenFrom:, PlayerEntity(Contracts)::setGuiToDockingReportScreen, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToGameOptionsScreen, PlayerEntity::setGuiToInterfacesScreen:, PlayerEntity::setGuiToIntroFirstGo:, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, PlayerEntity(KeyMapper)::setGuiToKeyConfigScreen:, PlayerEntity(KeyMapper)::setGuiToKeyMapperScreen:resetCurrentRow:, PlayerEntity::setGuiToLoadSaveScreen, PlayerEntity(Contracts)::setGuiToManifestScreen, PlayerEntity::setGuiToMarketInfoScreen, PlayerEntity::setGuiToMarketScreen, PlayerEntity(Scripting)::setGuiToMissionScreenWithCallback:, PlayerEntity(OOLoadSavePrivate)::setGuiToSaveCommanderScreen:, PlayerEntity(LoadSave)::setGuiToScenarioScreen:, PlayerEntity(Contracts)::setGuiToShipyardScreen:, PlayerEntity::setGuiToStatusScreen, PlayerEntity::setGuiToSystemDataScreenRefreshBackground:, PlayerEntity(Contracts)::setManifestScreenRow:inColor:forRow:ofRows:andOffset:inMultipage:, PlayerEntity(Scripting)::setMissionChoicesDictionary:, PlayerEntity::setupStartScreenGui, PlayerEntity(OOLoadSavePrivate)::showCommanderShip:, PlayerEntity::showInformationForSelectedInterface, PlayerEntity::showInformationForSelectedUpgradeWithFormatString:, OOOXZManager::showInstallOptions, PlayerEntity(OOPrivate)::showMarketCashAndLoadLine, PlayerEntity(OOPrivate)::showMarketScreenDataLine:forGood:inMarket:holdQuantity:, PlayerEntity(OOPrivate)::showMarketScreenHeaders, OOOXZManager::showRemoveOptions, StickProfileScreen(StickProfileInternal)::showScreen, PlayerEntity(Contracts)::showShipyardInfoForSelection, and PlayerEntity(Contracts)::showTradeInInformationFooter.
- (void) setCurrentRow: | (OOGUIRow) | value |
Definition at line 595 of file GuiDisplayGen.m.
References currentRow, n_rows, and showTextCursor.
Referenced by PlayerEntity(Scripting)::refreshMissionScreenTextEntry, HeadUpDisplay::resetGuis:, PlayerEntity::setGuiToChartScreenFrom:, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, and PlayerEntity(OOLoadSavePrivate)::setGuiToSaveCommanderScreen:.
- (void) setDrawPosition: | (Vector) | vector |
Definition at line 302 of file GuiDisplayGen.m.
References drawPosition.
Referenced by HeadUpDisplay(Private)::resetGuiPosition:withInfo:, and HeadUpDisplay::resetGuis:.
- (BOOL) setFirstSelectableRow |
Definition at line 530 of file GuiDisplayGen.m.
References GUI_KEY_SKIP, RowInRange(), rowKey, selectableRange, selectedRow, and setFirstSelectableRow.
Referenced by selectedRow, setFirstSelectableRow, and PlayerEntity(Contracts)::setGuiToShipyardScreen:.
- (BOOL) setForegroundTextureDescriptor: | (NSDictionary *) | descriptor |
Definition at line 1132 of file GuiDisplayGen.m.
References foregroundSprite, NewTextureSpriteWithDescriptor, and nil.
Referenced by clearBackground, GlobalSetScreenOverlay(), setForegroundTextureKey:, PlayerEntity(Scripting)::setGuiToMissionScreenWithCallback:, and PlayerEntity::setGuiToStatusScreen.
- (BOOL) setForegroundTextureKey: | (NSString *) | key |
Definition at line 1146 of file GuiDisplayGen.m.
References setForegroundTextureDescriptor:.
Referenced by PlayerEntity::setGuiToChartScreenFrom:, PlayerEntity(KeyMapper)::setGuiToConfirmClearScreen, PlayerEntity(Contracts)::setGuiToDockingReportScreen, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToGameOptionsScreen, PlayerEntity::setGuiToInterfacesScreen:, PlayerEntity(KeyMapper)::setGuiToKeyboardLayoutScreen:resetCurrentRow:, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, PlayerEntity(KeyMapper)::setGuiToKeyConfigScreen:, PlayerEntity(KeyMapper)::setGuiToKeyMapperScreen:resetCurrentRow:, PlayerEntity(OOLoadSavePrivate)::setGuiToLoadCommanderScreen, PlayerEntity(Contracts)::setGuiToManifestScreen, PlayerEntity::setGuiToMarketInfoScreen, PlayerEntity::setGuiToMarketScreen, PlayerEntity(OOLoadSavePrivate)::setGuiToOverwriteScreen:, PlayerEntity(OOLoadSavePrivate)::setGuiToSaveCommanderScreen:, PlayerEntity(LoadSave)::setGuiToScenarioScreen:, PlayerEntity(Contracts)::setGuiToShipyardScreen:, PlayerEntity(StickMapper)::setGuiToStickMapperScreen:resetCurrentRow:, PlayerEntity::setGuiToSystemDataScreenRefreshBackground:, and StickProfileScreen(StickProfileInternal)::showScreen.
- (void) setGLColorFromSetting: | (NSString *) | setting | |
defaultValue: | (OOColor *) | def | |
alpha: | (GLfloat) | alpha |
Definition at line 412 of file GuiDisplayGen.m.
References alpha, colorFromSetting:defaultValue:, OOColor::getRed:green:blue:alpha:, and OOGL.
Referenced by GuiDisplayGen(Internal)::drawAdvancedNavArrayAtX:y:z:alpha:usingRoute:optimizedBy:zoom:, GuiDisplayGen(Internal)::drawEquipmentList:z:, GuiDisplayGen(Internal)::drawGLDisplay:x:y:z:, and GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:.
- (void) setGuiColorSettingFromKey: | (NSString *) | key | |
color: | (OOColor *) | col |
Definition at line 422 of file GuiDisplayGen.m.
References guiUserSettings, and nil.
Referenced by GlobalSetGuiColorSettingForKey().
- (void) setKey: | (NSString *) | str | |
forRow: | (OOGUIRow) | row |
Definition at line 669 of file GuiDisplayGen.m.
References RowInRange(), and rowRange.
Referenced by clearAndKeepBackground:, PlayerEntity(StickMapperInternal)::displayFunctionList:skip:, PlayerEntity(KeyMapperInternal)::displayKeyboardLayoutList:skip:, PlayerEntity(KeyMapperInternal)::displayKeyFunctionList:skip:, GuiDisplayGen(Internal)::drawEquipmentList:z:, OOOXZManager::gui, PlayerEntity(OOControlsPrivate)::handleGameOptionsScreenKeys, insertItemsFromArray:withKeys:intoRow:color:, PlayerEntity(OOLoadSavePrivate)::lsCommanders:directory:pageNumber:highlightName:, PlayerEntity(KeyMapper)::outputKeyDefinition:shift:mod1:mod2:skiprows:, printLineNoScroll:align:color:fadeTime:key:addToArray:, printLongText:align:color:fadeTime:key:addToArray:, PlayerEntity(KeyMapper)::setGuiToConfirmClearScreen, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToGameOptionsScreen, PlayerEntity::setGuiToInterfacesScreen:, PlayerEntity(KeyMapper)::setGuiToKeyConfigScreen:, PlayerEntity(KeyMapper)::setGuiToKeyMapperScreen:resetCurrentRow:, PlayerEntity::setGuiToLoadSaveScreen, PlayerEntity(Contracts)::setGuiToManifestScreen, PlayerEntity::setGuiToMarketScreen, PlayerEntity(Scripting)::setGuiToMissionScreenWithCallback:, PlayerEntity(OOLoadSavePrivate)::setGuiToOverwriteScreen:, PlayerEntity(LoadSave)::setGuiToScenarioScreen:, PlayerEntity(Contracts)::setGuiToShipyardScreen:, PlayerEntity(StickMapper)::setGuiToStickMapperScreen:resetCurrentRow:, PlayerEntity(Scripting)::setMissionChoicesDictionary:, PlayerEntity::setupStartScreenGui, OOOXZManager::showInstallOptions, PlayerEntity(OOPrivate)::showMarketScreenDataLine:forGood:inMarket:holdQuantity:, OOOXZManager::showRemoveOptions, and StickProfileScreen(StickProfileInternal)::showScreen.
- (BOOL) setLastSelectableRow |
Definition at line 547 of file GuiDisplayGen.m.
References GUI_KEY_SKIP, RowInRange(), rowKey, selectableRange, selectedRow, and setLastSelectableRow.
Referenced by selectedRow, and setLastSelectableRow.
- (void) setMaxAlpha: | (GLfloat) | an_alpha |
Definition at line 351 of file GuiDisplayGen.m.
References max_alpha.
Referenced by HeadUpDisplay(Private)::resetGui:withInfo:.
- (BOOL) setNextRow: | (int) | direction |
Definition at line 514 of file GuiDisplayGen.m.
References GUI_KEY_SKIP, RowInRange(), rowKey, selectableRange, and selectedRow.
- (void) setNoSelectedRow |
Definition at line 564 of file GuiDisplayGen.m.
References selectedRow, and setNoSelectedRow.
Referenced by selectedRow, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToInterfacesScreen:, PlayerEntity(Contracts)::setGuiToShipyardScreen:, and setNoSelectedRow.
- (void) setSelectableRange: | (NSRange) | range |
Definition at line 615 of file GuiDisplayGen.m.
References selectableRange.
Referenced by clearAndKeepBackground:, PlayerEntity(StickMapperInternal)::displayFunctionList:skip:, PlayerEntity(KeyMapperInternal)::displayKeyboardLayoutList:skip:, PlayerEntity(KeyMapperInternal)::displayKeyFunctionList:skip:, GuiDisplayGen(Internal)::drawEquipmentList:z:, OOOXZManager::gui, PlayerEntity(OOLoadSavePrivate)::lsCommanders:directory:pageNumber:highlightName:, PlayerEntity(KeyMapper)::setGuiToConfirmClearScreen, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToGameOptionsScreen, PlayerEntity::setGuiToInterfacesScreen:, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, PlayerEntity(KeyMapper)::setGuiToKeyConfigScreen:, PlayerEntity::setGuiToLoadSaveScreen, PlayerEntity(Contracts)::setGuiToManifestScreen, PlayerEntity::setGuiToMarketScreen, PlayerEntity(Scripting)::setGuiToMissionScreenWithCallback:, PlayerEntity(OOLoadSavePrivate)::setGuiToOverwriteScreen:, PlayerEntity(LoadSave)::setGuiToScenarioScreen:, PlayerEntity(Contracts)::setGuiToShipyardScreen:, PlayerEntity(Scripting)::setMissionChoicesDictionary:, PlayerEntity::setupStartScreenGui, and StickProfileScreen(StickProfileInternal)::showScreen.
- (BOOL) setSelectedRow: | (OOGUIRow) | row |
Definition at line 498 of file GuiDisplayGen.m.
References GUI_KEY_SKIP, RowInRange(), rowKey, selectableRange, and selectedRow.
Referenced by PlayerEntity::activateSelectedInterface, PlayerEntity::buySelectedItem, GuiDisplayGen(Internal)::drawEquipmentList:z:, OOOXZManager::gui, PlayerEntity(OOControlsPrivate)::handleGameOptionsScreenKeys, PlayerEntity::highlightEquipShipScreenKey:, PlayerEntity(OOLoadSavePrivate)::lsCommanders:directory:pageNumber:highlightName:, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, PlayerEntity(OOControlsPrivate)::pollGuiScreenControlsWithFKeyAlias:, OOOXZManager::processShowInfoKey, PlayerEntity(KeyMapper)::setGuiToConfirmClearScreen, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToGameOptionsScreen, PlayerEntity::setGuiToInterfacesScreen:, PlayerEntity(KeyMapper)::setGuiToKeyboardLayoutScreen:resetCurrentRow:, PlayerEntity(KeyMapper)::setGuiToKeyConfigScreen:, PlayerEntity(KeyMapper)::setGuiToKeyMapperScreen:resetCurrentRow:, PlayerEntity::setGuiToLoadSaveScreen, PlayerEntity(Contracts)::setGuiToManifestScreen, PlayerEntity::setGuiToMarketScreen, PlayerEntity(OOLoadSavePrivate)::setGuiToOverwriteScreen:, PlayerEntity(LoadSave)::setGuiToScenarioScreen:, PlayerEntity(StickMapper)::setGuiToStickMapperScreen:resetCurrentRow:, PlayerEntity(Scripting)::setMissionChoicesDictionary:, PlayerEntity::setupStartScreenGui, OOOXZManager::showInstallOptions, OOOXZManager::showRemoveOptions, and StickProfileScreen::startGui:.
- (void) setShowAdvancedNavArray: | (BOOL) | inFlag |
Definition at line 445 of file GuiDisplayGen.m.
References showAdvancedNavArray.
- (void) setShowTextCursor: | (BOOL) | yesno |
Definition at line 589 of file GuiDisplayGen.m.
References showTextCursor.
Referenced by clearAndKeepBackground:, PlayerEntity(Scripting)::refreshMissionScreenTextEntry, PlayerEntity::setGuiToChartScreenFrom:, PlayerEntity(Contracts)::setGuiToDockingReportScreen, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToGameOptionsScreen, PlayerEntity::setGuiToInterfacesScreen:, PlayerEntity::setGuiToIntroFirstGo:, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, PlayerEntity::setGuiToLoadSaveScreen, PlayerEntity(Contracts)::setGuiToManifestScreen, PlayerEntity::setGuiToMarketScreen, PlayerEntity(Scripting)::setGuiToMissionScreenWithCallback:, PlayerEntity(OOLoadSavePrivate)::setGuiToSaveCommanderScreen:, PlayerEntity(Contracts)::setGuiToShipyardScreen:, PlayerEntity::setGuiToStatusScreen, and PlayerEntity::setGuiToSystemDataScreenRefreshBackground:.
- (void) setStarChartTitle |
Definition at line 1719 of file GuiDisplayGen.m.
References PlayerEntity::cursor_coordinates, PlayerEntity::galaxyNumber, nil, PLAYER, setStarChartTitle, setTitle:, and UNIVERSE.
Referenced by PlayerEntity::setGuiToChartScreenFrom:, setStarChartTitle, and statusPage.
- (void) setStatusPage: | (NSInteger) | pageNum |
Definition at line 1203 of file GuiDisplayGen.m.
References statusPage.
Referenced by PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, PlayerEntity(Contracts)::setGuiToManifestScreen, and PlayerEntity::setGuiToStatusScreen.
- (void) setTabStops: | (OOGUITabSettings) | stops |
Definition at line 621 of file GuiDisplayGen.m.
References tabStops.
Referenced by GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, PlayerEntity(OOLoadSavePrivate)::lsCommanders:directory:pageNumber:highlightName:, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToInterfacesScreen:, PlayerEntity(KeyMapper)::setGuiToKeyboardLayoutScreen:resetCurrentRow:, PlayerEntity(KeyMapper)::setGuiToKeyConfigScreen:, PlayerEntity(KeyMapper)::setGuiToKeyMapperScreen:resetCurrentRow:, PlayerEntity(Contracts)::setGuiToManifestScreen, PlayerEntity(LoadSave)::setGuiToScenarioScreen:, PlayerEntity(Contracts)::setGuiToShipyardScreen:, PlayerEntity::setGuiToStatusScreen, PlayerEntity(StickMapper)::setGuiToStickMapperScreen:resetCurrentRow:, PlayerEntity::setGuiToSystemDataScreenRefreshBackground:, OOOXZManager::showInstallOptions, PlayerEntity(OOPrivate)::showMarketScreenHeaders, OOOXZManager::showRemoveOptions, and StickProfileScreen(StickProfileInternal)::showScreen.
- (void) setText: | (NSString *) | str | |
forRow: | (OOGUIRow) | row |
Definition at line 676 of file GuiDisplayGen.m.
References RowInRange(), and rowRange.
Referenced by PlayerEntity(Contracts)::buySelectedShip, GuiDisplayGen(Internal)::drawEquipmentList:z:, PlayerEntity(KeyMapper)::handleKeyConfigEntryKeys:view:, insertItemsFromArray:withKeys:intoRow:color:, PlayerEntity(LoadSave)::saveCommanderInputHandler, PlayerEntity::setGuiToChartScreenFrom:, PlayerEntity(Contracts)::setGuiToDockingReportScreen, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToInterfacesScreen:, PlayerEntity(KeyMapper)::setGuiToKeyConfigScreen:, PlayerEntity::setGuiToMarketInfoScreen, PlayerEntity::setGuiToMarketScreen, PlayerEntity(OOLoadSavePrivate)::setGuiToSaveCommanderScreen:, PlayerEntity(LoadSave)::setGuiToScenarioScreen:, PlayerEntity::setGuiToStatusScreen, PlayerEntity(Contracts)::setManifestScreenRow:inColor:forRow:ofRows:andOffset:inMultipage:, PlayerEntity(Scripting)::setMissionChoicesDictionary:, PlayerEntity::showInformationForSelectedInterface, PlayerEntity::showInformationForSelectedUpgradeWithFormatString:, OOOXZManager::showInstallOptions, PlayerEntity(OOPrivate)::showMarketCashAndLoadLine, OOOXZManager::showRemoveOptions, PlayerEntity(LoadSave)::showScenarioDetails, StickProfileScreen(StickProfileInternal)::showScreen, PlayerEntity(Contracts)::showShipyardInfoForSelection, and PlayerEntity(Contracts)::showTradeInInformationFooter.
- (void) setText: | (NSString *) | str | |
forRow: | (OOGUIRow) | row | |
align: | (OOGUIAlignment) | alignment |
Definition at line 685 of file GuiDisplayGen.m.
References nil, rowAlignment, RowInRange(), and rowRange.
Referenced by addLongText:startingAtRow:align:, clearAndKeepBackground:, PlayerEntity(LoadSave)::commanderSelector, OOOXZManager::gui, PlayerEntity(OOControlsPrivate)::handleGameOptionsScreenKeys, PlayerEntity(OOLoadSavePrivate)::lsCommanders:directory:pageNumber:highlightName:, printLineNoScroll:align:color:fadeTime:key:addToArray:, printLongText:align:color:fadeTime:key:addToArray:, OOOXZManager::processShowInfoKey, PlayerEntity(Scripting)::refreshMissionScreenTextEntry, OOOXZManager::refreshTextInput:, PlayerEntity(LoadSave)::saveCommanderInputHandler, PlayerEntity(KeyMapper)::setGuiToConfirmClearScreen, PlayerEntity(Contracts)::setGuiToDockingReportScreen, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToGameOptionsScreen, PlayerEntity::setGuiToInterfacesScreen:, PlayerEntity::setGuiToIntroFirstGo:, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, PlayerEntity(KeyMapper)::setGuiToKeyConfigScreen:, PlayerEntity(KeyMapper)::setGuiToKeyMapperScreen:resetCurrentRow:, PlayerEntity::setGuiToLoadSaveScreen, PlayerEntity(Scripting)::setGuiToMissionScreenWithCallback:, PlayerEntity(OOLoadSavePrivate)::setGuiToOverwriteScreen:, PlayerEntity(Contracts)::setGuiToShipyardScreen:, PlayerEntity::setGuiToStatusScreen, PlayerEntity(StickMapper)::setGuiToStickMapperScreen:resetCurrentRow:, PlayerEntity(Scripting)::setMissionChoicesDictionary:, PlayerEntity::setupStartScreenGui, PlayerEntity(OOLoadSavePrivate)::showCommanderShip:, OOOXZManager::showInstallOptions, and OOOXZManager::showRemoveOptions.
- (void) setTextColor: | (OOColor*) | color |
Definition at line 371 of file GuiDisplayGen.m.
References nil, textColor, and OOColor::yellowColor.
Referenced by Universe::resetCommsLogColor, HeadUpDisplay::resetGuis:, and Universe::setUpSettings.
- (void) setTextCommsColor: | (OOColor*) | color |
Definition at line 385 of file GuiDisplayGen.m.
References nil, textCommsColor, and OOColor::yellowColor.
Referenced by HeadUpDisplay::resetGuis:.
- (void) setTitle: | (NSString *) | str |
Definition at line 291 of file GuiDisplayGen.m.
Referenced by clearAndKeepBackground:, OOOXZManager::gui, OOOXZManager::processShowInfoKey, resizeTo:characterHeight:title:, resizeWithPixelSize:columns:rows:rowHeight:rowStart:title:, PlayerEntity(KeyMapper)::setGuiToConfirmClearScreen, PlayerEntity(Contracts)::setGuiToDockingReportScreen, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToGameOptionsScreen, PlayerEntity::setGuiToInterfacesScreen:, PlayerEntity::setGuiToIntroFirstGo:, PlayerEntity(KeyMapper)::setGuiToKeyboardLayoutScreen:resetCurrentRow:, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, PlayerEntity(KeyMapper)::setGuiToKeyConfigScreen:, PlayerEntity(KeyMapper)::setGuiToKeyMapperScreen:resetCurrentRow:, PlayerEntity(OOLoadSavePrivate)::setGuiToLoadCommanderScreen, PlayerEntity::setGuiToLoadSaveScreen, PlayerEntity(Contracts)::setGuiToManifestScreen, PlayerEntity::setGuiToMarketInfoScreen, PlayerEntity::setGuiToMarketScreen, PlayerEntity(Scripting)::setGuiToMissionScreenWithCallback:, PlayerEntity(OOLoadSavePrivate)::setGuiToOverwriteScreen:, PlayerEntity(OOLoadSavePrivate)::setGuiToSaveCommanderScreen:, PlayerEntity(LoadSave)::setGuiToScenarioScreen:, PlayerEntity(Contracts)::setGuiToShipyardScreen:, PlayerEntity::setGuiToStatusScreen, PlayerEntity(StickMapper)::setGuiToStickMapperScreen:resetCurrentRow:, PlayerEntity::setGuiToSystemDataScreenRefreshBackground:, setStarChartTitle, PlayerEntity::setupStartScreenGui, and StickProfileScreen::startGui:.
- (NSSize) size |
Definition at line 255 of file GuiDisplayGen.m.
References size, and size_in_pixels.
Referenced by NewTextureSpriteWithDescriptor, reflowTextForMFD:, HeadUpDisplay(Private)::resetGui:withInfo:, and size.
- (NSUInteger) statusPage |
References refreshStarChart, setStarChartTitle, and statusPage.
- (void) stopFadeOuts |
Definition at line 333 of file GuiDisplayGen.m.
References fade_sign, and stopFadeOuts.
Referenced by drawPosition, HeadUpDisplay::resetGuis:, and stopFadeOuts.
- (OOSystemID) targetNextFoundSystem: | (int) | direction |
Definition at line 2417 of file GuiDisplayGen.m.
References count, foundSystem, kOOMaximumSystemID, and PLAYER.
- (OOColor *) textCommsColor |
References textCommsColor.
- (NSDictionary *) textureDescriptorFromJSValue: | (jsval) | value | |
inContext: | (JSContext *) | context | |
callerDescription: | (NSString *) | callerDescription |
Definition at line 1158 of file GuiDisplayGen.m.
References nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJSDictionaryFromJSObject(), OOJSGetClass(), OOJSReportWarning(), and OOStringFromJSValue().
Referenced by GlobalSetScreenBackground(), GlobalSetScreenBackgroundForKey(), and GlobalSetScreenOverlay().
|
implementation |
Definition at line 988 of file GuiDisplayGen.m.
References kOOTextureSRGBA, OOTexture::textureWithName:inFolder:options:anisotropy:lodBias:, and UNIVERSE.
Referenced by NewTextureSpriteWithDescriptor, and preloadGUITexture:.
- (NSDictionary *) userSettings |
Definition at line 314 of file GuiDisplayGen.m.
References guiUserSettings, and userSettings.
Referenced by drawPosition, PlayerEntity::equipmentList, Universe::setUpSettings, and userSettings.
|
private |
Definition at line 183 of file GuiDisplayGen.h.
Referenced by setBackgroundColor:.
|
private |
Definition at line 189 of file GuiDisplayGen.h.
Referenced by drawGUI:drawCursor:, init, setBackgroundTextureDescriptor:, and setBackgroundTextureSpecial:withBackground:.
|
private |
Definition at line 187 of file GuiDisplayGen.h.
Referenced by drawGUIBackground, and setBackgroundTextureDescriptor:.
|
private |
Definition at line 213 of file GuiDisplayGen.h.
Referenced by printLongText:align:color:fadeTime:key:addToArray:, resizeTo:characterHeight:title:, and setCurrentRow:.
|
private |
Definition at line 308 of file GuiDisplayGen.m.
Referenced by drawGUI:drawCursor:, drawGUIBackground, drawPosition, init, HeadUpDisplay(Private)::resetGuiPosition:withInfo:, and setDrawPosition:.
|
private |
Definition at line 216 of file GuiDisplayGen.h.
Referenced by alpha, drawGUI:drawCursor:, fadeOutFromTime:overDuration:, and setAlpha:.
|
private |
Definition at line 217 of file GuiDisplayGen.h.
Referenced by drawGUI:drawCursor:, fadeOutFromTime:overDuration:, and stopFadeOuts.
|
private |
Definition at line 188 of file GuiDisplayGen.h.
Referenced by setForegroundTextureDescriptor:.
|
private |
Definition at line 219 of file GuiDisplayGen.h.
Referenced by targetNextFoundSystem:.
|
private |
Definition at line 205 of file GuiDisplayGen.h.
Referenced by init, setGuiColorSettingFromKey:color:, and userSettings.
|
private |
Definition at line 215 of file GuiDisplayGen.h.
Referenced by drawGUI:drawCursor:, init, initWithPixelSize:columns:rows:rowHeight:rowStart:title:, setAlpha:, and setMaxAlpha:.
|
private |
Definition at line 172 of file GuiDisplayGen.h.
Referenced by columns, init, initWithPixelSize:columns:rows:rowHeight:rowStart:title:, resizeTo:characterHeight:title:, and resizeWithPixelSize:columns:rows:rowHeight:rowStart:title:.
|
private |
Definition at line 173 of file GuiDisplayGen.h.
Referenced by clearAndKeepBackground:, getLastLines, init, initWithPixelSize:columns:rows:rowHeight:rowStart:title:, insertItemsFromArray:withKeys:intoRow:color:, leaveLastLine, printLongText:align:color:fadeTime:key:addToArray:, resizeTo:characterHeight:title:, resizeWithPixelSize:columns:rows:rowHeight:rowStart:title:, rows, scrollUp:, and setCurrentRow:.
|
private |
Definition at line 174 of file GuiDisplayGen.h.
Referenced by init, initWithPixelSize:columns:rows:rowHeight:rowStart:title:, resizeTo:characterHeight:title:, and resizeWithPixelSize:columns:rows:rowHeight:rowStart:title:.
|
private |
Definition at line 175 of file GuiDisplayGen.h.
Referenced by drawGUI:drawCursor:, init, initWithPixelSize:columns:rows:rowHeight:rowStart:title:, resizeTo:characterHeight:title:, resizeWithPixelSize:columns:rows:rowHeight:rowStart:title:, and rowHeight.
|
private |
Definition at line 176 of file GuiDisplayGen.h.
Referenced by drawGUI:drawCursor:, init, initWithPixelSize:columns:rows:rowHeight:rowStart:title:, resizeTo:characterHeight:title:, resizeWithPixelSize:columns:rows:rowHeight:rowStart:title:, and rowStart.
|
private |
Definition at line 177 of file GuiDisplayGen.h.
Referenced by addLongText:startingAtRow:align:, init, initWithPixelSize:columns:rows:rowHeight:rowStart:title:, printLongText:align:color:fadeTime:key:addToArray:, reflowTextForMFD:, resizeTo:characterHeight:title:, resizeWithPixelSize:columns:rows:rowHeight:rowStart:title:, and setCharacterSize:.
|
private |
Definition at line 181 of file GuiDisplayGen.h.
Referenced by init, initWithPixelSize:columns:rows:rowHeight:rowStart:title:, resizeTo:characterHeight:title:, and resizeWithPixelSize:columns:rows:rowHeight:rowStart:title:.
|
private |
Definition at line 200 of file GuiDisplayGen.h.
Referenced by init, initWithPixelSize:columns:rows:rowHeight:rowStart:title:, leaveLastLine, resizeTo:characterHeight:title:, scrollUp:, and setText:forRow:align:.
|
private |
Definition at line 195 of file GuiDisplayGen.h.
Referenced by init, and initWithPixelSize:columns:rows:rowHeight:rowStart:title:.
|
private |
Definition at line 201 of file GuiDisplayGen.h.
Referenced by clearAndKeepBackground:, leaveLastLine, printLineNoScroll:align:color:fadeTime:key:addToArray:, printLongText:align:color:fadeTime:key:addToArray:, and scrollUp:.
|
private |
Definition at line 194 of file GuiDisplayGen.h.
Referenced by init, initWithPixelSize:columns:rows:rowHeight:rowStart:title:, rowForKey:, selectedRowKey, setFirstSelectableRow, setLastSelectableRow, setNextRow:, and setSelectedRow:.
|
private |
Definition at line 199 of file GuiDisplayGen.h.
Referenced by init, initWithPixelSize:columns:rows:rowHeight:rowStart:title:, and resizeTo:characterHeight:title:.
|
private |
Definition at line 207 of file GuiDisplayGen.h.
Referenced by init, initWithPixelSize:columns:rows:rowHeight:rowStart:title:, keyForRow:, objectForRow:, resizeTo:characterHeight:title:, resizeWithPixelSize:columns:rows:rowHeight:rowStart:title:, setArray:forRow:, setColor:forRow:, setKey:forRow:, setText:forRow:, and setText:forRow:align:.
|
private |
Definition at line 193 of file GuiDisplayGen.h.
Referenced by init, initWithPixelSize:columns:rows:rowHeight:rowStart:title:, and selectedRowText.
|
private |
Definition at line 609 of file GuiDisplayGen.m.
Referenced by selectableRange, setFirstSelectableRow, setLastSelectableRow, setNextRow:, setSelectableRange:, and setSelectedRow:.
|
private |
Definition at line 489 of file GuiDisplayGen.m.
Referenced by PlayerEntity(Contracts)::buySelectedShip, PlayerEntity(LoadSave)::commanderSelector, PlayerEntity(OOControlsPrivate)::handleGameOptionsScreenKeys, PlayerEntity(KeyMapper)::handleKeyboardLayoutEntryKeys:view:, PlayerEntity(OOControlsPrivate)::handleKeyboardLayoutKeys, PlayerEntity(KeyMapper)::handleKeyConfigKeys:view:, PlayerEntity(OOControlsPrivate)::handleKeyMapperScreenKeys, PlayerEntity(OOControlsPrivate)::handleStickMapperScreenKeys, PlayerEntity(KeyMapper)::keyMapperInputHandler:view:, PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, OOOXZManager::processExtractKey, OOOXZManager::processSelection, OOOXZManager::processShowInfoKey, PlayerEntity(LoadSave)::saveCommanderInputHandler, selectedRow, selectedRowKey, selectedRowText, setFirstSelectableRow, PlayerEntity::setGuiToMarketScreen, setLastSelectableRow, setNextRow:, setNoSelectedRow, setSelectedRow:, PlayerEntity(Contracts)::showShipyardInfoForSelection, and PlayerEntity(StickMapper)::stickMapperInputHandler:view:.
|
private |
Definition at line 179 of file GuiDisplayGen.h.
Referenced by setShowAdvancedNavArray:.
|
private |
Definition at line 212 of file GuiDisplayGen.h.
Referenced by setCurrentRow:, and setShowTextCursor:.
|
private |
Definition at line 171 of file GuiDisplayGen.h.
Referenced by addLongText:startingAtRow:align:, drawGUI:drawCursor:, init, initWithPixelSize:columns:rows:rowHeight:rowStart:title:, printLongText:align:color:fadeTime:key:addToArray:, resizeTo:characterHeight:title:, resizeWithPixelSize:columns:rows:rowHeight:rowStart:title:, and size.
|
private |
Definition at line 1216 of file GuiDisplayGen.m.
Referenced by PlayerEntity(Contracts)::setGuiToManifestScreen, setStatusPage:, and statusPage.
|
private |
Definition at line 203 of file GuiDisplayGen.h.
Referenced by init, and setTabStops:.
|
private |
Definition at line 364 of file GuiDisplayGen.m.
Referenced by Universe::addMessage:forCount:forceDisplay:, colorFromSetting:defaultValue:, Universe::displayCountdownMessage:forCount:, Universe::displayMessage:forCount:, init, initWithPixelSize:columns:rows:rowHeight:rowStart:title:, setTextColor:, and textColor.
|
private |
Definition at line 379 of file GuiDisplayGen.m.
Referenced by Universe::addCommsMessage:forCount:andShowComms:logOnly:, setTextCommsColor:, and textCommsColor.
|
private |
Definition at line 285 of file GuiDisplayGen.m.
Referenced by init, initWithPixelSize:columns:rows:rowHeight:rowStart:title:, HeadUpDisplay(Private)::resetGui:withInfo:, resizeTo:characterHeight:title:, setTitle:, and title.