terminology: Added 'Not Implemented Yet' stub for theme and wallpaper.

SVN revision: 72907
This commit is contained in:
Daniel Juyung Seo 2012-06-27 00:53:57 +00:00
parent 002ca0803b
commit 0f3b3ccdbd
6 changed files with 50 additions and 2 deletions

View File

@ -20,6 +20,8 @@ options.c options.h \
options_behavior.c options_behavior.h \
options_font.c options_font.h \
options_video.c options_video.h \
options_theme.c options_theme.h \
options_wallpaper.c options_wallpaper.h \
termio.c termio.h \
termpty.c termpty.h \
utf8.c utf8.h \

View File

@ -5,6 +5,8 @@
#include "options_font.h"
#include "options_behavior.h"
#include "options_video.h"
#include "options_theme.h"
#include "options_wallpaper.h"
#include "config.h"
#include "termio.h"
@ -21,16 +23,18 @@ _cb_op_font(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
}
static void
_cb_op_theme(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
_cb_op_theme(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
{
elm_box_clear(op_opbox);
options_theme(op_opbox, data);
// XXX: not done yet
}
static void
_cb_op_wallpaper(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
_cb_op_wallpaper(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
{
elm_box_clear(op_opbox);
options_wallpaper(op_opbox, data);
// XXX: not done yet
}

20
src/bin/options_theme.c Normal file
View File

@ -0,0 +1,20 @@
#include "private.h"
#include <Elementary.h>
#include "config.h"
#include "termio.h"
#include "options.h"
#include "options_theme.h"
void
options_theme(Evas_Object *opbox, Evas_Object *term __UNUSED__)
{
Evas_Object *o;
o = elm_label_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, "Not Implemented Yet.");
evas_object_show(o);
elm_box_pack_end(opbox, o);
}

1
src/bin/options_theme.h Normal file
View File

@ -0,0 +1 @@
void options_theme(Evas_Object *opbox, Evas_Object *term);

View File

@ -0,0 +1,20 @@
#include "private.h"
#include <Elementary.h>
#include "config.h"
#include "termio.h"
#include "options.h"
#include "options_wallpaper.h"
void
options_wallpaper(Evas_Object *opbox, Evas_Object *term __UNUSED__)
{
Evas_Object *o;
o = elm_label_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, "Not Implemented Yet.");
evas_object_show(o);
elm_box_pack_end(opbox, o);
}

View File

@ -0,0 +1 @@
void options_wallpaper(Evas_Object *opbox, Evas_Object *term);