Changeset 11124 for code/branches/cegui0.8/data/gui/scripts
- Timestamp:
- Feb 20, 2016, 6:28:28 PM (9 years ago)
- Location:
- code/branches/cegui0.8/data/gui/scripts
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cegui0.8/data/gui/scripts/AudioMenu.lua
r9348 r11124 37 37 for k,v in pairs(themeList) do 38 38 item = CEGUI.createListboxTextItem(v) 39 item:setSelectionBrushImage(menuImageSet , "MultiListSelectionBrush")39 item:setSelectionBrushImage(menuImageSet .. "/MultiListSelectionBrush") 40 40 CEGUI.toListbox(listboxwindow):addItem(item) 41 41 end -
code/branches/cegui0.8/data/gui/scripts/DockingDialog.lua
r8706 r11124 42 42 for k in pairs(P.docks) do 43 43 local item = CEGUI.createListboxTextItem("Dock " .. k) 44 item:setSelectionBrushImage(menuImageSet , "MultiListSelectionBrush")44 item:setSelectionBrushImage(menuImageSet .. "/MultiListSelectionBrush") 45 45 listbox:addItem(item) 46 46 if k == 1 then -
code/branches/cegui0.8/data/gui/scripts/GameplayMenu.lua
r8858 r11124 11 11 for k,v in pairs(themeList) do 12 12 item = CEGUI.createListboxTextItem(v) 13 item:setSelectionBrushImage(menuImageSet , "MultiListSelectionBrush")13 item:setSelectionBrushImage(menuImageSet .. "/MultiListSelectionBrush") 14 14 CEGUI.toCombobox(dropdown):addItem(item) 15 15 end -
code/branches/cegui0.8/data/gui/scripts/GraphicsMenu.lua
r9051 r11124 39 39 for k,v in pairs(P.resolutionList) do 40 40 local item = CEGUI.createListboxTextItem(v) 41 item:setSelectionBrushImage(menuImageSet , "MultiListSelectionBrush")41 item:setSelectionBrushImage(menuImageSet .. "/MultiListSelectionBrush") 42 42 resolutionCombobox:addItem(item) 43 43 end … … 49 49 for k,v in pairs(P.schemeList) do 50 50 local item = CEGUI.createListboxTextItem(v) 51 item:setSelectionBrushImage(menuImageSet , "MultiListSelectionBrush")51 item:setSelectionBrushImage(menuImageSet .. "/MultiListSelectionBrush") 52 52 themeCombobox:addItem(item) 53 53 end … … 59 59 for k,v in pairs(P.fsaaList) do 60 60 local item = CEGUI.createListboxTextItem(v) 61 item:setSelectionBrushImage(menuImageSet , "MultiListSelectionBrush")61 item:setSelectionBrushImage(menuImageSet .. "/MultiListSelectionBrush") 62 62 fsaaCombobox:addItem(item) 63 63 end … … 69 69 for k,v in pairs(P.particleLodList) do 70 70 local item = CEGUI.createListboxTextItem(v) 71 item:setSelectionBrushImage(menuImageSet , "MultiListSelectionBrush")71 item:setSelectionBrushImage(menuImageSet .. "/MultiListSelectionBrush") 72 72 particleLodCombobox:addItem(item) 73 73 end -
code/branches/cegui0.8/data/gui/scripts/HostMenu.lua
r8079 r11124 73 73 for k,v in pairs(P.levelList) do 74 74 local item = CEGUI.createListboxTextItem(v:getName()) 75 item:setSelectionBrushImage(menuImageSet , "MultiListSelectionBrush")75 item:setSelectionBrushImage(menuImageSet .. "/MultiListSelectionBrush") 76 76 listbox:addItem(item) 77 77 if v:getXMLFilename() == preselect then -
code/branches/cegui0.8/data/gui/scripts/MultiplayerMenu.lua
r10622 r11124 115 115 item:setID(index) 116 116 index = index + 1 117 item:setSelectionBrushImage(menuImageSet , "MultiListSelectionBrush")117 item:setSelectionBrushImage(menuImageSet .. "/MultiListSelectionBrush") 118 118 CEGUI.toListbox(listbox):addItem(item) 119 119 end … … 152 152 item:setID(index) 153 153 index = index + 1 154 item:setSelectionBrushImage(menuImageSet , "MultiListSelectionBrush")154 item:setSelectionBrushImage(menuImageSet .. "/MultiListSelectionBrush") 155 155 CEGUI.toListbox(listbox):addItem(item) 156 156 end -
code/branches/cegui0.8/data/gui/scripts/PickupInventory.lua
r9348 r11124 117 117 118 118 local image = winMgr:createWindow("MenuWidgets/StaticImage", name .. "/Image") 119 image:setProperty("Image", " set:PickupInventory image:" .. representation:getInventoryRepresentation())119 image:setProperty("Image", "PickupInventory/" .. representation:getInventoryRepresentation()) 120 120 image:setProperty("BackgroundEnabled", "set:False") 121 121 image:setProperty("FrameEnabled", "set:True") … … 218 218 219 219 local image = winMgr:createWindow("MenuWidgets/StaticImage", name .. "/Image") 220 image:setProperty("Image", " set:PickupInventory image:" .. representation:getInventoryRepresentation())220 image:setProperty("Image", "PickupInventory/" .. representation:getInventoryRepresentation()) 221 221 image:setProperty("BackgroundEnabled", "set:False") 222 222 image:setProperty("FrameEnabled", "set:True") -
code/branches/cegui0.8/data/gui/scripts/QuestGUI.lua
r8891 r11124 104 104 if P.showActive == quest:isActive(P.player) then 105 105 local item = CEGUI.createListboxTextItem(P.questManager:getDescription(quest):getTitle()) 106 item:setSelectionBrushImage(menuImageSet , "MultiListSelectionBrush")106 item:setSelectionBrushImage(menuImageSet .. "/MultiListSelectionBrush") 107 107 list:addItem(item) 108 108 table.insert(P.quests, quest) … … 141 141 local quest = P.questManager:getSubQuest(quest, P.player, i) 142 142 local item = CEGUI.createListboxTextItem(P.questManager:getDescription(quest):getTitle()) 143 item:setSelectionBrushImage(menuImageSet , "MultiListSelectionBrush")143 item:setSelectionBrushImage(menuImageSet .. "/MultiListSelectionBrush") 144 144 list:addItem(item) 145 145 table.insert(P.subquests, quest) -
code/branches/cegui0.8/data/gui/scripts/ShipSelectionMenu.lua
r9348 r11124 34 34 --if tag == nil or v:hasStartingShip(tag) then 35 35 local item = CEGUI.createListboxTextItem(v) 36 item:setSelectionBrushImage(menuImageSet , "MultiListSelectionBrush")36 item:setSelectionBrushImage(menuImageSet .. "/MultiListSelectionBrush") 37 37 listbox:addItem(item) 38 38 table.insert(tabIndexes, k) … … 88 88 --local imageName = selectedlevel:getScreenshot() 89 89 -- set the screenshot and the description for the selected level 90 --levelImage:setProperty("Image", "set:"..levelXMLFilename..imageName.." image:full_image")90 --levelImage:setProperty("Image", levelXMLFilename..imageName.."/full_image") 91 91 --levelDescription:setText(level:getDescription()) 92 92 -- only enable config button for "gametype" levels -
code/branches/cegui0.8/data/gui/scripts/SingleplayerMenu.lua
r10258 r11124 87 87 if tag == nil or v:hasTag(tag) then 88 88 local item = CEGUI.createListboxTextItem(v:getName()) 89 item:setSelectionBrushImage(menuImageSet , "MultiListSelectionBrush")89 item:setSelectionBrushImage(menuImageSet .. "/MultiListSelectionBrush") 90 90 listbox:addItem(item) 91 91 table.insert(tabIndexes, k) … … 130 130 local imageName = level:getScreenshot() 131 131 -- set the screenshot and the description for the selected level 132 levelImage:setProperty("Image", "set:"..levelXMLFilename..imageName.." image:full_image")132 levelImage:setProperty("Image", levelXMLFilename..imageName.."/full_image") 133 133 levelDescription:setText(level:getDescription()) 134 134 -- only enable config button for "gametype" levels -
code/branches/cegui0.8/data/gui/scripts/UndockingDialog.lua
r9943 r11124 42 42 for k in pairs(P.docks) do 43 43 local item = CEGUI.createListboxTextItem("Dock " .. k) 44 item:setSelectionBrushImage(menuImageSet , "MultiListSelectionBrush")44 item:setSelectionBrushImage(menuImageSet .. "/MultiListSelectionBrush") 45 45 listbox:addItem(item) 46 46 if k == 1 then
Note: See TracChangeset
for help on using the changeset viewer.