mirror of
https://github.com/glest/glest-source.git
synced 2025-08-20 07:01:21 +02:00
- bugfix for mod menu fonts when using ftgl
This commit is contained in:
@@ -93,7 +93,7 @@ MenuStateMods::MenuStateMods(Program *program, MainMenu *mainMenu) :
|
|||||||
keyTechScrollBarTitle1.init(techInfoXPos,scrollListsYPos + 20,labelWidth,20);
|
keyTechScrollBarTitle1.init(techInfoXPos,scrollListsYPos + 20,labelWidth,20);
|
||||||
keyTechScrollBarTitle1.setText(lang.get("TechTitle1"));
|
keyTechScrollBarTitle1.setText(lang.get("TechTitle1"));
|
||||||
keyTechScrollBarTitle1.setFont(CoreData::getInstance().getMenuFontBig());
|
keyTechScrollBarTitle1.setFont(CoreData::getInstance().getMenuFontBig());
|
||||||
keyTechScrollBarTitle1.setFont3D(CoreData::getInstance().getMenuFontNormal3D());
|
keyTechScrollBarTitle1.setFont3D(CoreData::getInstance().getMenuFontBig3D());
|
||||||
keyTechScrollBarTitle2.registerGraphicComponent(containerName,"keyTechScrollBarTitle2");
|
keyTechScrollBarTitle2.registerGraphicComponent(containerName,"keyTechScrollBarTitle2");
|
||||||
keyTechScrollBarTitle2.init(techInfoXPos + 200,scrollListsYPos + 20,labelWidth,20);
|
keyTechScrollBarTitle2.init(techInfoXPos + 200,scrollListsYPos + 20,labelWidth,20);
|
||||||
keyTechScrollBarTitle2.setText(lang.get("TechTitle2"));
|
keyTechScrollBarTitle2.setText(lang.get("TechTitle2"));
|
||||||
@@ -105,7 +105,7 @@ MenuStateMods::MenuStateMods(Program *program, MainMenu *mainMenu) :
|
|||||||
keyMapScrollBarTitle1.init(mapInfoXPos,scrollListsYPos + 20,labelWidth,20);
|
keyMapScrollBarTitle1.init(mapInfoXPos,scrollListsYPos + 20,labelWidth,20);
|
||||||
keyMapScrollBarTitle1.setText(lang.get("MapTitle1"));
|
keyMapScrollBarTitle1.setText(lang.get("MapTitle1"));
|
||||||
keyMapScrollBarTitle1.setFont(CoreData::getInstance().getMenuFontBig());
|
keyMapScrollBarTitle1.setFont(CoreData::getInstance().getMenuFontBig());
|
||||||
keyMapScrollBarTitle1.setFont3D(CoreData::getInstance().getMenuFontNormal3D());
|
keyMapScrollBarTitle1.setFont3D(CoreData::getInstance().getMenuFontBig3D());
|
||||||
keyMapScrollBarTitle2.registerGraphicComponent(containerName,"keyMapScrollBarTitle2");
|
keyMapScrollBarTitle2.registerGraphicComponent(containerName,"keyMapScrollBarTitle2");
|
||||||
keyMapScrollBarTitle2.init(mapInfoXPos + 200,scrollListsYPos + 20,labelWidth,20);
|
keyMapScrollBarTitle2.init(mapInfoXPos + 200,scrollListsYPos + 20,labelWidth,20);
|
||||||
keyMapScrollBarTitle2.setText(lang.get("MapTitle2"));
|
keyMapScrollBarTitle2.setText(lang.get("MapTitle2"));
|
||||||
@@ -117,14 +117,14 @@ MenuStateMods::MenuStateMods(Program *program, MainMenu *mainMenu) :
|
|||||||
keyTilesetScrollBarTitle1.init(tilesetInfoXPos,scrollListsYPos + 20,labelWidth,20);
|
keyTilesetScrollBarTitle1.init(tilesetInfoXPos,scrollListsYPos + 20,labelWidth,20);
|
||||||
keyTilesetScrollBarTitle1.setText(lang.get("TilesetTitle1"));
|
keyTilesetScrollBarTitle1.setText(lang.get("TilesetTitle1"));
|
||||||
keyTilesetScrollBarTitle1.setFont(CoreData::getInstance().getMenuFontBig());
|
keyTilesetScrollBarTitle1.setFont(CoreData::getInstance().getMenuFontBig());
|
||||||
keyTilesetScrollBarTitle1.setFont3D(CoreData::getInstance().getMenuFontNormal3D());
|
keyTilesetScrollBarTitle1.setFont3D(CoreData::getInstance().getMenuFontBig3D());
|
||||||
|
|
||||||
scenarioInfoXPos = 760;
|
scenarioInfoXPos = 760;
|
||||||
keyScenarioScrollBarTitle1.registerGraphicComponent(containerName,"keyScenarioScrollBarTitle1");
|
keyScenarioScrollBarTitle1.registerGraphicComponent(containerName,"keyScenarioScrollBarTitle1");
|
||||||
keyScenarioScrollBarTitle1.init(scenarioInfoXPos,scrollListsYPos + 20,labelWidth,20);
|
keyScenarioScrollBarTitle1.init(scenarioInfoXPos,scrollListsYPos + 20,labelWidth,20);
|
||||||
keyScenarioScrollBarTitle1.setText(lang.get("ScenarioTitle1"));
|
keyScenarioScrollBarTitle1.setText(lang.get("ScenarioTitle1"));
|
||||||
keyScenarioScrollBarTitle1.setFont(CoreData::getInstance().getMenuFontBig());
|
keyScenarioScrollBarTitle1.setFont(CoreData::getInstance().getMenuFontBig());
|
||||||
keyScenarioScrollBarTitle1.setFont3D(CoreData::getInstance().getMenuFontNormal3D());
|
keyScenarioScrollBarTitle1.setFont3D(CoreData::getInstance().getMenuFontBig3D());
|
||||||
|
|
||||||
mainMessageBoxState = ftpmsg_None;
|
mainMessageBoxState = ftpmsg_None;
|
||||||
mainMessageBox.registerGraphicComponent(containerName,"mainMessageBox");
|
mainMessageBox.registerGraphicComponent(containerName,"mainMessageBox");
|
||||||
|
Reference in New Issue
Block a user