if app.FATE_ROULETTE:
self.wndFate = None
self.wndFateButton = None
self.wndFate = uifateroulette.FateRoulette()
self.wndFate.Hide()
wndFateButton = ui.Button()
wndFateButton.SetUpVisual("d:/ymir work/ui/event.png")
wndFateButton.SetOverVisual("d:/ymir work/ui/event.png")
wndFateButton.SetDownVisual("d:/ymir work/ui/event.png")
wndFateButton.SetPosition(systemSetting.GetWidth()-250, 20) - buradan x, y ayarı yapılır
wndFateButton.SetEvent(ui.__mem_func__(self.RouletteOpen))