mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-14 22:49:56 +00:00
Merge pull request #619 from madsbuvi/0.8.1-vr-maybe-chat-fix
Maybe fix console and chat window resizing/moving
This commit is contained in:
commit
61817715d4
5 changed files with 10 additions and 2 deletions
|
@ -529,6 +529,8 @@ namespace MWVR
|
|||
LayerConfig mapWindowConfig = createSideBySideConfig(3);
|
||||
LayerConfig inventoryCompanionWindowConfig = createSideBySideConfig(4);
|
||||
LayerConfig dialogueWindowConfig = createSideBySideConfig(5);
|
||||
LayerConfig chatWindowConfig = createSideBySideConfig(6);
|
||||
LayerConfig consoleWindowConfig = createSideBySideConfig(7);
|
||||
|
||||
osg::Vec3 leftHudOffset = gLeftHudOffsetWrist;
|
||||
|
||||
|
@ -605,6 +607,8 @@ namespace MWVR
|
|||
{"Menu", videoPlayerConfig},
|
||||
{"LoadingScreen", loadingScreenConfig},
|
||||
{"VirtualKeyboard", virtualKeyboardConfig},
|
||||
{"Chat", chatWindowConfig},
|
||||
{"Console", consoleWindowConfig},
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<MyGUI type="Layout">
|
||||
<Widget type="Window" skin="MW_Window" position="0 0 400 400" layer="Windows" name="_Main">
|
||||
<Widget type="Window" skin="MW_Window" position="0 0 400 400" layer="Console" name="_Main">
|
||||
<Property key="Caption" value="#{sConsoleTitle}"/>
|
||||
<Property key="MinSize" value="40 40"/>
|
||||
<Property key="Visible" value="false"/>
|
||||
|
|
|
@ -19,4 +19,6 @@
|
|||
<Layer name="MessageBox" overlapped="false" pick="true"/>
|
||||
<Layer name="InputBlocker" overlapped="false" pick="true"/>
|
||||
<Layer name="Pointer" overlapped="false" pick="false"/>
|
||||
<Layer name="Console" overlapped="true" pick="true"/>
|
||||
<Layer name="Chat" overlapped="true" pick="true"/>
|
||||
</MyGUI>
|
||||
|
|
|
@ -30,4 +30,6 @@
|
|||
<Layer name="VideoPlayer" overlapped="false" pick="true"/>
|
||||
<Layer name="VirtualKeyboard" overlapped="false" pick="true"/>
|
||||
<Layer name="Pointer" overlapped="false" pick="false"/>
|
||||
<Layer name="Console" overlapped="true" pick="true"/>
|
||||
<Layer name="Chat" overlapped="true" pick="true"/>
|
||||
</MyGUI>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<MyGUI type="Layout">
|
||||
<Widget type="Window" skin="MW_Window" position="0 0 400 400" layer="Windows" name="_Main">
|
||||
<Widget type="Window" skin="MW_Window" position="0 0 400 400" layer="Chat" name="_Main">
|
||||
<Property key="Caption" value="#{sConsoleTitle}"/>
|
||||
<Property key="MinSize" value="40 40"/>
|
||||
<Property key="Visible" value="false"/>
|
||||
|
|
Loading…
Reference in a new issue