Enlightenment CVS committal
Author : devilhorns
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_configure.c e_int_config_hinting.c
Log Message:
Reorder Config Panel (alphabetical).
Fix small bug in new hinting dialog where if no hinting has been specified
in evas yet, and bytecode is not avaiable, the radio's ended up empty
(nothing selected) and a hinting could not be chosen.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_configure.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -3 -r1.39 -r1.40
--- e_configure.c 27 Feb 2006 15:18:10 -0000 1.39
+++ e_configure.c 27 Feb 2006 18:39:20 -0000 1.40
@@ -72,6 +72,7 @@
e_configure_standard_item_add(eco, "enlightenment/desktops", _("Desktop
Lock Settings"), e_int_config_desklock);
e_configure_standard_item_add(eco, "enlightenment/desktops", _("Display
Settings"), e_int_config_display);
e_configure_standard_item_add(eco, "enlightenment/e", _("Focus Settings"),
e_int_config_focus);
+ e_configure_standard_item_add(eco, "enlightenment/e", _("Font Display
Hinting"), e_int_config_hinting);
e_configure_standard_item_add(eco, "enlightenment/e", _("Key Binding
Settings"), e_int_config_keybindings);
e_configure_standard_item_add(eco, "enlightenment/favorites", _("Menu
Settings"), e_int_config_menus);
e_configure_standard_item_add(eco, "enlightenment/configuration",
_("Performance Settings"), e_int_config_performance);
@@ -80,7 +81,6 @@
e_configure_standard_item_add(eco, "enlightenment/windows", _("Window List
Settings"), e_int_config_winlist);
e_configure_standard_item_add(eco, "enlightenment/windows", _("Window
Display Settings"), e_int_config_window_display);
e_configure_standard_item_add(eco, "enlightenment/windows", _("Window
Manipulation Settings"), e_int_config_window_manipulation);
- e_configure_standard_item_add(eco, "enlightenment/e", _("Font Display
Hinting"), e_int_config_hinting);
/* FIXME: we should have a way for modules to hook in here and add their
* own entries
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_config_hinting.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_int_config_hinting.c 27 Feb 2006 15:28:52 -0000 1.1
+++ e_int_config_hinting.c 27 Feb 2006 18:39:20 -0000 1.2
@@ -43,6 +43,7 @@
_fill_data(E_Config_Dialog_Data *cfdata)
{
cfdata->hinting = e_config->font_hinting;
+ printf("Hinting: %d\n", e_config->font_hinting);
}
static void *
@@ -88,17 +89,17 @@
rg = e_widget_radio_group_new(&(cfdata->hinting));
if (evas_imaging_font_hinting_can_hint(EVAS_FONT_HINTING_BYTECODE))
{
- ob = e_widget_radio_add(evas, _("Bytecode Hinting"), 0, rg);
+ ob = e_widget_radio_add(evas, _("Bytecode Hinting"),
EVAS_FONT_HINTING_BYTECODE, rg);
e_widget_list_object_append(o, ob, 1, 1, 0.5);
}
if (evas_imaging_font_hinting_can_hint(EVAS_FONT_HINTING_AUTO))
{
- ob = e_widget_radio_add(evas, _("Automatic Hinting"), 1, rg);
+ ob = e_widget_radio_add(evas, _("Automatic Hinting"),
EVAS_FONT_HINTING_AUTO, rg);
e_widget_list_object_append(o, ob, 1, 1, 0.5);
}
if (evas_imaging_font_hinting_can_hint(EVAS_FONT_HINTING_NONE))
{
- ob = e_widget_radio_add(evas, _("No Hinting"), 2, rg);
+ ob = e_widget_radio_add(evas, _("No Hinting"), EVAS_FONT_HINTING_NONE,
rg);
e_widget_list_object_append(o, ob, 1, 1, 0.5);
}
return o;
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs