Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 31, 2010, 1:05:28 AM (15 years ago)
Author:
rgrieder
Message:

Merged revisions 6621-6661 to gamestates2.

Location:
code/branches/gamestates2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gamestates2

  • code/branches/gamestates2/data/gui/scripts/GraphicsMenu.lua

    r6595 r6662  
    11-- GraphicsMenu.lua
    22
    3 BasicGUI = require("BasicGUI")
    4 local P = BasicGUI:new("GraphicsMenu")
    5 if _REQUIREDNAME == nil then
    6     GraphicsMenu = P
    7 else
    8     _G[_REQUIREDNAME] = P
    9 end
     3local P = createSheet("GraphicsMenu")
    104
    11 function P:init()
     5function P.init()
    126    block = true
    137    file = orxonox.PathConfig:getConfigPathString() .. orxonox.getConfig("GraphicsManager", "ogreConfigFile_")
     
    149143    if scrollbar_active == false then
    150144        -- brightness
    151         debug("event: brightness")
     145        logMessage(0, "event: brightness")
    152146    end
    153147end
     
    159153function P.GraphicsBrightnessScrollbar_ended(e)
    160154    -- brightness
    161     debug("event: brightness")
     155    logMessage(0, "event: brightness")
    162156    scrollbar_active = false
    163157end
Note: See TracChangeset for help on using the changeset viewer.