add dummy option about key bindings

This commit is contained in:
Boris Faure 2013-12-04 22:07:13 +01:00
parent bb86f4b07b
commit 2ae7fada13
4 changed files with 33 additions and 7 deletions

View File

@ -19,14 +19,15 @@ keyin.c keyin.h \
main.c main.h \
media.c media.h \
options.c options.h \
options_behavior.c options_behavior.h \
options_colors.c options_colors.h \
options_font.c options_font.h \
options_helpers.c options_helpers.h \
options_video.c options_video.h \
options_theme.c options_theme.h \
options_themepv.c options_themepv.h \
options_wallpaper.c options_wallpaper.h \
options_colors.c options_colors.h \
options_behavior.c options_behavior.h \
options_keys.c options_keys.h \
options_helpers.c options_helpers.h \
options_video.c options_video.h \
sel.c sel.h \
termio.c termio.h \
termcmd.c termcmd.h \

View File

@ -3,12 +3,13 @@
#include <Elementary.h>
#include "options.h"
#include "options_font.h"
#include "options_helpers.h"
#include "options_behavior.h"
#include "options_video.h"
#include "options_theme.h"
#include "options_wallpaper.h"
#include "options_colors.h"
#include "options_video.h"
#include "options_behavior.h"
#include "options_keys.h"
#include "options_helpers.h"
#include "config.h"
#include "termio.h"
@ -30,6 +31,7 @@ static enum option_mode {
OPTION_COLORS,
OPTION_VIDEO,
OPTION_BEHAVIOR,
OPTION_KEYS,
OPTION_HELPERS
} _mode = 0;
@ -83,6 +85,7 @@ _cb_opdt_hide_done(void *data, Evas_Object *obj EINA_UNUSED, const char *sig EIN
case OPTION_COLORS: options_colors(op_opbox, data); break;
case OPTION_VIDEO: options_video(op_opbox, data); break;
case OPTION_BEHAVIOR: options_behavior(op_opbox, data); break;
case OPTION_KEYS: options_keys(op_opbox, data); break;
case OPTION_HELPERS: options_helpers(op_opbox, data); break;
}
edje_object_signal_emit(saved_bg, "optdetails,show", "terminology");
@ -148,6 +151,7 @@ options_toggle(Evas_Object *win, Evas_Object *bg, Evas_Object *term,
ITEM_APPEND("preferences-color", "Colors", COLORS);
ITEM_APPEND("preferences-desktop-multimedia", "Video", VIDEO);
ITEM_APPEND("system-run", "Behavior", BEHAVIOR);
ITEM_APPEND("preferences-desktop-keyboard-shortcuts", "Keys", KEYS);
ITEM_APPEND("document-open", "Helpers", HELPERS);
#undef ITEM_APPEND

20
src/bin/options_keys.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_wallpaper.h"
void
options_keys(Evas_Object *opbox, Evas_Object *term EINA_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_keys.h Normal file
View File

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