From 8e0ea04af32b7e0c1824e50092fdcaca4bc8b95e Mon Sep 17 00:00:00 2001 From: Tuller Date: Mon, 30 Aug 2010 17:06:44 -0400 Subject: [PATCH] Moved configuration settings to a new file Made min scale setting UI resolution independent --- tullaCC/config.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tullaCC/config.lua diff --git a/tullaCC/config.lua b/tullaCC/config.lua new file mode 100644 index 0000000..8552fc8 --- /dev/null +++ b/tullaCC/config.lua @@ -0,0 +1,23 @@ +--[[ + Confuration settings for tullaCC +--]] + + +local Conf = select(2, ...) + +--font settings +Conf.fontFace = STANDARD_TEXT_FONT --what font to use +Conf.fontSize = 18 --the base font size to use at a scale of 1 +Conf.fontColor = {1, 0.92, 0} --the minimum scale we want to show cooldown counts at, anything below this will be hidden + +--display settings +Conf.minScale = 0.6 --the minimum duration to show cooldown text for +Conf.minDuration = 3 --the minimum number of seconds a cooldown must be to use to display in the expiring format +Conf.expiringDuration = 5 --the minimum number of seconds a cooldown must be to use to display in the expiring format + +--text format strings +Conf.expiringFormat = '|cffff0000%d|r' --format for timers that are soon to expire +Conf.secondsFormat = '|cffffff00%d|r' --format for timers that have seconds remaining +Conf.minutesFormat = '|cffffffff%dm|r' --format for timers that have minutes remaining +Conf.hoursFormat = '|cff66ffff%dh|r' --format for timers that have hours remaining +Conf.daysFormat = '|cff6666ff%dh|r' --format for timers that have days remaining \ No newline at end of file -- 1.7.9.5