Mercurial > fife-parpg
comparison demos/pychan_demo/gui/slider.xml @ 616:c770794d0a4a
Added a simple percentage bar widget along with a quick demo in the sliders portion of the pychan_demo. Note: I have not tested the foreground image feature yet. fixes[t:411]
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 27 Sep 2010 15:38:09 +0000 |
parents | 64738befdf3b |
children |
comparison
equal
deleted
inserted
replaced
615:6f3f5686a56e | 616:c770794d0a4a |
---|---|
5 <Label text="Move the sliders around to position the icon."/> | 5 <Label text="Move the sliders around to position the icon."/> |
6 <HBox><Label hexpand="0" text="X:"/><Label name="xvalue"/></HBox> | 6 <HBox><Label hexpand="0" text="X:"/><Label name="xvalue"/></HBox> |
7 <Slider name="xslider" scale_start="0" scale_end="300"/> | 7 <Slider name="xslider" scale_start="0" scale_end="300"/> |
8 <HBox><Label hexpand="0" text="Y:"/><Label name="yvalue"/></HBox> | 8 <HBox><Label hexpand="0" text="Y:"/><Label name="yvalue"/></HBox> |
9 <Slider name="yslider" scale_start="0" scale_end="300"/> | 9 <Slider name="yslider" scale_start="0" scale_end="300"/> |
10 <HBox><Label hexpand="0" text="Percentage Bar:"/><Label name="pvalue"/></HBox> | |
11 <Slider name="pbarslider" scale_start="0" scale_end="100"/> | |
12 <PercentageBar name="pbar" orientation="0" max_size="300,10" min_size="300,10" foreground_color="128,0,0"/> | |
10 <Button name="closeButton" text="Close"/> | 13 <Button name="closeButton" text="Close"/> |
11 </Window> | 14 </Window> |