Skip to content

Commit

Permalink
Fill theme reference and raise theme generation
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveMDS committed Aug 28, 2016
1 parent d3c127f commit 5aba1d4
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 16 deletions.
22 changes: 11 additions & 11 deletions data/themes/default/default.edc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ data {
item: "theme.version" "0.8";
item: "theme.author" "davemds";
item: "theme.info" "A more long description of the theme";
item: "theme.generation" "6";
item: "theme.generation" "7";
}

images {
Expand Down Expand Up @@ -1509,7 +1509,7 @@ collections {
}

/// audioplayer swallow
part { name: "audioplayer.swallow"; type: SWALLOW; /* API TODOC */
part { name: "audioplayer.swallow"; type: SWALLOW; /* API */
description { state: "default" 0.0; }
}

Expand Down Expand Up @@ -2791,7 +2791,7 @@ collections {
}

/// audioplayer
group { name: "emc/audioplayer/default"; /* API TODOC */
group { name: "emc/audioplayer/default"; /* API */
images.image: "frame2_solid.png" COMP;
images.image: "shadow_far_top.png" COMP;
images.image: "shadow_far_right.png" COMP;
Expand Down Expand Up @@ -2826,7 +2826,7 @@ collections {
align: 1.0 0.5;
}
}
part { name: "cover.swallow"; type: SWALLOW; /* API TODOC */
part { name: "cover.swallow"; type: SWALLOW; /* API */
scale: 1;
description { state: "default" 0.0;
FIXED_SIZE(150, 150)
Expand All @@ -2837,7 +2837,7 @@ collections {
rel2.offset: -10 -7;
}
}
part { name: "playlist.swallow"; type: SWALLOW; /* API TODOC */
part { name: "playlist.swallow"; type: SWALLOW; /* API */
description { state: "default" 0.0;
fixed: 1 1;
rel1.to_x: "main";
Expand Down Expand Up @@ -2883,7 +2883,7 @@ collections {
rel2.offset: -10 -1;
}
}
part { name: "artist.text"; type: TEXT; /* API TODOC */
part { name: "artist.text"; type: TEXT; /* API */
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
Expand All @@ -2903,7 +2903,7 @@ collections {
}
}
}
part { name: "album.text"; type: TEXT; /* API TODOC */
part { name: "album.text"; type: TEXT; /* API */
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
Expand All @@ -2923,7 +2923,7 @@ collections {
}
}
}
part { name: "buttons.box"; type: BOX; /* API TODOC */
part { name: "buttons.box"; type: BOX; /* API */
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "vol.slider";
Expand All @@ -2938,7 +2938,7 @@ collections {
}
}
}
part { name: "vol.slider"; type: SWALLOW; /* API TODOC */
part { name: "vol.slider"; type: SWALLOW; /* API */
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
Expand All @@ -2949,7 +2949,7 @@ collections {
align: 0.5 1.0;
}
}
part { name: "pos.slider"; type: SWALLOW; /* API TODOC */
part { name: "pos.slider"; type: SWALLOW; /* API */
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
Expand Down Expand Up @@ -2998,7 +2998,7 @@ collections {
rel2.relative: 1.0 0.0;
rel2.offset: -1 -7;
}
part { name: "song_and_artist.text"; type: TEXTBLOCK; /* API TODOC */
part { name: "song_and_artist.text"; type: TEXTBLOCK; /* API */
nomouse;
scale: 1;
multiline: 0;
Expand Down
41 changes: 37 additions & 4 deletions doc/theme_reference.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

EpyMC THEMES REFERENCE

All the icons and images in icons.edc must be implemented.
* All the icons and images in icons.edc must be implemented.
* All the elm widgets in elm_extension.edc must be implemented.


### Theme info ################################################################
* Required data items:
Expand Down Expand Up @@ -109,9 +111,14 @@ All the icons and images in icons.edc must be implemented.
"fileman,hide" "emc"


### Slideshow swallow ###
* Required parts:
"slideshow.swallow" -> edje SWALLOW


### Video Player swallow ###
* Required parts:
"videoplayer.swallow" -> edje SWALLOW;
"videoplayer.swallow" -> edje SWALLOW
"videoplayer.subs" -> edje TEXTBLOCK (style: "epymc_subtitles_style")

* Signals received from the application:
Expand All @@ -123,9 +130,9 @@ All the icons and images in icons.edc must be implemented.
"videoplayer,hide,done" ""


### Slideshow swallow ###
### Audio Player swallow ###
* Required parts:
"slideshow.swallow" -> edje SWALLOW
"audioplayer.swallow" -> edje SWALLOW


### Volume ###
Expand Down Expand Up @@ -178,6 +185,32 @@ All the icons and images in icons.edc must be implemented.
"minipos,pause,set" "emc"


### Audio Player ##############################################################
* Group: "emc/audioplayer/default"

* Required parts:
"cover.swallow" -> edje SWALLOW -> EmcImage
"playlist.swallow" -> edje SWALLOW -> elm list
"artist.text" -> edje TEXT
"album.text" -> edje TEXT
"song_and_artist.text" -> edje TEXTBLOCK
"buttons.box" -> edje BOX
"vol.slider" -> edje SMALLOW -> EmcSlider
"pos.slider" -> edje SMALLOW -> EmcSlider

* Signals received from the application:
"audioplayer,show" "emc"
"audioplayer,hide" "emc"
"audioplayer,expand" "emc"
"audioplayer,contract" "emc"

* Signal that should/must be sent to the app:
"audioplayer,show,done"
"audioplayer,hide,done"
"audioplayer,expand,request"
"audioplayer,contract,request"


### Dialog (panel) ############################################################
* Group: "emc/dialog/panel"

Expand Down
2 changes: 1 addition & 1 deletion epymc/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
_clock_time_str = ''
_clock_date_str = ''

_theme_generation = '6'
_theme_generation = '7'

EXPAND_BOTH = evas.EVAS_HINT_EXPAND, evas.EVAS_HINT_EXPAND
EXPAND_HORIZ = evas.EVAS_HINT_EXPAND, 0.0
Expand Down

0 comments on commit 5aba1d4

Please sign in to comment.