aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz/chat.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-03 23:40:48 +1000
committerDavid Walter Seikel2014-05-03 23:40:48 +1000
commit160c161b57595fdae637936c50a162d193f1a982 (patch)
tree4400c1a5e91e402e9af612fecec61aed152d2e30 /src/extantz/chat.c
parentWhite space clean ups from uncrustify. (diff)
downloadSledjHamr-160c161b57595fdae637936c50a162d193f1a982.zip
SledjHamr-160c161b57595fdae637936c50a162d193f1a982.tar.gz
SledjHamr-160c161b57595fdae637936c50a162d193f1a982.tar.bz2
SledjHamr-160c161b57595fdae637936c50a162d193f1a982.tar.xz
More shuffling of gld -> ourGlobals and related cleanups.
Diffstat (limited to '')
-rw-r--r--src/extantz/chat.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/extantz/chat.c b/src/extantz/chat.c
index 12f4d20..4ad5033 100644
--- a/src/extantz/chat.c
+++ b/src/extantz/chat.c
@@ -1,6 +1,5 @@
1#include "extantz.h" 1#include "extantz.h"
2 2
3
4void chat_add(globals *ourGlobals) 3void chat_add(globals *ourGlobals)
5{ 4{
6 Evas_Object *win, *bx, *en; 5 Evas_Object *win, *bx, *en;
@@ -8,10 +7,10 @@ void chat_add(globals *ourGlobals)
8 win = fang_win_add(ourGlobals); 7 win = fang_win_add(ourGlobals);
9 8
10 bx = eo_add(ELM_OBJ_BOX_CLASS, win); 9 bx = eo_add(ELM_OBJ_BOX_CLASS, win);
11 eo_do(bx, 10 eo_do(bx,
12 evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND), 11 evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND),
13 evas_obj_size_hint_align_set(EVAS_HINT_FILL, EVAS_HINT_FILL) 12 evas_obj_size_hint_align_set(EVAS_HINT_FILL, EVAS_HINT_FILL)
14 ); 13 );
15 elm_win_resize_object_add(win, bx); 14 elm_win_resize_object_add(win, bx);
16 15
17 en = eo_add(ELM_OBJ_ENTRY_CLASS, win); 16 en = eo_add(ELM_OBJ_ENTRY_CLASS, win);
@@ -22,7 +21,7 @@ void chat_add(globals *ourGlobals)
22 evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND), 21 evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND),
23 evas_obj_size_hint_align_set(EVAS_HINT_FILL, EVAS_HINT_FILL), 22 evas_obj_size_hint_align_set(EVAS_HINT_FILL, EVAS_HINT_FILL),
24 evas_obj_visibility_set(EINA_TRUE) 23 evas_obj_visibility_set(EINA_TRUE)
25 ); 24 );
26 elm_box_pack_end(bx, en); 25 elm_box_pack_end(bx, en);
27 eo_unref(en); 26 eo_unref(en);
28 27
@@ -31,12 +30,12 @@ void chat_add(globals *ourGlobals)
31 eo_do(en, 30 eo_do(en,
32 elm_obj_entry_scrollable_set(EINA_TRUE), 31 elm_obj_entry_scrollable_set(EINA_TRUE),
33// TODO - Setting editable to TRUE is what hangs up extantz on exit. 32// TODO - Setting editable to TRUE is what hangs up extantz on exit.
34// elm_obj_entry_editable_set(EINA_TRUE), 33// elm_obj_entry_editable_set(EINA_TRUE),
35 elm_obj_entry_editable_set(EINA_FALSE), 34 elm_obj_entry_editable_set(EINA_FALSE),
36 evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND), 35 evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND),
37 evas_obj_size_hint_align_set(EVAS_HINT_FILL, EVAS_HINT_FILL), 36 evas_obj_size_hint_align_set(EVAS_HINT_FILL, EVAS_HINT_FILL),
38 evas_obj_visibility_set(EINA_TRUE) 37 evas_obj_visibility_set(EINA_TRUE)
39 ); 38 );
40 elm_box_pack_end(bx, en); 39 elm_box_pack_end(bx, en);
41 eo_unref(en); 40 eo_unref(en);
42 41