1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-27 04:10:24 +00:00

Improve postprocess HUD layout

This commit is contained in:
Andrei Kortunov 2022-11-08 23:29:25 +04:00
parent a2053a625e
commit da5b442fcf
8 changed files with 89 additions and 87 deletions

View file

@ -42,7 +42,6 @@ namespace MWGui
PostProcessorHud::PostProcessorHud() PostProcessorHud::PostProcessorHud()
: WindowBase("openmw_postprocessor_hud.layout") : WindowBase("openmw_postprocessor_hud.layout")
{ {
getWidget(mTabConfiguration, "TabConfiguration");
getWidget(mActiveList, "ActiveList"); getWidget(mActiveList, "ActiveList");
getWidget(mInactiveList, "InactiveList"); getWidget(mInactiveList, "InactiveList");
getWidget(mConfigLayout, "ConfigLayout"); getWidget(mConfigLayout, "ConfigLayout");

View file

@ -80,8 +80,6 @@ namespace MWGui
void layout(); void layout();
MyGUI::TabItem* mTabConfiguration;
ListWrapper* mActiveList; ListWrapper* mActiveList;
ListWrapper* mInactiveList; ListWrapper* mInactiveList;

View file

@ -1,6 +1,5 @@
Abovewater: "Überwasser" Abovewater: "Überwasser"
Author: "Autor" Author: "Autor"
Configuration: "Konfiguration"
Description: "Beschreibung" Description: "Beschreibung"
InExteriors: "Außenbereich" InExteriors: "Außenbereich"
InInteriors: "Innenbereich" InInteriors: "Innenbereich"

View file

@ -1,7 +1,8 @@
Abovewater: "Abovewater" Abovewater: "Abovewater"
ActiveShaders: "Active Shaders"
Author: "Author" Author: "Author"
Configuration: "Configuration"
Description: "Description" Description: "Description"
InactiveShaders: "Inactive Shaders"
InExteriors: "Exteriors" InExteriors: "Exteriors"
InInteriors: "Interiors" InInteriors: "Interiors"
KeyboardControls: | KeyboardControls: |

View file

@ -1,6 +1,5 @@
Abovewater: "Hors de l'eau" Abovewater: "Hors de l'eau"
Author: "Auteur(e)" Author: "Auteur(e)"
Configuration: "Configuration"
Description: "Description" Description: "Description"
InExteriors: "À l'extérieur" InExteriors: "À l'extérieur"
InInteriors: "En intérieur" InInteriors: "En intérieur"

View file

@ -1,7 +1,8 @@
Abovewater: "Над водой" Abovewater: "Над водой"
ActiveShaders: "Включенные шейдеры"
Author: "Автор" Author: "Автор"
Configuration: "Настройки"
Description: "Описание" Description: "Описание"
InactiveShaders: "Выключенные шейдеры"
InExteriors: "Вне помещений" InExteriors: "Вне помещений"
InInteriors: "В помещениях" InInteriors: "В помещениях"
KeyboardControls: | KeyboardControls: |

View file

@ -1,6 +1,5 @@
Abovewater: "Ovan vatten" Abovewater: "Ovan vatten"
Author: "Skapare" # Author = Författare, but författare sounds very book-author-ish. Skapare, meaning "creator", sounds better in Swedish in this case. Ok? Author: "Skapare" # Author = Författare, but författare sounds very book-author-ish. Skapare, meaning "creator", sounds better in Swedish in this case. Ok?
Configuration: "Konfiguration"
Description: "Beskrivning" Description: "Beskrivning"
InExteriors: "Exteriörer" InExteriors: "Exteriörer"
InInteriors: "Interiörer" InInteriors: "Interiörer"

View file

@ -13,11 +13,9 @@
<UserString key="ToolTipType" value="Layout"/> <UserString key="ToolTipType" value="Layout"/>
<UserString key="ToolTipLayout" value="TextToolTip"/> <UserString key="ToolTipLayout" value="TextToolTip"/>
<UserString key="Caption_Text" value="#{PostProcessing:KeyboardControls}"/> <UserString key="Caption_Text" value="#{PostProcessing:KeyboardControls}"/>
<Property key="Depth" value="-10"/>
</Widget> </Widget>
<Widget type="TabItem" skin="" position_real="0 0 1 1" name="TabConfiguration">
<Property key="Caption" value="#{PostProcessing:Configuration}"/>
<Widget type="VBox" position_real="0 0.02 1 0.98" align="Stretch" name="Layout"> <Widget type="VBox" position_real="0 0.02 1 0.98" align="Stretch" name="Layout">
<Property key="Padding" value="0"/> <Property key="Padding" value="0"/>
<Property key="Spacing" value="8"/> <Property key="Spacing" value="8"/>
@ -35,6 +33,10 @@
<UserString key="HStretch" value="true"/> <UserString key="HStretch" value="true"/>
<Widget type="VBox" position_real="0 0 1 1" align="Stretch"> <Widget type="VBox" position_real="0 0 1 1" align="Stretch">
<Widget type="AutoSizedTextBox" skin="NormalText" position="0 0 50 50" align="Top Right">
<Property key="Caption" value="#{PostProcessing:InactiveShaders}"/>
</Widget>
<Widget type="EditBox" skin="MW_TextBoxEditWithBorder" position="0 0 0 28" name="Filter"> <Widget type="EditBox" skin="MW_TextBoxEditWithBorder" position="0 0 0 28" name="Filter">
<UserString key="HStretch" value="true"/> <UserString key="HStretch" value="true"/>
<UserString key="AcceptTab" value="true"/> <UserString key="AcceptTab" value="true"/>
@ -71,16 +73,23 @@
<Property key="NeedMouse" value="false"/> <Property key="NeedMouse" value="false"/>
</Widget> </Widget>
</Widget> </Widget>
</Widget>
<Widget type="Widget">
<UserString key="VStretch" value="true"/>
<UserString key="HStretch" value="true"/>
<Widget type="VBox" position_real="0 0 1 1" align="Stretch">
<Widget type="AutoSizedTextBox" skin="NormalText" position="0 0 50 50" align="Top Right">
<Property key="Caption" value="#{PostProcessing:ActiveShaders}"/>
</Widget> </Widget>
<Widget type="ListWrapper" skin="MW_List" name="ActiveList"> <Widget type="ListWrapper" skin="MW_List" name="ActiveList">
<UserString key="VStretch" value="true"/> <UserString key="VStretch" value="true"/>
<UserString key="HStretch" value="true"/> <UserString key="HStretch" value="true"/>
</Widget> </Widget>
</Widget> </Widget>
</Widget>
</Widget>
</Widget> </Widget>
<Widget type="Widget" skin="MW_Box"> <Widget type="Widget" skin="MW_Box">
@ -96,9 +105,6 @@
</Widget> </Widget>
</Widget> </Widget>
</Widget> </Widget>
</Widget>
</Widget> </Widget>
</Widget> </Widget>