Commit 10a99103 authored by birk's avatar birk
Browse files

changed pointers in info texts to arrows

parent 98da206c
......@@ -39,7 +39,7 @@ class MediaDisplay(pyglet.event.EventDispatcher):
def show(self):
# Called when the content appears on the screen.
if not self.media_entry.file:
file = MediaFile(self.media_entry)
self.media_entry.file = MediaFile(self.media_entry)
if not self.media_entry.file.source:
self.media_entry.file.cache()
if self.media_entry.is_image:
......
......@@ -97,8 +97,8 @@ class Screen(Window):
Screen._content[self.__index] = media_
self.media.show()
caption_lines = []
if media_.index:
caption_lines.append(str(media_.index))
# if media_.index:
# caption_lines.append(str(media_.index))
for i in Config.META_DATA_MINIMUM:
v = media_.media_entry.get_meta_datum(i)
if v:
......@@ -161,10 +161,10 @@ class Screen(Window):
# get text to display
pointer = ''
if m.screen.index < self.index:
pointer = (self.index-m.screen.index)*'<' + ' '
pointer = (self.index-m.screen.index)*'<'
elif m.screen.index > self.index:
pointer = (m.screen.index-self.index)*'>' + ' '
t = '{} | {}'.format(m.index, m.media_entry.serialize_meta_data(m.program.meta_data_white_list, ' | ', ' ¶ '))
pointer = (m.screen.index-self.index)*'>'
t = '{} {}'.format(pointer, m.media_entry.serialize_meta_data(m.program.meta_data_white_list, ' | ', ' ¶ '))
s = Screen.find_text_size(t, w, h)
d = Screen.get_formatted_text(t, s)
c = InfoBox(d, x, top, w)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment