author | llornkcor <llornkcor> | 2002-08-16 15:11:58 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-08-16 15:11:58 (UTC) |
commit | c150d03ae4d626c57531f89413710033d1ef5151 (patch) (unidiff) | |
tree | a90bc5aed4cbf599afb2426b60fddd5325588673 | |
parent | d2b6865d77966af46e04d077e470c8162a91ecb0 (diff) | |
download | opie-c150d03ae4d626c57531f89413710033d1ef5151.zip opie-c150d03ae4d626c57531f89413710033d1ef5151.tar.gz opie-c150d03ae4d626c57531f89413710033d1ef5151.tar.bz2 |
player2 skins doc
-rw-r--r-- | docs/opieplayer2_skins_en.txt | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/docs/opieplayer2_skins_en.txt b/docs/opieplayer2_skins_en.txt new file mode 100644 index 0000000..49eefa5 --- a/dev/null +++ b/docs/opieplayer2_skins_en.txt | |||
@@ -0,0 +1,49 @@ | |||
1 | This document descibes how to make opieplayer2 skins. | ||
2 | |||
3 | First decide on a name for your skin, and make a directory in the opieplayer2 skins | ||
4 | directory. | ||
5 | |||
6 | mkdir $OPIEDIR/pics/opieplayer2/skins/someCoolSkin | ||
7 | |||
8 | In this example, the name of your skin will be someCoolSkin, | ||
9 | and will appear in the View menu of the player. | ||
10 | |||
11 | You can copy the files from the default skin to look at and use. | ||
12 | |||
13 | The skins work off of an indexed mode black image mask to position where the button | ||
14 | should be. The skin_up and skin_down images show how all the buttons | ||
15 | are to be drawn when pressed and released. | ||
16 | |||
17 | **** All _mask_ files need to be indexed mode png images with an alpha background **** | ||
18 | |||
19 | You will need _all_ these files: | ||
20 | |||
21 | |||
22 | background.png general background pixmap (rgb) | ||
23 | skin_down.png audio button skin for when buttona are pressed (rgb) | ||
24 | skin_mask_back.png audio scan back through file button mask (indexed) | ||
25 | skin_mask_down.png audio volume lower button mask (indexed) | ||
26 | skin_mask_forward.png audio scan forward through file button mask (indexed) | ||
27 | skin_mask_loop.png audio loop mode button mask (indexed) | ||
28 | skin_mask_next.png audio go to next in playlist button mask (indexed)d | ||
29 | skin_mask_playlist.png audio stop audio and show playlist button mask (indexed) | ||
30 | skin_mask_play.png audio play button mask (indexed) | ||
31 | skin_mask_prev.png audio go to previous file in playlist button mask (indexed) | ||
32 | skin_mask_stop.png audio stop button mask (indexed) | ||
33 | skin_mask_up.png audio volume louder button mask (indexed) | ||
34 | skin_up.png audio button skin for when buttons are released (indexed) | ||
35 | skinV_down.png video button skin for when buttons are pressed (rgb) | ||
36 | skinV_mask_back.png video move forward through playlist button mask (indexed) | ||
37 | skinV_mask_down.png video volume lower button mask (indexed) | ||
38 | skinV_mask_full.png video change to full screen mode button mask (indexed) | ||
39 | skinV_mask_fwd.png video move forward through playlist button mask (indexed) | ||
40 | skinV_mask_play.png video play button mask (indexed) | ||
41 | skinV_mask_stop.png video stop button mask (indexed) | ||
42 | skinV_mask_up.png video volume louder button mask (indexed) | ||
43 | skinV_up.png video button skin for when buttons are released (rgb) | ||
44 | |||
45 | |||
46 | You can position the buttons anywhere using the button mask. The skin_up and skin_down images | ||
47 | should correspond to the mask positions, otherwise they wont work. | ||
48 | Video skins do not have much choice in button location. | ||
49 | |||