Ticket #6318: recGroup-Graphite-v1.patch

File recGroup-Graphite-v1.patch, 2.9 KB (added by John Patrick Poet <jppoet@…>, 14 years ago)

Takes advantage of #7461 & #7462 to render the recording groups

  • Graphite/recordings-ui.xml

     
    101101            <cornerradius>12</cornerradius>
    102102        </shape>
    103103       
     104        <buttonlist name="recgroups">
     105            <arrange>stack</arrange>
     106            <area>320,15,880,30</area>
     107            <align>center</align>
     108            <spacing>20</spacing>
     109            <scrollstyle>center</scrollstyle>
     110            <wrapstyle>items</wrapstyle>
     111            <layout>horizontal</layout>
     112            <buttonarea>0,0,100%,100%</buttonarea>
     113            <statetype name="buttonitem">
     114                <state name="active">
     115                    <area>0,0,300,30</area>
     116                    <shape name="recActiveGroupShape">
     117                        <area>0, 0, 100%, 100%</area>
     118                        <minsize>150,100%</minsize>
     119                        <type>roundbox</type>
     120                        <fill color="#000000" alpha="128" />
     121                        <line color="#FFFFFF" alpha="255" width="1" />
     122                        <cornerradius>15</cornerradius>
     123                    </shape>
     124                    <textarea name="buttontext">
     125                        <area>3%,0,96%,100%</area>
     126                        <minsize>10%,100%</minsize>
     127                        <align>allcenter</align>
     128                        <cutdown>yes</cutdown>
     129                        <font>basesmall</font>
     130                        <alpha>255</alpha>
     131                    </textarea>
     132                </state>
     133                <state name="selected">
     134                    <area>0,0,300,30</area>
     135                    <shape name="recSelectedGroupShape">
     136                        <area>0, 0, 100%, 100%</area>
     137                        <minsize>150,100%</minsize>
     138                        <type>roundbox</type>
     139                        <fill color="#000000" alpha="48" />
     140                        <line color="#000000" alpha="255" width="1" />
     141                        <cornerradius>15</cornerradius>
     142                    </shape>
     143                    <textarea name="buttontext">
     144                        <area>3%,0,96%,95%</area>
     145                        <minsize>10%,100%</minsize>
     146                        <align>allcenter</align>
     147                        <font>basesmall</font>
     148                        <alpha>255</alpha>
     149                    </textarea>
     150                </state>
     151                <state name="inactive" from="selected" />
     152            </statetype>
     153            <statetype name="upscrollarrow">
     154                <position>132,247</position>
     155            </statetype>
     156            <statetype name="downscrollarrow">
     157                <position>160,247</position>
     158            </statetype>
     159        </buttonlist>
     160
    104161        <buttonlist name="groups">
    105162            <area>0,353,1280,30</area>
    106163            <spacing>0</spacing>