diff --git a/legacy/ephysics/data/themes/Makefile.am b/legacy/ephysics/data/themes/Makefile.am index 8aac2f36be..e535f92e47 100644 --- a/legacy/ephysics/data/themes/Makefile.am +++ b/legacy/ephysics/data/themes/Makefile.am @@ -32,6 +32,8 @@ EXTRA_DIST = \ images/bt_jump_pressed.png \ images/bt_restart.png \ images/bt_restart_pressed.png \ + images/bt_shoot.png \ + images/bt_shoot_pressed.png \ images/collisionL.png \ images/cube-blue.png \ images/cube-purple.png \ diff --git a/legacy/ephysics/data/themes/buttons.edc b/legacy/ephysics/data/themes/buttons.edc index 0fe801c07d..8409f05997 100644 --- a/legacy/ephysics/data/themes/buttons.edc +++ b/legacy/ephysics/data/themes/buttons.edc @@ -1,13 +1,11 @@ - images { - image: "bt_jump.png" COMP; - image: "bt_jump_pressed.png" COMP; - image: "bt_restart.png" COMP; - image: "bt_restart_pressed.png" COMP; - } - #define BUTTON_GROUP(_name) \ group { \ name: "elm/button/base/ephysics-test-"#_name; \ + \ + images { \ + image: "bt_"##_name##".png" COMP; \ + image: "bt_"##_name##"_pressed.png" COMP; \ + } \ \ parts { \ \ @@ -127,7 +125,8 @@ \ } -BUTTON_GROUP(restart) BUTTON_GROUP(jump) +BUTTON_GROUP(restart) +BUTTON_GROUP(shoot) #undef BUTTON_GROUP diff --git a/legacy/ephysics/data/themes/images/bt_shoot.png b/legacy/ephysics/data/themes/images/bt_shoot.png new file mode 100644 index 0000000000..a325bdb4a0 Binary files /dev/null and b/legacy/ephysics/data/themes/images/bt_shoot.png differ diff --git a/legacy/ephysics/data/themes/images/bt_shoot_pressed.png b/legacy/ephysics/data/themes/images/bt_shoot_pressed.png new file mode 100644 index 0000000000..40fd83dd20 Binary files /dev/null and b/legacy/ephysics/data/themes/images/bt_shoot_pressed.png differ