Poodletooth-iLand/otp/speedchat/SCSettings.py
2015-03-03 17:10:12 -05:00

14 lines
542 B
Python

from SCColorScheme import SCColorScheme
from otp.otpbase import OTPLocalizer
class SCSettings:
def __init__(self, eventPrefix, whisperMode = 0, colorScheme = None, submenuOverlap = OTPLocalizer.SCOsubmenuOverlap, topLevelOverlap = None):
self.eventPrefix = eventPrefix
self.whisperMode = whisperMode
if colorScheme is None:
colorScheme = SCColorScheme()
self.colorScheme = colorScheme
self.submenuOverlap = submenuOverlap
self.topLevelOverlap = topLevelOverlap
return