Made a common player pane resource.
authorCameron Ball <c.ball1729@gmail.com>
Thu, 12 Dec 2013 16:57:53 +0000 (00:57 +0800)
committerCameron Ball <c.ball1729@gmail.com>
Thu, 12 Dec 2013 16:57:53 +0000 (00:57 +0800)
Themes/GrooveNights/BGAnimations/ScreenPlayerOptions overlay/default.xml
Themes/GrooveNights/BGAnimations/_player pane.xml [new file with mode: 0644]

index b77c08b..f70ccbc 100644 (file)
@@ -9,29 +9,32 @@
         <!-- Options pane -->
        <Layer File="../ScreenOptions overlay"/>
 
-        <!-- Current song pane -->
-        <ActorFrame
-            InitCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y-172; horizalign,center"
-            OnCommand="shadowlength,0"
-        ><children>
-            <!-- Song title -->
-            <Layer
-                Type="BitmapText"
-                File="_eurostile blue glow"
-                InitCommand="maxwidth,450"
-                OnCommand="zoom,0.75;playcommand,Update"                
-                UpdateCommand="%SetFromSongTitleAndCourseTitle"
-            />
-               
-            <!-- Song artist -->       
-            <Layer
-                Type="BitmapText"
-                File="_eurostile blue glow"
-                Condition="not GAMESTATE:IsCourseMode()"
-                InitCommand="y,15;maxwidth,350"
-                OnCommand="zoom,0.5;playcommand,Update"
-                UpdateCommand="%SetFromSongArtist"
-            />
-        </children></ActorFrame>
-        <!-- End current song pane -->
+       <!-- Current song pane -->
+       <ActorFrame
+               InitCommand="x,SCREEN_CENTER_X; y,65; horizalign,center"
+               OnCommand="shadowlength,0"
+       ><children>
+               <!-- Song title -->
+               <Layer
+                       Type="BitmapText"
+                       File="_eurostile blue glow"
+                       InitCommand="maxwidth,450"
+                       OnCommand="zoom,0.75;playcommand,Update"                
+                       UpdateCommand="%SetFromSongTitleAndCourseTitle"
+               />
+                       
+               <!-- Song artist -->    
+               <Layer
+                       Type="BitmapText"
+                       File="_eurostile blue glow"
+                       Condition="not GAMESTATE:IsCourseMode()"
+                       InitCommand="y,15;maxwidth,350"
+                       OnCommand="zoom,0.5;playcommand,Update"
+                       UpdateCommand="%SetFromSongArtist"
+               />
+       </children></ActorFrame>
+       <!-- End current song pane -->
+       
+       <!-- Player pane -->
+       <Layer File="../_player pane"/>
 </children></ActorFrame>
\ No newline at end of file
diff --git a/Themes/GrooveNights/BGAnimations/_player pane.xml b/Themes/GrooveNights/BGAnimations/_player pane.xml
new file mode 100644 (file)
index 0000000..c02dfe6
--- /dev/null
@@ -0,0 +1,24 @@
+<ActorFrame\r
+       Condition="GAMESTATE:IsPlayerEnabled(PLAYER_1)"\r
+       InitCommand="x,SCREEN_LEFT-7;y,SCREEN_BOTTOM-26"\r
+><children>\r
+\r
+       <!-- I don't know what this is for right now -->\r
+       <Layer\r
+               File="../Graphics/PaneDisplay under.png"\r
+               InitCommand="@'diffuse,'..FrameColor()..';horizalign,left;vertalign,bottom'"\r
+       />\r
+\r
+       <!-- Pane BG -->\r
+       <Layer\r
+               File="../Graphics/PaneDisplay p1 B.png"\r
+               InitCommand="@'diffuse,'..BackgroundColor()..';horizalign,left;vertalign,bottom;'"\r
+       />\r
+       \r
+       <Layer\r
+               File="../Graphics/PaneDisplay p1 F.png"\r
+               OnCommand="@'diffuse,'..FrameColor()..';horizalign,left;vertalign,bottom;'"\r
+       />\r
+       \r
+\r
+</children></ActorFrame>
\ No newline at end of file