Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 18, 2010, 10:07:48 PM (15 years ago)
Author:
rgrieder
Message:

Changed use of CEGUI widgets: Instead of addressing a type with "TaharezLook/Button" I changed it to "MenuWidgets/MyWidget".
That allows to define multiple skins for the menu and simply load the one we like.
Furthermore the idea is to use "HUDWidgets/MyWidget" for HUD elements. But I haven't added that.

File:
1 edited

Legend:

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

    r6544 r6564  
    77local cursor    = CEGUI.MouseCursor:getSingleton()
    88
    9 schemeMgr:loadScheme("TaharezLook.scheme")
    10 -- load scheme with our own images
     9schemeMgr:loadScheme("TaharezMenuWidgets.scheme")
     10schemeMgr:loadScheme("TaharezMenuWidgetsAliases.scheme")
     11-- load scheme with our own images, hack!
    1112schemeMgr:loadScheme("OrxonoxGUIScheme.scheme")
    1213
    1314system:setDefaultMouseCursor("TaharezLook", "MouseArrow")
    1415system:setDefaultFont("BlueHighway-12")
    15 system:setDefaultTooltip("TaharezLook/Tooltip")
     16system:setDefaultTooltip("MenuWidgets/Tooltip")
    1617
    1718loadedGUIs = {}
Note: See TracChangeset for help on using the changeset viewer.