summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-06-11 19:05:22 +0900
committerMike Blumenkrantz <zmike@samsung.com>2014-06-17 10:30:14 -0400
commit498edbb91848d4e0dec4d059c5a77dee9767b1c0 (patch)
treea9440f9a7a9878e93aff0808d6c7c6a43f1745c1
parentc7ab38f715f1aebd0b0f8ff2770f07985663cbb0 (diff)
theme - syscon - power gadget - fix so we have an actual theme for it
this fixes a pretty ugly bug where a bodhi power gadget was ported in without the graphics being fixed up. this does that in the theme.
-rw-r--r--data/themes/Makefile.am3
-rw-r--r--data/themes/edc/syscon.edc48
-rw-r--r--data/themes/img/btn_round_0.pngbin0 -> 12344 bytes
-rw-r--r--data/themes/img/btn_round_1.pngbin0 -> 14763 bytes
-rw-r--r--data/themes/img/btn_round_2.pngbin0 -> 14857 bytes
-rw-r--r--data/themes/orig/mock-23.xcf.gzbin0 -> 72417 bytes
6 files changed, 51 insertions, 0 deletions
diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am
index 1571c6edd..96eeff5ff 100644
--- a/data/themes/Makefile.am
+++ b/data/themes/Makefile.am
@@ -184,6 +184,9 @@ img/box_outline.png \
184img/bt_base.png \ 184img/bt_base.png \
185img/bt_sig_1.png \ 185img/bt_sig_1.png \
186img/bt_sig_2.png \ 186img/bt_sig_2.png \
187img/btn_round_0.png \
188img/btn_round_1.png \
189img/btn_round_2.png \
187img/bub_base_b0.png \ 190img/bub_base_b0.png \
188img/bub_base_b1.png \ 191img/bub_base_b1.png \
189img/bub_base_b2.png \ 192img/bub_base_b2.png \
diff --git a/data/themes/edc/syscon.edc b/data/themes/edc/syscon.edc
index 0aa5f4044..32bc51c81 100644
--- a/data/themes/edc/syscon.edc
+++ b/data/themes/edc/syscon.edc
@@ -282,3 +282,51 @@ group { name: "e/widgets/syscon/item/button";
282 } 282 }
283 } 283 }
284} 284}
285
286group { name: "e/modules/syscon/button";
287 images.image: "btn_round_0.png" COMP;
288 images.image: "btn_round_1.png" COMP;
289 images.image: "btn_round_2.png" COMP;
290 parts {
291 part { name: "base";
292 description { state: "default" 0.0;
293 image.normal: "btn_round_0.png";
294 aspect: 1.0 1.0; aspect_preference: BOTH;
295 }
296 description { state: "hilight" 0.0;
297 inherit: "default" 0.0;
298 image.normal: "btn_round_1.png";
299 }
300 description { state: "clicked" 0.0;
301 inherit: "default" 0.0;
302 image.normal: "btn_round_2.png";
303 }
304 }
305 }
306 programs {
307 program {
308 signal: "mouse,down,1"; source: "base";
309 action: STATE_SET "clicked" 0.0;
310 target: "base";
311 }
312 program {
313 signal: "mouse,up,1"; source: "base";
314 action: STATE_SET "hilight" 0.0;
315 target: "base";
316 }
317 program {
318 signal: "mouse,in"; source: "base";
319 action: STATE_SET "hilight" 0.0;
320 target: "base";
321 }
322 program {
323 signal: "mouse,out"; source: "base";
324 action: STATE_SET "default" 0.0;
325 target: "base";
326 }
327 program {
328 signal: "mouse,clicked,1*"; source: "base";
329 action: SIGNAL_EMIT "e,action,shutdown,show" "e";
330 }
331 }
332}
diff --git a/data/themes/img/btn_round_0.png b/data/themes/img/btn_round_0.png
new file mode 100644
index 000000000..cdbcf6a38
--- /dev/null
+++ b/data/themes/img/btn_round_0.png
Binary files differ
diff --git a/data/themes/img/btn_round_1.png b/data/themes/img/btn_round_1.png
new file mode 100644
index 000000000..0d5c40df2
--- /dev/null
+++ b/data/themes/img/btn_round_1.png
Binary files differ
diff --git a/data/themes/img/btn_round_2.png b/data/themes/img/btn_round_2.png
new file mode 100644
index 000000000..1221782d3
--- /dev/null
+++ b/data/themes/img/btn_round_2.png
Binary files differ
diff --git a/data/themes/orig/mock-23.xcf.gz b/data/themes/orig/mock-23.xcf.gz
new file mode 100644
index 000000000..8e9560293
--- /dev/null
+++ b/data/themes/orig/mock-23.xcf.gz
Binary files differ