summaryrefslogtreecommitdiff
path: root/src/bin/options_font.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-09-02 14:10:31 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-09-02 14:10:31 +0000
commita24f4ba16decc0f5e27c88996f73973cef4d0cae (patch)
tree7b8d102f2d5c818a8a434e234e3160a0654902ee /src/bin/options_font.c
parent2809210fabeb8c3e3a323f874c20a93c6b896c68 (diff)
split options inot more swallows in the terminology theme because this
is eventually how it needs to work as i wanted wallpaper and theme stuff to totally see the terminology txt/bg like wp2 in e17. :) SVN revision: 75941
Diffstat (limited to 'src/bin/options_font.c')
-rw-r--r--src/bin/options_font.c19
1 files changed, 16 insertions, 3 deletions
diff --git a/src/bin/options_font.c b/src/bin/options_font.c
index 18bc0e6..dc97e24 100644
--- a/src/bin/options_font.c
+++ b/src/bin/options_font.c
@@ -215,7 +215,7 @@ options_font_clear(void)
215void 215void
216options_font(Evas_Object *opbox, Evas_Object *term) 216options_font(Evas_Object *opbox, Evas_Object *term)
217{ 217{
218 Evas_Object *o, *bx; 218 Evas_Object *o, *bx, *fr, *bx0;
219 char buf[4096], *file, *fname, *s; 219 char buf[4096], *file, *fname, *s;
220 Eina_List *files, *fontlist, *l; 220 Eina_List *files, *fontlist, *l;
221 Font *f; 221 Font *f;
@@ -225,6 +225,19 @@ options_font(Evas_Object *opbox, Evas_Object *term)
225 225
226 options_font_clear(); 226 options_font_clear();
227 227
228 fr = o = elm_frame_add(opbox);
229 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
230 evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);
231 elm_object_text_set(o, "Font");
232 elm_box_pack_end(opbox, o);
233 evas_object_show(o);
234
235 bx0 = o = elm_box_add(opbox);
236 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
237 evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);
238 elm_object_content_set(fr, o);
239 evas_object_show(o);
240
228 bx = o = elm_box_add(opbox); 241 bx = o = elm_box_add(opbox);
229 elm_box_horizontal_set(o, EINA_TRUE); 242 elm_box_horizontal_set(o, EINA_TRUE);
230 243
@@ -252,7 +265,7 @@ options_font(Evas_Object *opbox, Evas_Object *term)
252 elm_box_pack_end(bx, o); 265 elm_box_pack_end(bx, o);
253 evas_object_show(o); 266 evas_object_show(o);
254 267
255 elm_box_pack_end(opbox, bx); 268 elm_box_pack_end(bx0, bx);
256 evas_object_show(bx); 269 evas_object_show(bx);
257 270
258 it_class = elm_genlist_item_class_new(); 271 it_class = elm_genlist_item_class_new();
@@ -351,7 +364,7 @@ options_font(Evas_Object *opbox, Evas_Object *term)
351 elm_genlist_item_class_free(it_class); 364 elm_genlist_item_class_free(it_class);
352 elm_genlist_item_class_free(it_group); 365 elm_genlist_item_class_free(it_group);
353 366
354 elm_box_pack_end(opbox, o); 367 elm_box_pack_end(bx0, o);
355 evas_object_size_hint_weight_set(opbox, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 368 evas_object_size_hint_weight_set(opbox, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
356 evas_object_size_hint_align_set(opbox, EVAS_HINT_FILL, EVAS_HINT_FILL); 369 evas_object_size_hint_align_set(opbox, EVAS_HINT_FILL, EVAS_HINT_FILL);
357 evas_object_show(o); 370 evas_object_show(o);