You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 3 месеци
1234567891011121314151617
  1. class ht_Context:
  2. def __init__(self):
  3. self.didLaunch = False
  4. self.recentField = "none"
  5. self.windowBackgroundColor = "#000000"
  6. self.windowHeight = 0
  7. self.windowTitle = ""
  8. self.windowWidth = 0
  9. def field(self, fieldName):
  10. return getattr(self, fieldName)
  11. def setField(self, fieldName, value):
  12. setattr(self, fieldName, value)
  13. def ht_createContext():
  14. return ht_Context()