Exemple #1
0
 def __init__(self, ctx=None, parent=None):
     contentSettings = ViewSettings(
         R.views.lobby.reward_window.twitch_reward_window_content.
         TwitchRewardWindowContent())
     contentSettings.model = RewardWindowContentModel()
     super(GiveAwayRewardWindow, self).__init__(
         parent=parent,
         content=GiveAwayRewardWindowContent(contentSettings, ctx=ctx))
Exemple #2
0
 def __init__(self, ctx=None, parent=None):
     self._eventName = ctx['eventName']
     contentSettings = ViewSettings(
         R.views.lobby.reward_window.clan_reward_window_content.
         ClanRewardWindowContent())
     contentSettings.model = RewardWindowContentModel()
     super(DynamicRewardWindow, self).__init__(
         parent=parent,
         content=DynamicRewardWindowContent(contentSettings, ctx=ctx))
Exemple #3
0
 def __init__(self, ctx=None, parent=None):
     contentSettings = ViewSettings(
         R.views.lobby.reward_window.reward_window_content.
         RewardWindowContent())
     contentSettings.model = RewardWindowContentModel()
     super(RewardWindow,
           self).__init__(parent=parent,
                          content=QuestRewardWindowContent(contentSettings,
                                                           ctx=ctx))