Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 23, 2011, 3:05:58 PM (13 years ago)
Author:
landauf
Message:

added config value to enable/disable preloading of menu sheets during startup (fast menus vs fast startup)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/GUIManager.h

    r8858 r8862  
    111111        void setBackgroundImage(const std::string& image);
    112112
     113        static bool preloadMenuSheets() { return GUIManager::getInstance().bPreloadMenuSheets_; } // tolua_export
    113114        static bool inDevMode(void); // tolua_export
    114115
     
    200201        bool oldCEGUI_;
    201202
    202         int numScrollLines_; ///< How many lines to scroll in a list if the scroll wheel is used
     203        int numScrollLines_;        ///< How many lines to scroll in a list if the scroll wheel is used
     204        bool bPreloadMenuSheets_;   ///< If true, menu sheets are pre-loaded during startup
    203205
    204206    }; // tolua_export
Note: See TracChangeset for help on using the changeset viewer.