Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 19, 2010, 2:51:39 PM (14 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/InitialiseGUI.lua

    r6569 r6571  
    1717-- of the menus or the HUD independently
    1818schemeMgr:loadScheme("TaharezMenuWidgets.scheme")
     19menuImageSet = "TaharezLook"
    1920schemeMgr:loadScheme("TaharezHUDWidgets.scheme")
     21hudImageSet = "TaharezLook"
    2022
    2123-- Just a remaining test hack
    2224schemeMgr:loadScheme("OrxonoxGUIScheme.scheme")
    2325
    24 system:setDefaultMouseCursor("TaharezLook", "MouseArrow")
     26system:setDefaultMouseCursor(menuImageSet, "MouseArrow")
    2527system:setDefaultFont("BlueHighway-12")
    2628system:setDefaultTooltip("MenuWidgets/Tooltip")
Note: See TracChangeset for help on using the changeset viewer.