forked from enlightenment/efl
EPhysics: add shoot button to collision test
Style was missing. SVN revision: 73314
This commit is contained in:
parent
9258827a93
commit
04ce52bd10
|
@ -32,6 +32,8 @@ EXTRA_DIST = \
|
||||||
images/bt_jump_pressed.png \
|
images/bt_jump_pressed.png \
|
||||||
images/bt_restart.png \
|
images/bt_restart.png \
|
||||||
images/bt_restart_pressed.png \
|
images/bt_restart_pressed.png \
|
||||||
|
images/bt_shoot.png \
|
||||||
|
images/bt_shoot_pressed.png \
|
||||||
images/collisionL.png \
|
images/collisionL.png \
|
||||||
images/cube-blue.png \
|
images/cube-blue.png \
|
||||||
images/cube-purple.png \
|
images/cube-purple.png \
|
||||||
|
|
|
@ -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) \
|
#define BUTTON_GROUP(_name) \
|
||||||
group { \
|
group { \
|
||||||
name: "elm/button/base/ephysics-test-"#_name; \
|
name: "elm/button/base/ephysics-test-"#_name; \
|
||||||
|
\
|
||||||
|
images { \
|
||||||
|
image: "bt_"##_name##".png" COMP; \
|
||||||
|
image: "bt_"##_name##"_pressed.png" COMP; \
|
||||||
|
} \
|
||||||
\
|
\
|
||||||
parts { \
|
parts { \
|
||||||
\
|
\
|
||||||
|
@ -127,7 +125,8 @@
|
||||||
\
|
\
|
||||||
}
|
}
|
||||||
|
|
||||||
BUTTON_GROUP(restart)
|
|
||||||
BUTTON_GROUP(jump)
|
BUTTON_GROUP(jump)
|
||||||
|
BUTTON_GROUP(restart)
|
||||||
|
BUTTON_GROUP(shoot)
|
||||||
|
|
||||||
#undef BUTTON_GROUP
|
#undef BUTTON_GROUP
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
Loading…
Reference in New Issue