Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 22, 2018, 1:03:44 AM (6 years ago)
Author:
landauf
Message:

updated CreditsMenu.lua and SingleplayerMenu.lua to cegui 0.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cegui0.8_ogre1.9/data/gui/scripts/GUITools.lua

    r8351 r11797  
    5151    local formattedArea = lookAndFeel:getNamedArea("WithFrameTextRenderArea"):getArea():getPixelRect(window)
    5252    -- Calculate the pixel height of the frame by subtracting the height of the area above from the total height of the window.
    53     local frameHeight = window:getUnclippedOuterRect():getHeight() - formattedArea:getHeight()
     53    local frameHeight = window:getUnclippedOuterRect():get():getHeight() - formattedArea:getHeight()
    5454
    5555    local height = 0
Note: See TracChangeset for help on using the changeset viewer.