예제 #1
0
파일: plugin.py 프로젝트: elshaca/enigma2
	def ok(self):
		current = self["list"].getCurrent()
		if current:
			key = current[1]
			config.misc.window_animation_default.value = key
			config.misc.window_animation_default.save()
			setAnimation_current(key)
		self.close()
예제 #2
0
파일: plugin.py 프로젝트: elshaca/enigma2
def screen_show(self):
	global g_animation_paused
	if g_animation_paused:
		setAnimation_current(0)

	g_orig_show(self)

	if checkAttrib(self, False):
		g_animation_paused = True
예제 #3
0
def screen_show(self):
	global g_animation_paused
	if g_animation_paused:
		setAnimation_current(0)

	g_orig_show(self)

	if checkAttrib(self, False):
		g_animation_paused = True
예제 #4
0
	def preview(self):
		current = self["list"].getCurrent()
		if current:
			global g_animation_paused
			tmp = g_animation_paused
			g_animation_paused = False

			setAnimation_current(current[1])
			self.session.open(MessageBox, current[0], MessageBox.TYPE_INFO, timeout=3)
			g_animation_paused = tmp
예제 #5
0
파일: plugin.py 프로젝트: elshaca/enigma2
	def preview(self):
		current = self["list"].getCurrent()
		if current:
			global g_animation_paused
			tmp = g_animation_paused
			g_animation_paused = False

			setAnimation_current(current[1])
			self.session.open(MessageBox, current[0], MessageBox.TYPE_INFO, timeout=3)
			g_animation_paused = tmp
예제 #6
0
 def ok(self):
     current = self["list"].getCurrent()
     if current:
         key = current[1]
         config.misc.window_animation_default.value = key
         config.misc.window_animation_default.save()
         setAnimation_current(key)
         setAnimation_current_listbox(
             int(config.misc.listbox_animation_default.value))
     self.close()
예제 #7
0
파일: plugin.py 프로젝트: zukon/enigma2
def sessionAnimationSetup(session, reason, **kwargs):
    setAnimation_current(config.misc.window_animation_default.value)
    setAnimation_speed(int(config.misc.window_animation_speed.value))

    global g_orig_show, g_orig_doClose
    if g_orig_show is None:
        g_orig_show = Screen.show
    if g_orig_doClose is None:
        g_orig_doClose = Screen.doClose
    Screen.show = screen_show
    Screen.doClose = screen_doClose
예제 #8
0
파일: plugin.py 프로젝트: elshaca/enigma2
def sessionAnimationSetup(session, reason, **kwargs):
	setAnimation_current(config.misc.window_animation_default.value)
	setAnimation_speed(int(config.misc.window_animation_speed.value))

	global g_orig_show, g_orig_doClose
	if g_orig_show is None:
		g_orig_show = Screen.show
	if g_orig_doClose is None:
		g_orig_doClose = Screen.doClose
	Screen.show = screen_show
	Screen.doClose = screen_doClose
예제 #9
0
def sessionAnimationSetup(session, reason, **kwargs):
	setAnimation_current(config.misc.window_animation_default.value)
	setAnimation_speed(int(config.misc.window_animation_speed.value))
	if not getBoxBrand() == 'gigablue':
		setAnimation_current_listbox(int(config.misc.listbox_animation_default.value))

	global g_orig_show, g_orig_doClose
	if g_orig_show is None:
		g_orig_show = Screen.show
	if g_orig_doClose is None:
		g_orig_doClose = Screen.doClose
	Screen.show = screen_show
	Screen.doClose = screen_doClose
예제 #10
0
def sessionAnimationSetup(session, reason, **kwargs):
	setAnimation_current(config.misc.window_animation_default.value)
	setAnimation_speed(int(config.misc.window_animation_speed.value))
예제 #11
0
	def preview(self):
		current = self["list"].getCurrent()
		if current:
			setAnimation_current(current[1])
			self.session.open(MessageBox, current[0], MessageBox.TYPE_INFO, timeout=3)
예제 #12
0
        def keyclose(self):
		setAnimation_current(config.misc.window_animation_default.value)
                setAnimation_speed(int(config.misc.window_animation_speed.value))
		self.close()
예제 #13
0
파일: plugin.py 프로젝트: zukon/enigma2
def screen_doClose(self):
    global g_animation_paused
    if checkAttrib(self, True):
        g_animation_paused = False
        setAnimation_current(config.misc.window_animation_default.value)
    g_orig_doClose(self)
예제 #14
0
파일: plugin.py 프로젝트: elshaca/enigma2
def screen_doClose(self):
	global g_animation_paused
	if checkAttrib(self, True):
		g_animation_paused = False
		setAnimation_current(config.misc.window_animation_default.value)
	g_orig_doClose(self)
예제 #15
0
파일: plugin.py 프로젝트: popazerty/e2-gui
def sessionAnimationSetup(session, reason, **kwargs):
	setAnimation_current(config.misc.window_animation_default.value)
	setAnimation_speed(int(config.misc.window_animation_speed.value))
예제 #16
0
파일: plugin.py 프로젝트: popazerty/e2-gui
	def preview(self):
		current = self["list"].getCurrent()
		if current:
			setAnimation_current(current[1])
			self.session.open(MessageBox, current[0], MessageBox.TYPE_INFO, timeout=3)
예제 #17
0
파일: plugin.py 프로젝트: elshaca/enigma2
	def keyclose(self):
		setAnimation_current(config.misc.window_animation_default.value)
		setAnimation_speed(int(config.misc.window_animation_speed.value))
		self.close()
예제 #18
0
	def keyclose(self):
		setAnimation_current(config.misc.window_animation_default.value)
		setAnimation_speed(int(config.misc.window_animation_speed.value))
		if not getBoxBrand() == 'gigablue':
			setAnimation_current_listbox(int(config.misc.listbox_animation_default.value))
		self.close()