Enlightenment CVS committal
Author : xcomputerman
Project : misc
Module : engage
Dir : misc/engage/src
Modified Files:
config.c window.c
Log Message:
- Update to new ecore_config api
- Use a white outline instead
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/config.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- config.c 6 May 2004 18:06:25 -0000 1.13
+++ config.c 8 May 2004 15:55:33 -0000 1.14
@@ -11,76 +11,76 @@
{
int ret;
- ecore_config_create_int("engage.options.width", 1024, 'W', "width",
+ ecore_config_int_create("engage.options.width", 1024, 'W', "width",
"The overall width of the application area");
- ecore_config_create_int("engage.options.height", 100, 'H', "height",
+ ecore_config_int_create("engage.options.height", 100, 'H', "height",
"The overall height of the application area");
- ecore_config_create_theme("engage.options.theme", "gentoo", 't', "theme",
+ ecore_config_theme_create("engage.options.theme", "gentoo", 't', "theme",
"The theme name to use (minus path and extension)");
/* not technically correct - iconsets should do this, but it looks better for
* everything bar 'gentoo' - and we all have the others installed ;) */
- ecore_config_set_theme_preview_group("engage.options.theme", "Terminal");
- ecore_config_create_string("engage.options.engine", "software", 'e', "engine",
+ ecore_config_theme_preview_group_set("engage.options.theme", "Terminal");
+ ecore_config_string_create("engage.options.engine", "software", 'e', "engine",
"The X11 engine to use - either software or gl");
options.icon_path = PACKAGE_DATA_DIR "/icons/";
- ecore_config_create_int_bound("engage.options.mode", OM_BELOW, 0, 1, 1, 'm',
+ ecore_config_int_create_bound("engage.options.mode", OM_BELOW, 0, 1, 1, 'm',
"mode",
"The display mode, 0 = ontop + shaped, 1 = below +
transp");
- ecore_config_create_int_bound("engage.options.grab_min_icons", 1, 0, 1, 1,
+ ecore_config_int_create_bound("engage.options.grab_min_icons", 1, 0, 1, 1,
'g', "grab-min",
"Capture the icons of minimised applications");
- ecore_config_create_int_bound("engage.options.grab_app_icons", 1, 0, 1, 1,
+ ecore_config_int_create_bound("engage.options.grab_app_icons", 1, 0, 1, 1,
'G', "grab-app",
"Capture the icons of all running applications");
- ecore_config_create_int("engage.options.size", 32, 's', "size",
+ ecore_config_int_create("engage.options.size", 32, 's', "size",
"Size of icons in default state");
- ecore_config_create_int("engage.options.spacing", 4, 'S', "spacing",
+ ecore_config_int_create("engage.options.spacing", 4, 'S', "spacing",
"Space in pixels between each icon");
- ecore_config_create_float("engage.options.zoom_factor", 2.0, 'z', "zoom",
+ ecore_config_float_create("engage.options.zoom_factor", 2.0, 'z', "zoom",
"Zoom factor of the icons - 1.0 == 100% == nozoom");
- ecore_config_create_int("engage.options.arrow_size", 6, 'a', "arrow-size",
+ ecore_config_int_create("engage.options.arrow_size", 6, 'a', "arrow-size",
"Size (in pixels) of the status arrows");
- ecore_config_create_float("engage.options.zoom_duration", 0.1, 'd',
+ ecore_config_float_create("engage.options.zoom_duration", 0.1, 'd',
"zoom-time",
"Time taken (in seconds) for icons to zoom");
- options.tt_txt_color = 0x00000000;
- options.tt_shd_color = 0x7f000000;
- options.bg_fore = 0x7f000000;
- options.bg_back = 0x7fffffff;
- ecore_config_create_string("engage.options.tt_fa", "Vera", 'f', "font",
+ options.tt_txt_color = 0xffffffff;
+ options.tt_shd_color = 0xbf000000;
+ options.bg_fore = 0xffffffff;
+ options.bg_back = 0x3fffffff;
+ ecore_config_string_create("engage.options.tt_fa", "Vera", 'f', "font",
"The font to use for application titles etc.");
- ecore_config_create_int("engage.options.tt_fs", 8, 'F', "font-size",
+ ecore_config_int_create("engage.options.tt_fs", 8, 'F', "font-size",
"The font size (in points)");
- ecore_config_create_float("engage.options.icon_appear_duration", 0.1, 'D',
+ ecore_config_float_create("engage.options.icon_appear_duration", 0.1, 'D',
"appear-time",
"Time taken (in seconds) for new icons to appear");
ecore_config_load();
ret = ecore_config_args_parse(argc, argv);
- options.width = ecore_config_get_int("engage.options.width");
- options.height = ecore_config_get_int("engage.options.height");
- options.engine = ecore_config_get_string("engage.options.engine");
- options.theme = ecore_config_get_theme("engage.options.theme");
- options.mode = ecore_config_get_int("engage.options.mode");
+ options.width = ecore_config_int_get("engage.options.width");
+ options.height = ecore_config_int_get("engage.options.height");
+ options.engine = ecore_config_string_get("engage.options.engine");
+ options.theme = ecore_config_theme_get("engage.options.theme");
+ options.mode = ecore_config_int_get("engage.options.mode");
options.grab_min_icons =
- ecore_config_get_int("engage.options.grab_min_icons");
+ ecore_config_int_get("engage.options.grab_min_icons");
options.grab_app_icons =
- ecore_config_get_int("engage.options.grab_app_icons");
+ ecore_config_int_get("engage.options.grab_app_icons");
- options.size = ecore_config_get_int("engage.options.size");
- options.spacing = ecore_config_get_int("engage.options.spacing");
- options.zoomfactor = ecore_config_get_float("engage.options.zoom_factor");
- options.arrow_size = ecore_config_get_int("engage.options.arrow_size");
+ options.size = ecore_config_int_get("engage.options.size");
+ options.spacing = ecore_config_int_get("engage.options.spacing");
+ options.zoomfactor = ecore_config_float_get("engage.options.zoom_factor");
+ options.arrow_size = ecore_config_int_get("engage.options.arrow_size");
options.dock_zoom_duration =
- ecore_config_get_float("engage.options.zoom_duration");
+ ecore_config_float_get("engage.options.zoom_duration");
- options.tt_fa = ecore_config_get_string("engage.options.tt_fa");
- options.tt_fs = ecore_config_get_int("engage.options.tt_fs");
+ options.tt_fa = ecore_config_string_get("engage.options.tt_fa");
+ options.tt_fs = ecore_config_int_get("engage.options.tt_fs");
options.icon_appear_duration =
- ecore_config_get_float("engage.options.icon_appear_duration");
+ ecore_config_float_get("engage.options.icon_appear_duration");
return ret;
}
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/window.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- window.c 6 May 2004 12:47:20 -0000 1.14
+++ window.c 8 May 2004 15:55:33 -0000 1.15
@@ -114,8 +114,8 @@
#endif
options.width = w;
options.height = h;
- ecore_config_set_int("engage.options.width", w);
- ecore_config_set_int("engage.options.height", h);
+ ecore_config_int_set("engage.options.width", w);
+ ecore_config_int_set("engage.options.height", h);
}
void
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs