Changeset 11652 for code/branches/Dialog_HS17
- Timestamp:
- Dec 11, 2017, 2:33:45 PM (7 years ago)
- Location:
- code/branches/Dialog_HS17
- Files:
-
- 1 added
- 5 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Dialog_HS17/data/gui/layouts/Dialog.layout
r11644 r11652 22 22 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.05,0},{0.25,0},{0.15,0}}" /> 23 23 </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" > 26 26 <Property Name="InheritsAlpha" Value="False" /> 27 <Property Name="HorzFormatting" Value="LeftAligned" />28 27 <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> 31 50 </Window> 32 51 33 52 <Window Type="MenuWidgets/Listbox" Name="orxonox/AnsListbox" > 34 53 <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}}" /> 36 55 <Event Name="ItemSelectionChanged" Function="Dialog.answer_changed" /> 37 56 </Window> -
code/branches/Dialog_HS17/data/gui/scripts/Dialog.lua
r11644 r11652 1 -- Dialog ue.lua1 -- Dialog.lua 2 2 3 3 local P = createMenuSheet("Dialog") … … 7 7 P.showing = false 8 8 P.choice = 0 9 P.scrollbarWidth = 12 9 10 10 11 function P.onLoad() --wird ausgefuert wenn Fenster geladen … … 35 36 personfield:setText(person) 36 37 37 local questionfi led = winMgr:getWindow("orxonox/Dialog/Question")38 local questionfield = winMgr:getWindow("orxonox/Dialog/Question") 38 39 local question = manager:getQuestion() 39 questionfi led:setText(question)40 questionfield:setText(question) 40 41 41 42 local listboxwindow = winMgr:getWindow("orxonox/AnsListbox") … … 60 61 manager:update(P.choice) 61 62 62 local questionfi led = winMgr:getWindow("orxonox/Dialog/Question")63 local questionfield = winMgr:getWindow("orxonox/Dialog/Question") 63 64 local question = manager:getQuestion() 64 questionfi led:setText(question)65 questionfield:setText(question) 65 66 66 67 local listboxwindow = winMgr:getWindow("orxonox/AnsListbox") -
code/branches/Dialog_HS17/data/overlays/HUDTemplates3.oxo
r11612 r11652 215 215 216 216 <GUIOverlay 217 name = "Dialogue"218 guiname = "Dialogue"219 visible = "false"220 />221 222 <GUIOverlay223 217 name = "Dialog" 224 218 guiname = "Dialog" -
code/branches/Dialog_HS17/src/modules/CMakeLists.txt
r11579 r11652 26 26 ################ Sub Directories ################ 27 27 28 ADD_SUBDIRECTORY(dialogue)29 28 ADD_SUBDIRECTORY(dialog) 30 29 ADD_SUBDIRECTORY(designtools)
Note: See TracChangeset
for help on using the changeset viewer.