Only in .: patch.patch
Only in ./theme: vote_up_down_alt_points.tpl.php
Only in ./theme: vote_up_down_points_combined.tpl.php
Only in ./theme: vote_up_down_widget_combined.tpl.php
diff -upr ../vote_old/vote_up_down.css ./vote_up_down.css
--- ../vote_old/vote_up_down.css	2009-01-29 19:42:12.000000000 +0100
+++ ./vote_up_down.css	2009-07-11 22:54:57.000000000 +0200
@@ -19,6 +19,8 @@
   text-decoration: none;
   width: 15px;
   height: 16px;
+  margin-left: auto;
+  margin-right: auto;
 }
 
 a.vote-up-inact, a.vote-down-inact, span.vote-up-inact, span.vote-down-inact {
@@ -104,6 +106,12 @@ a.vote-up-act, a.vote-down-act, span.vot
   background: url(images/plus_inact.png) no-repeat center 3px;
 }
 
+.vote-up-down-widget-points-value {
+  text-align: center;
+  width: 100%;
+  font-size: 10px;
+}
+
 * html .vote-up-down-widget-alt .vote-up-act,
 * html .vote-up-down-widget-alt .vote-up-inact,
 * html .vote-up-down-widget-alt .up-inact {
diff -upr ../vote_old/vote_up_down.module ./vote_up_down.module
--- ../vote_old/vote_up_down.module	2009-03-25 21:15:23.000000000 +0100
+++ ./vote_up_down.module	2009-07-11 23:01:35.000000000 +0200
@@ -6,9 +6,9 @@
  * Allows adding an up/down voting widget to selected content types & comments.
  */
 
-// if (module_exists('views')) {
-//   module_load_include('inc', 'vote_up_down', 'vote_up_down_views');
-//  }
+if (module_exists('views')) {
+  module_load_include('inc', 'vote_up_down', 'vote_up_down_views');
+}
 
 // if (module_exists('actions')) {
 //   module_load_include('inc', 'vote_up_down', 'vote_up_down_actions');
@@ -57,7 +57,7 @@ function vote_up_down_admin_settings() {
     '#type' => 'radios',
     '#title' => t('Vote widget style'),
     '#default_value' => variable_get('vote_up_down_widget_style_node', 0),
-    '#options' => array(0 => t('Default +1/-1 vote style'), 1 => t('Alternative +1 vote style')),
+    '#options' => array(0 => t('Default +1/-1 vote style'), 1 => t('Alternative +1 vote style'), 2 => t('+1/-1 with points display style')),
     '#description' => t('If set to alternative style, it\'s recomended to turn off the link display of vote points.'),
   );
   $form['vote_widget_settings_node']['vote_up_down_widget_node'] = array(
@@ -203,6 +203,13 @@ function vote_up_down_menu() {
   return $items;
 }
 
+function vote_up_down_get_widget_node_style() {
+    $map = array(0 => '',
+                 1 => '_alt',
+                 2 => '_combined');
+    return $map[variable_get('vote_up_down_widget_style_node', 0)];
+}
+
 /**
  * Implementation of hook_nodeapi().
  */
@@ -212,7 +219,7 @@ function vote_up_down_nodeapi(&$node, $o
       if (user_access('view up/down votes')) {
         $node_type = in_array($node->type, variable_get('vote_up_down_node_types', array()), TRUE);
         if ($node_type) {
-          $style = variable_get('vote_up_down_widget_style_node', 0) == 1 ? 'alt' : '';
+          $style = vote_up_down_get_widget_node_style();
           if ($teaser && variable_get('vote_up_down_widget_node', 0) && variable_get('vote_up_down_widget_node', 0) != 2) {
             $node->content['vote_up_down'] = array(
               '#value' => theme("vote_up_down_widget$style", $node->nid, 'node'),
@@ -240,7 +247,7 @@ function vote_up_down_preprocess_node(&$
     $node = $variables['node'];
     $node_type = in_array($node->type, variable_get('vote_up_down_node_types', array()), TRUE);
     if ($node->nid && $node_type) {
-      $style = variable_get('vote_up_down_widget_style_node', 0) == 1 ? '_alt' : '';
+      $style = vote_up_down_get_widget_node_style();
       $variables['vote_up_down'] = theme("vote_up_down_widget$style", $node->nid, 'node');
     }
   }
@@ -300,7 +307,7 @@ function vote_up_down_link($type, $node 
             'html' => TRUE,
           );
         }
-        else if (!$teaser && variable_get('vote_up_down_link_node', 0) > 1 && $style != "_alt") {
+        else if (!$teaser && variable_get('vote_up_down_link_node', 0) > 1 && !in_array($style, array("_alt", "_combined"))) {
           $links['vote_up_down_points'] = array(
             'title' => theme('vote_up_down_points', $node->cid, $type),
             'html' => TRUE,
@@ -569,8 +576,8 @@ function vote_up_down_vote($type, $cid, 
     }
 
     if ($ajax) {
-      $style = ($alt == TRUE ? 'alt' : '');
-      print theme('vote_up_down_points', $cid, $type, NULL, $style);
+      $style = vote_up_down_get_widget_node_style();
+      print theme("vote_up_down_points$style", $cid, $type, NULL, $style);
       exit();
     }
     else {
@@ -649,6 +656,15 @@ function template_preprocess_vote_up_dow
   }
 }
 
+function template_preprocess_vote_up_down_widget_combined(&$variables) {
+    template_preprocess_vote_up_down_widget($variables);
+    template_preprocess_vote_up_down_points($variables);
+}
+
+function template_preprocess_vote_up_down_points_combined(&$variables) {
+    template_preprocess_vote_up_down_points($variables);
+}
+
 /**
  * Preprocessing function for the widget in the alternate +1 style.
  */
@@ -788,6 +804,14 @@ function vote_up_down_theme() {
       ),
       'template' => 'theme/vote_up_down_widget_alt',
     ),
+    'vote_up_down_widget_combined' => array(
+      'file' => 'vote_up_down.module',
+      'arguments' => array(
+        'cid' => NULL,
+        'type' => NULL,
+      ),
+      'template' => 'theme/vote_up_down_widget_combined',
+    ),
     'vote_up_down_points' => array(
       'file' => 'vote_up_down.module',
       'arguments' => array(
@@ -798,6 +822,26 @@ function vote_up_down_theme() {
       ),
       'template' => 'theme/vote_up_down_points',
     ),
+    'vote_up_down_points_alt' => array(
+      'file' => 'vote_up_down.module',
+      'arguments' => array(
+        'cid' => NULL,
+        'type' => NULL,
+        'tag' => NULL,
+        'style' => NULL,
+      ),
+      'template' => 'theme/vote_up_down_points_alt',
+    ),
+    'vote_up_down_points_combined' => array(
+      'file' => 'vote_up_down.module',
+      'arguments' => array(
+        'cid' => NULL,
+        'type' => NULL,
+        'tag' => NULL,
+        'style' => NULL,
+      ),
+      'template' => 'theme/vote_up_down_points_combined',
+    ),
     'vote_up_down_whovoted_block' => array(
       'file' => 'vote_up_down.module',
       'arguments' => array(
diff -upr ../vote_old/vote_up_down_views.inc ./vote_up_down_views.inc
--- ../vote_old/vote_up_down_views.inc	2008-10-08 18:42:21.000000000 +0200
+++ ./vote_up_down_views.inc	2009-07-11 23:02:09.000000000 +0200
@@ -8,4 +8,17 @@
 
 function vote_up_down_views_default_views() {
 
+}
+
+function vote_up_down_votingapi_views_formatters($details = array()) {
+  if ($details->field == 'value') {
+    return array(
+      'vote_up_down_views_widget_normal_handler' => t('Vote Up/Down'),
+    );
+  }
+}
+
+function vote_up_down_views_widget_normal_handler($value, $field, $columns) {
+    $style = vote_up_down_get_widget_node_style();
+    return theme("vote_up_down_widget$style", $columns->nid, 'node');
 }
\ No newline at end of file
