aboutsummaryrefslogtreecommitdiffstats
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
parentand up ver to 1.7.99 now in svn. nack to svnrev num at end. (diff)
downloadterminology-a24f4ba16decc0f5e27c88996f73973cef4d0cae.tar.gz
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)
void
options_font(Evas_Object *opbox, Evas_Object *term)
{
- Evas_Object *o, *bx;
+ Evas_Object *o, *bx, *fr, *bx0;
char buf[4096], *file, *fname, *s;
Eina_List *files, *fontlist, *l;
Font *f;
@@ -225,6 +225,19 @@ options_font(Evas_Object *opbox, Evas_Object *term)
options_font_clear();
+ fr = o = elm_frame_add(opbox);
+ evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);
+ elm_object_text_set(o, "Font");
+ elm_box_pack_end(opbox, o);
+ evas_object_show(o);
+
+ bx0 = o = elm_box_add(opbox);
+ evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);
+ elm_object_content_set(fr, o);
+ evas_object_show(o);
+
bx = o = elm_box_add(opbox);
elm_box_horizontal_set(o, EINA_TRUE);
@@ -252,7 +265,7 @@ options_font(Evas_Object *opbox, Evas_Object *term)
elm_box_pack_end(bx, o);
evas_object_show(o);
- elm_box_pack_end(opbox, bx);
+ elm_box_pack_end(bx0, bx);
evas_object_show(bx);
it_class = elm_genlist_item_class_new();
@@ -351,7 +364,7 @@ options_font(Evas_Object *opbox, Evas_Object *term)
elm_genlist_item_class_free(it_class);
elm_genlist_item_class_free(it_group);
- elm_box_pack_end(opbox, o);
+ elm_box_pack_end(bx0, o);
evas_object_size_hint_weight_set(opbox, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(opbox, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_show(o);