Enlightenment CVS committal
Author : onefang
Project : e_modules
Module : flame
Dir : e_modules/flame
Modified Files:
e_mod_config.c e_mod_main.c
Log Message:
The gold option is a big, ugly block of hard coded octal, suffers from not
being pre-mul, and doesn't work right. Not worth fixing up right now, so
I'll take the easy way out and disable gold.
raster and devilhorns have suggested an interesting rewrite, so I might do
that later.
===================================================================
RCS file: /cvs/e/e_modules/flame/e_mod_config.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- e_mod_config.c 12 Nov 2006 22:05:10 -0000 1.29
+++ e_mod_config.c 27 Nov 2006 13:33:32 -0000 1.30
@@ -88,8 +88,8 @@
o = e_widget_list_add (evas, 0, 0);
of = e_widget_framelist_add (evas, D_ ("Flame Color"), 0);
rg = e_widget_radio_group_new (&(cfdata->palette));
- ob = e_widget_radio_add (evas, D_ ("Gold"), GOLD_PALETTE, rg);
- e_widget_framelist_object_append (of, ob);
+// ob = e_widget_radio_add (evas, D_ ("Gold"), GOLD_PALETTE, rg);
+// e_widget_framelist_object_append (of, ob);
ob = e_widget_radio_add (evas, D_ ("Fire"), FIRE_PALETTE, rg);
e_widget_framelist_object_append (of, ob);
ob = e_widget_radio_add (evas, D_ ("Plasma"), PLASMA_PALETTE, rg);
@@ -116,8 +116,8 @@
switch (cfdata->palette)
{
case 1:
- f->conf->palette_type = GOLD_PALETTE; // Gold
- break;
+// f->conf->palette_type = GOLD_PALETTE; // Gold
+// break;
case 2:
f->conf->palette_type = FIRE_PALETTE; //Fire
f->conf->r = 0;
===================================================================
RCS file: /cvs/e/e_modules/flame/e_mod_main.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- e_mod_main.c 17 Jul 2006 23:57:48 -0000 1.26
+++ e_mod_main.c 27 Nov 2006 13:33:32 -0000 1.27
@@ -157,7 +157,8 @@
f->conf->r = 160;
f->conf->g = 40;
f->conf->b = 0;
- f->conf->palette_type = GOLD_PALETTE;
+// f->conf->palette_type = GOLD_PALETTE;
+ f->conf->palette_type = FIRE_PALETTE;
}
E_CONFIG_LIMIT (f->conf->height, 4, 4096);
E_CONFIG_LIMIT (f->conf->hspread, 1, 100);
@@ -168,7 +169,8 @@
E_CONFIG_LIMIT (f->conf->r, 0, 300);
E_CONFIG_LIMIT (f->conf->g, 0, 300);
E_CONFIG_LIMIT (f->conf->b, 0, 300);
- E_CONFIG_LIMIT (f->conf->palette_type, GOLD_PALETTE, CUSTOM_PALETTE);
+// E_CONFIG_LIMIT (f->conf->palette_type, GOLD_PALETTE, CUSTOM_PALETTE);
+ E_CONFIG_LIMIT (f->conf->palette_type, FIRE_PALETTE, CUSTOM_PALETTE);
managers = e_manager_list ();
for (l = managers; l; l = l->next)
@@ -230,8 +232,8 @@
switch (type)
{
case GOLD_PALETTE:
- _flame_palette_gold_set (f->face);
- break;
+// _flame_palette_gold_set (f->face);
+// break;
case FIRE_PALETTE:
_flame_palette_fire_set (f->face);
break;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs