2019-12-30 00:00:16 -06:00
|
|
|
from .SCColorScheme import SCColorScheme
|
2019-11-02 17:27:54 -05:00
|
|
|
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
|