summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-03-04 17:47:54 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-03-04 17:47:54 +0900
commitc4a1e50c4ff519be95491f1b02700e01866d6db0 (patch)
treec403fdd4c2a526302b7f1f427ef2ed74198831b2 /config
parentadfe7fbcd3f4146d84219de7dbb5a273d89f396e (diff)
elm - focus feature - add config option to automatically show/hide focus
this adds logic in elm widget and elm win to figure out how to automatically show a focus hilight when switching focus, or to hide it. this really should be the default mode, thus in all default profiles (default, standard, mobile) it's turned on. this means if you tab or shif+tab or use arrow keys to switch focus, the focus hilight will magicallly appear. click with a mouse to change focus and it'll disappear assuming you want to use the mouse to do things. If focus is explicitly turned on in config or in the window by api, then this has no effect and focus will remain on all the time. this adds apis to change these config values and options in the default elm config tool to swizzle them as well as config upgrade handling for existing configs. @feature
Diffstat (limited to 'config')
-rw-r--r--config/default/base.src.in4
-rw-r--r--config/mobile/base.src.in4
-rw-r--r--config/standard/base.src.in4
3 files changed, 9 insertions, 3 deletions
diff --git a/config/default/base.src.in b/config/default/base.src.in
index e29aeb2ed..a0245f3b9 100644
--- a/config/default/base.src.in
+++ b/config/default/base.src.in
@@ -1,5 +1,5 @@
1group "Elm_Config" struct { 1group "Elm_Config" struct {
2 value "config_version" int: 131073; 2 value "config_version" int: 131074;
3 value "engine" string: ""; 3 value "engine" string: "";
4 value "vsync" uchar: 0; 4 value "vsync" uchar: 0;
5 value "thumbscroll_enable" uchar: 1; 5 value "thumbscroll_enable" uchar: 1;
@@ -94,6 +94,8 @@ group "Elm_Config" struct {
94 value "audio_mute_input" uchar: 0; 94 value "audio_mute_input" uchar: 0;
95 value "audio_mute_alert" uchar: 0; 95 value "audio_mute_alert" uchar: 0;
96 value "audio_mute_all" uchar: 0; 96 value "audio_mute_all" uchar: 0;
97 value "win_auto_focus_enable" uchar: 1;
98 value "win_auto_focus_animate" uchar: 1;
97 group "color_palette" list { 99 group "color_palette" list {
98 group "Elm_Custom_Palette" struct { 100 group "Elm_Custom_Palette" struct {
99 value "palette_name" string: "default"; 101 value "palette_name" string: "default";
diff --git a/config/mobile/base.src.in b/config/mobile/base.src.in
index ee0911577..e9db0a20d 100644
--- a/config/mobile/base.src.in
+++ b/config/mobile/base.src.in
@@ -1,5 +1,5 @@
1group "Elm_Config" struct { 1group "Elm_Config" struct {
2 value "config_version" int: 131073; 2 value "config_version" int: 131074;
3 value "engine" string: ""; 3 value "engine" string: "";
4 value "vsync" uchar: 0; 4 value "vsync" uchar: 0;
5 value "thumbscroll_enable" uchar: 1; 5 value "thumbscroll_enable" uchar: 1;
@@ -98,6 +98,8 @@ group "Elm_Config" struct {
98 value "audio_mute_input" uchar: 0; 98 value "audio_mute_input" uchar: 0;
99 value "audio_mute_alert" uchar: 0; 99 value "audio_mute_alert" uchar: 0;
100 value "audio_mute_all" uchar: 0; 100 value "audio_mute_all" uchar: 0;
101 value "win_auto_focus_enable" uchar: 1;
102 value "win_auto_focus_animate" uchar: 1;
101 group "color_palette" list { 103 group "color_palette" list {
102 group "Elm_Custom_Palette" struct { 104 group "Elm_Custom_Palette" struct {
103 value "palette_name" string: "default"; 105 value "palette_name" string: "default";
diff --git a/config/standard/base.src.in b/config/standard/base.src.in
index 2ee0271bc..9cae3a1cd 100644
--- a/config/standard/base.src.in
+++ b/config/standard/base.src.in
@@ -1,5 +1,5 @@
1group "Elm_Config" struct { 1group "Elm_Config" struct {
2 value "config_version" int: 131073; 2 value "config_version" int: 131074;
3 value "engine" string: ""; 3 value "engine" string: "";
4 value "vsync" uchar: 0; 4 value "vsync" uchar: 0;
5 value "thumbscroll_enable" uchar: 0; 5 value "thumbscroll_enable" uchar: 0;
@@ -95,6 +95,8 @@ group "Elm_Config" struct {
95 value "audio_mute_input" uchar: 0; 95 value "audio_mute_input" uchar: 0;
96 value "audio_mute_alert" uchar: 0; 96 value "audio_mute_alert" uchar: 0;
97 value "audio_mute_all" uchar: 0; 97 value "audio_mute_all" uchar: 0;
98 value "win_auto_focus_enable" uchar: 1;
99 value "win_auto_focus_animate" uchar: 1;
98 group "color_palette" list { 100 group "color_palette" list {
99 group "Elm_Custom_Palette" struct { 101 group "Elm_Custom_Palette" struct {
100 value "palette_name" string: "default"; 102 value "palette_name" string: "default";