New specific skin_text.xml
authorDima73 <Dima-73@inbox.lv>
Sat, 7 Nov 2015 16:04:29 +0000 (18:04 +0200)
committerDima73 <Dima-73@inbox.lv>
Sat, 7 Nov 2015 16:04:29 +0000 (18:04 +0200)
- option that allows for customized box specific skin_text
first formuler1:
if recording...
infobar mode -->blink text REC(3 sec)
standby mode-->blink clock(1 sec)

data/Makefile.am
data/skin_text_default.xml [copied from data/skin_text.xml with 100% similarity]
data/skin_text_formuler1.xml [moved from data/skin_text.xml with 89% similarity]

index 9a84840..97a3ca2 100644 (file)
@@ -30,3 +30,7 @@ endif
 
 skin_display.xml: $(srcdir)/skin_display_default.xml
        test -f $(srcdir)/skin_display_$(BOXTYPE).xml && cp $(srcdir)/skin_display_$(BOXTYPE).xml skin_display.xml || cp $(srcdir)/skin_display_default.xml skin_display.xml
+
+skin_text.xml: $(srcdir)/skin_text_default.xml
+       test -f $(srcdir)/skin_text_$(BOXTYPE).xml && cp $(srcdir)/skin_text_$(BOXTYPE).xml skin_text.xml || cp $(srcdir)/skin_text_default.xml skin_text.xml
+
similarity index 89%
rename from data/skin_text.xml
rename to data/skin_text_formuler1.xml
index b9a21b3..0e42f16 100644 (file)
@@ -6,11 +6,9 @@
                <widget source="session.CurrentService" render="Label" position="0,0" size="80,1" halign="left" noWrap="1">
                        <convert type="ServiceName">Name</convert>
                </widget>
-               <!--
-               <widget source="global.CurrentTime" render="Label" position="10,0" size="48,1" halign="right" valign="top" noWrap="1">
-                       <convert type="ClockToText"></convert>
+               <widget source="session.RecordState" render="FixedLabel" text="REC" position="0,0" size="80,1" halign="left" noWrap="1">
+                       <convert type="ConditionalShowHide">Blink, 3000</convert>
                </widget>
-               -->
        </screen>
 
 
 <!-- standby -->
        <screen name="StandbySummary" position="0,0" size="132,64">
                <widget source="global.CurrentTime" render="Label" position="0,0" size="120,64" font="Regular;48" halign="center" valign="center">
-                       <convert type="ClockToText">VFD</convert>
+                       <convert type="ClockToText">Format: %H'%M</convert>
+               </widget>
+               <widget source="session.RecordState" render="FixedLabel" position="0,0" size="120,64" text=" ">
+                       <convert type="ConditionalShowHide">Blink, 1000</convert>
                </widget>
        </screen>