diff options
author | David Walter Seikel | 2014-05-11 05:00:01 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-11 05:00:01 +1000 |
commit | 8982ca01141f87d3744dd3b5866b05b0117889c6 (patch) | |
tree | 096bcdaa758083efd69e55e361ce52a49fbd04a3 /src/extantz | |
parent | Add physics to the windows. (diff) | |
download | SledjHamr-8982ca01141f87d3744dd3b5866b05b0117889c6.zip SledjHamr-8982ca01141f87d3744dd3b5866b05b0117889c6.tar.gz SledjHamr-8982ca01141f87d3744dd3b5866b05b0117889c6.tar.bz2 SledjHamr-8982ca01141f87d3744dd3b5866b05b0117889c6.tar.xz |
Add internal window title bar, and dragging them around. Plus some related clean ups.
Diffstat (limited to '')
-rw-r--r-- | src/extantz/ephysics_demo.c | 2 | ||||
-rw-r--r-- | src/extantz/woMan.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/extantz/ephysics_demo.c b/src/extantz/ephysics_demo.c index 4655dbb..6ace8a0 100644 --- a/src/extantz/ephysics_demo.c +++ b/src/extantz/ephysics_demo.c | |||
@@ -44,7 +44,7 @@ EPhysics_World *ephysicsAdd(globals *ourGlobals) | |||
44 | ephysics_body_evas_object_set(box_body1, box1, EINA_TRUE); | 44 | ephysics_body_evas_object_set(box_body1, box1, EINA_TRUE); |
45 | ephysics_body_restitution_set(box_body1, 0.7); | 45 | ephysics_body_restitution_set(box_body1, 0.7); |
46 | ephysics_body_friction_set(box_body1, 0); | 46 | ephysics_body_friction_set(box_body1, 0); |
47 | ephysics_body_linear_velocity_set(box_body1, -1500, 2000, 0); | 47 | ephysics_body_linear_velocity_set(box_body1, -150, 20, 0); |
48 | ephysics_body_angular_velocity_set(box_body1, 0, 0, 36); | 48 | ephysics_body_angular_velocity_set(box_body1, 0, 0, 36); |
49 | ephysics_body_sleeping_threshold_set(box_body1, 0.1, 0.1); | 49 | ephysics_body_sleeping_threshold_set(box_body1, 0.1, 0.1); |
50 | eo_unref(box1); | 50 | eo_unref(box1); |
diff --git a/src/extantz/woMan.c b/src/extantz/woMan.c index 2911686..52b3a30 100644 --- a/src/extantz/woMan.c +++ b/src/extantz/woMan.c | |||
@@ -159,7 +159,7 @@ winFang *woMan_add(globals *ourGlobals) | |||
159 | char buf[PATH_MAX]; | 159 | char buf[PATH_MAX]; |
160 | int i; | 160 | int i; |
161 | 161 | ||
162 | me = winFangAdd(ourGlobals->mainWindow, 30, 150, ourGlobals->win_w / 3, ourGlobals->win_h / 3, "virtual world manager", "woMan", ourGlobals->world); | 162 | me = winFangAdd(ourGlobals->mainWindow, 30, 200, ourGlobals->win_w / 3, ourGlobals->win_h / 3, "virtual world manager", "woMan", ourGlobals->world); |
163 | 163 | ||
164 | // A tab thingy. | 164 | // A tab thingy. |
165 | tb = elm_toolbar_add(me->win); | 165 | tb = elm_toolbar_add(me->win); |