? cleartype-344046-1.patch Index: contrib/views_slideshow_singleframe/views_slideshow.js =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_singleframe/Attic/views_slideshow.js,v retrieving revision 1.1.2.1.2.2 diff -u -p -r1.1.2.1.2.2 views_slideshow.js --- contrib/views_slideshow_singleframe/views_slideshow.js 24 Aug 2009 19:46:54 -0000 1.1.2.1.2.2 +++ contrib/views_slideshow_singleframe/views_slideshow.js 28 Aug 2009 06:28:57 -0000 @@ -23,7 +23,9 @@ Drupal.behaviors.viewsSlideshowSingleFra pause:settings.pause==1, prev:(settings.controls > 0)?'#views_slideshow_prev_' + settings.id:null, next:(settings.controls > 0)?'#views_slideshow_next_' + settings.id:null, - pager:(settings.pager > 0)?'#views_slideshow_pager_' + settings.id:null + pager:(settings.pager > 0)?'#views_slideshow_pager_' + settings.id:null, + cleartype:(settings.cleartype), + cleartypeNoBg:(settings.cleartypenobg) }); if (settings.controls > 0) { Index: contrib/views_slideshow_singleframe/views_slideshow_singleframe.views_slideshow.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_singleframe/Attic/views_slideshow_singleframe.views_slideshow.inc,v retrieving revision 1.1.2.1.2.1 diff -u -p -r1.1.2.1.2.1 views_slideshow_singleframe.views_slideshow.inc --- contrib/views_slideshow_singleframe/views_slideshow_singleframe.views_slideshow.inc 24 Aug 2009 19:46:54 -0000 1.1.2.1.2.1 +++ contrib/views_slideshow_singleframe/views_slideshow_singleframe.views_slideshow.inc 28 Aug 2009 06:28:57 -0000 @@ -19,7 +19,9 @@ function views_slideshow_singleframe_vie 'timeout' => array('default' => 5000), 'sort' => array('default' => 1), 'effect' => array('default' => 'fade'), - 'speed' => array('default' => 700) //normal + 'speed' => array('default' => 700), //normal + 'cleartype' => 'true', + 'cleartypenobg' => 'false', ) ); return $options; @@ -116,6 +118,20 @@ function views_slideshow_singleframe_vie '#default_value' =>(isset($view->options['singleframe']['sync'])) ? $view->options['singleframe']['sync'] : 1, '#description' => t('The sync option controls whether the slide transitions occur simultaneously. The default is yes which means that the current slide transitions out as the next slide transitions in. By setting the sync option to no you can get some interesting twists on your transitions.'), ); + $form['singleframe']['cleartype'] = array( + '#type' => 'radios', + '#title' => t('ClearType'), + '#options' => array('true' => t('True'), 'false' => t('False')), + '#default_value' =>(isset($view->options['singleframe']['cleartype'])) ? $view->options['singleframe']['cleartype'] : 'true', + '#description' => t('True if clearType corrections should be applied (for IE). Some background issues could be fixed by setting this to false.'), + ); + $form['singleframe']['cleartypenobg'] = array( + '#type' => 'radios', + '#title' => t('ClearType Background'), + '#options' => array('true' => t('True'), 'false' => t('False')), + '#default_value' =>(isset($view->options['singleframe']['cleartypenobg'])) ? $view->options['singleframe']['cleartypenobg'] : 'false', + '#description' => t('Set to true to disable extra cleartype fixing (leave false to force background color setting on slides)'), + ); } function views_slideshow_singleframe_views_slideshow_options_form_validate(&$form, &$form_state, &$view) { Index: contrib/views_slideshow_thumbnailhover/views_slideshow.js =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_thumbnailhover/Attic/views_slideshow.js,v retrieving revision 1.1.2.2.2.1 diff -u -p -r1.1.2.2.2.1 views_slideshow.js --- contrib/views_slideshow_thumbnailhover/views_slideshow.js 24 Aug 2009 19:46:54 -0000 1.1.2.2.2.1 +++ contrib/views_slideshow_thumbnailhover/views_slideshow.js 28 Aug 2009 06:28:57 -0000 @@ -32,7 +32,9 @@ Drupal.behaviors.viewsSlideshowThumbnail } : null, pagerEvent: (settings.pager_event == 'hoverIntent') ? null : settings.pager_event, prev:(settings.controls > 0)?'#views_slideshow_prev_' + settings.id:null, - next:(settings.controls > 0)?'#views_slideshow_next_' + settings.id:null + next:(settings.controls > 0)?'#views_slideshow_next_' + settings.id:null, + cleartype:(settings.cleartype), + cleartypeNoBg:(settings.cleartypenobg) }; $(settings.targetId).cycle(settings.opts); Index: contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.views_slideshow.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_thumbnailhover/Attic/views_slideshow_thumbnailhover.views_slideshow.inc,v retrieving revision 1.1.2.1.2.2 diff -u -p -r1.1.2.1.2.2 views_slideshow_thumbnailhover.views_slideshow.inc --- contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.views_slideshow.inc 24 Aug 2009 19:46:54 -0000 1.1.2.1.2.2 +++ contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.views_slideshow.inc 28 Aug 2009 06:28:57 -0000 @@ -24,6 +24,8 @@ function views_slideshow_thumbnailhover_ 'fade_value' => array('default' => 0.25), 'hover_breakout' => array('default' => 'teaser'), 'teasers_last' => array('default' => TRUE), + 'cleartype' => 'true', + 'cleartypenobg' => 'false', ), ); return $options; @@ -153,6 +155,20 @@ function views_slideshow_thumbnailhover_ '#default_value' =>$view->options['thumbnailhover']['sync'], '#description' => t('The sync option controls whether the slide transitions occur simultaneously. The default is yes which means that the current slide transitions out as the next slide transitions in. By setting the sync option to no you can get some interesting twists on your transitions.'), ); + $form['thumbnailhover']['cleartype'] = array( + '#type' => 'radios', + '#title' => t('ClearType'), + '#options' => array('true' => t('True'), 'false' => t('False')), + '#default_value' =>(isset($view->options['singleframe']['cleartype'])) ? $view->options['singleframe']['cleartype'] : 'true', + '#description' => t('True if clearType corrections should be applied (for IE). Some background issues could be fixed by setting this to false.'), + ); + $form['thumbnailhover']['cleartypenobg'] = array( + '#type' => 'radios', + '#title' => t('ClearType Background'), + '#options' => array('true' => t('True'), 'false' => t('False')), + '#default_value' =>(isset($view->options['singleframe']['cleartypenobg'])) ? $view->options['singleframe']['cleartypenobg'] : 'false', + '#description' => t('Set to true to disable extra cleartype fixing (leave false to force background color setting on slides)'), + ); } function views_slideshow_thumbnailhover_views_slideshow_options_form_validate(&$form, &$form_state, &$view) { if (!is_numeric($form_state['values']['style_options']['thumbnailhover']['speed'])) {