Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 11, 2017, 2:33:45 PM (7 years ago)
Author:
kuchlert
Message:

altes Dialogue entfernt

Location:
code/branches/Dialog_HS17/data
Files:
1 added
4 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Dialog_HS17/data/gui/layouts/Dialog.layout

    r11644 r11652  
    2222                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.05,0},{0.25,0},{0.15,0}}" />
    2323            </Window>
    24             <Window Type="MenuWidgets/StaticText" Name="orxonox/Dialog/Question" >
    25                 <Property Name="Alpha" Value="0.8" />
     24
     25            <Window Type="MenuWidgets/StaticText" Name="orxonox/QuestionWrapper" >
    2626                <Property Name="InheritsAlpha" Value="False" />
    27                 <Property Name="HorzFormatting" Value="LeftAligned" />
    2827                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    29                 <Property Name="VertFormatting" Value="CentreAligned" />
    30                 <Property Name="UnifiedAreaRect" Value="{{0.3,0},{0.05,0},{0.95,0},{0.15,0}}" />
     28                <Property Name="HorzFormatting" Value="HorzCentred" />
     29                <Property Name="VertFormatting" Value="TopAligned" />
     30                <Property Name="UnifiedAreaRect" Value="{{0.3,0},{0.05,0},{0.95,0},{0.45,0}}" />
     31                <Window Type="MenuWidgets/ScrollablePane" Name="orxonox/QuestionPane" >
     32                        <Property Name="ContentArea" Value="l:0 t:0 r:0 b:0" />
     33                        <Property Name="HorzStepSize" Value="0.005" />
     34                        <Property Name="VertStepSize" Value="0.005" />
     35                        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     36                        <Property Name="HorzOverlapSize" Value="0.01" />
     37                        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{0.997,0},{0.997,0}}" />
     38                        <Property Name="VertOverlapSize" Value="0.01" />
     39                        <Property Name="HorzScrollPosition" Value="0" />
     40                        <Property Name="VertScrollPosition" Value="0" />
     41                        <Window Type="MenuWidgets/StaticText" Name="orxonox/Dialog/Question" >
     42                            <Property Name="Alpha" Value="0.8" />
     43                            <Property Name="InheritsAlpha" Value="False" />
     44                            <Property Name="HorzFormatting" Value="WordWrapLeftAligned" />
     45                            <Property Name="VertFormatting" Value="CentreAligned" />
     46                            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     47                            <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
     48                        </Window>
     49                </Window>
    3150            </Window>
    3251
    3352            <Window Type="MenuWidgets/Listbox" Name="orxonox/AnsListbox" >
    3453                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    35                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.225,0},{0.95,0},{0.85,0}}" />
     54                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.5,0},{0.95,0},{0.85,0}}" />
    3655                <Event Name="ItemSelectionChanged" Function="Dialog.answer_changed" />
    3756            </Window>
  • code/branches/Dialog_HS17/data/gui/scripts/Dialog.lua

    r11644 r11652  
    1 -- Dialogue.lua
     1-- Dialog.lua
    22
    33local P = createMenuSheet("Dialog")
     
    77P.showing = false
    88P.choice = 0
     9P.scrollbarWidth = 12
    910
    1011function P.onLoad() --wird ausgefuert wenn Fenster geladen
     
    3536    personfield:setText(person)
    3637
    37     local questionfiled = winMgr:getWindow("orxonox/Dialog/Question")
     38    local questionfield = winMgr:getWindow("orxonox/Dialog/Question")
    3839    local question = manager:getQuestion()
    39     questionfiled:setText(question)
     40    questionfield:setText(question)
    4041
    4142    local listboxwindow = winMgr:getWindow("orxonox/AnsListbox")
     
    6061    manager:update(P.choice)
    6162
    62     local questionfiled = winMgr:getWindow("orxonox/Dialog/Question")
     63    local questionfield = winMgr:getWindow("orxonox/Dialog/Question")
    6364    local question = manager:getQuestion()
    64     questionfiled:setText(question)
     65    questionfield:setText(question)
    6566
    6667    local listboxwindow = winMgr:getWindow("orxonox/AnsListbox")
  • code/branches/Dialog_HS17/data/overlays/HUDTemplates3.oxo

    r11612 r11652  
    215215
    216216    <GUIOverlay
    217       name = "Dialogue"
    218       guiname = "Dialogue"
    219       visible = "false"
    220     />
    221 
    222     <GUIOverlay
    223217      name = "Dialog"
    224218      guiname = "Dialog"
Note: See TracChangeset for help on using the changeset viewer.