2011-03-17 01:47:30 -04:00
|
|
|
-- ProductivityHelpers: A set of useful aliases for theming.
|
|
|
|
|
--[[ 3.9 Functions ]]
|
|
|
|
|
Game = {
|
|
|
|
|
GetStage = function()
|
2011-08-20 19:51:05 -05:00
|
|
|
|
2011-03-17 01:47:30 -04:00
|
|
|
end,
|
|
|
|
|
}
|
2011-06-03 00:37:04 -05:00
|
|
|
|
|
|
|
|
--[[ ----------------------------------------------------------------------- ]]
|
|
|
|
|
|
2011-03-17 01:47:30 -04:00
|
|
|
--[[ helper functions ]]
|
2011-08-20 19:51:05 -05:00
|
|
|
function pname(pn) return ToEnumShortString(pn) end
|
2011-03-17 01:47:30 -04:00
|
|
|
|
2011-11-21 03:02:03 +00:00
|
|
|
function ThemeManager:GetAbsolutePath(sPath)
|
|
|
|
|
sFinPath = "/Themes/"..self:GetCurThemeName().."/"..sPath
|
|
|
|
|
assert(RageFileManager.DoesFileExist(sFinPath), "the theme element "..sPath.." is missing")
|
|
|
|
|
return sFinPath
|
|
|
|
|
end
|
|
|
|
|
|
2011-03-17 01:47:30 -04:00
|
|
|
--[[ end helper functions ]]
|
|
|
|
|
-- this code is in the public domain.
|