Changeset 67

Show
Ignore:
Timestamp:
12/11/11 18:10:26 (5 months ago)
Author:
mirko
Message:

distributing man file. still missing man file installation.

Location:
trunk
Files:
1 added
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.am

    r26 r67  
    55 
    66#Build in these directories: 
    7 SUBDIRS = src m4 
     7SUBDIRS = src  
    88 
    99#Distribute these directories: 
    10 DIST_SUBDIRS = src m4 
     10DIST_SUBDIRS = src m4 man 
    1111 
    1212EXTRA_DIST = autogen.sh 
  • trunk/configure.ac

    r64 r67  
    6060AC_OUTPUT(Makefile \ 
    6161          src/Makefile \ 
    62           m4/Makefile 
     62          m4/Makefile \ 
     63          man/Makefile 
    6364) 
  • trunk/src/pdfcube.cc

    r65 r67  
    7373}; 
    7474 
     75enum imagescale_t { IMAGE_FILL, IMAGE_SCALE, IMAGE_ZOOM }; 
     76 
     77static GtkWidget* window; 
     78 
     79static imagescale_t imagescale = IMAGE_FILL; 
    7580static gboolean fullscreen; 
    7681static gboolean animating = FALSE; 
    77 animation active_animation = ANIM_NONE; 
    78 animation previous_animation = ANIM_NONE; 
    79 animation last_animation = ANIM_NONE; 
     82static animation active_animation = ANIM_NONE; 
     83static animation previous_animation = ANIM_NONE; 
     84static animation last_animation = ANIM_NONE; 
    8085 
    8186// Cube Transitions on the command line  
     
    135140    page = poppler_document_get_page(d, 1); 
    136141    poppler_page_get_size(page, &w, &h); 
    137     tex_width = 1024; 
    138     tex_height = 768; 
     142 
     143    /* 
     144      GdkScreen* screen = gdk_screen_get_default(); 
     145      gint monitor_num = gdk_screen_get_monitor_at_window(gdk_screen_get_default(),  
     146      window->window); 
     147      GdkRectangle dest; 
     148      gdk_screen_get_monitor_geometry(screen, 
     149      monitor_num, 
     150      &dest); 
     151       
     152    std::cerr << dest.width << " " << dest.height << std::endl; 
     153    */ 
     154    tex_width = 320; 
     155    tex_height = 240; 
    139156    pixmap = 
    140157      cairo_image_surface_create(CAIRO_FORMAT_ARGB32,  
     
    18601877{ 
    18611878 
    1862   GtkWidget * 
    1863     window; 
    18641879  GdkGLConfig * 
    18651880    glconfig; 
     
    19952010    exit(1); 
    19962011  } 
     2012 
     2013  /* Create and show the application window. */ 
     2014  window = create_window(glconfig); 
    19972015 
    19982016  pc = new pdfcube(document); 
     
    20292047        } 
    20302048    } 
    2031    
    2032   /* Create and show the application window. */ 
    2033   window = create_window(glconfig); 
    2034    
     2049     
    20352050  if(vm.count("no-fullscreen")) 
    20362051    fullscreen = FALSE;