forked from enlightenment/terminology
terminology: Added 'Not Implemented Yet' stub for theme and wallpaper.
SVN revision: 72907
This commit is contained in:
parent
002ca0803b
commit
0f3b3ccdbd
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
void options_theme(Evas_Object *opbox, Evas_Object *term);
|
|
@ -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);
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
void options_wallpaper(Evas_Object *opbox, Evas_Object *term);
|
Loading…
Reference in New Issue