Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 19, 2010, 2:51:39 PM (15 years ago)
Author:
rgrieder
Message:

Removed last remains of hard coded Taharez references:
Refer to the ImageSets with menuImageSet or hudImageSet from now on (in lua scripts).
(and hope that the image you're looking for is named like that in every look…)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gamestate/data/gui/scripts/GameplayMenu.lua

    r6459 r6571  
    1717    for k,v in pairs(themeList) do
    1818        item = CEGUI.createListboxTextItem(v)
    19         item:setSelectionBrushImage("TaharezLook", "MultiListSelectionBrush")
     19        item:setSelectionBrushImage(menuImageSet, "MultiListSelectionBrush")
    2020        CEGUI.toCombobox(dropdown):addItem(item)
    2121    end
Note: See TracChangeset for help on using the changeset viewer.