mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
#31: Implement support for invisible interface. GUI implementation needs testing and possibly to be implemented.
This commit is contained in:
parent
8d873674ee
commit
f241a1fc31
@ -870,6 +870,8 @@ class Controller(object):
|
|||||||
pass
|
pass
|
||||||
if position == page.buffer.list.get_selected():
|
if position == page.buffer.list.get_selected():
|
||||||
page.session.sound.play("limit.ogg")
|
page.session.sound.play("limit.ogg")
|
||||||
|
else:
|
||||||
|
page.session.db[page.name+"_pos"]=index
|
||||||
try:
|
try:
|
||||||
output.speak(page.get_message(), True)
|
output.speak(page.get_message(), True)
|
||||||
except:
|
except:
|
||||||
@ -888,6 +890,8 @@ class Controller(object):
|
|||||||
pass
|
pass
|
||||||
if position == page.buffer.list.get_selected():
|
if position == page.buffer.list.get_selected():
|
||||||
page.session.sound.play("limit.ogg")
|
page.session.sound.play("limit.ogg")
|
||||||
|
else:
|
||||||
|
page.session.db[page.name+"_pos"]=index
|
||||||
try:
|
try:
|
||||||
output.speak(page.get_message(), True)
|
output.speak(page.get_message(), True)
|
||||||
except:
|
except:
|
||||||
|
Loading…
Reference in New Issue
Block a user