Show
Ignore:
Timestamp:
06/11/07 09:12:09 (18 months ago)
Author:
jordi
Message:

Added a patch by Igor Vagulin which adds text selection and copy to clipboard features. This fixes bug #14.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/DocumentPage.h

    r196 r277  
    1818#if !defined (__DOCUMENT_PAGE_H__) 
    1919#define __DOCUMENT_PAGE_H__ 
     20 
     21typedef struct _GdkRegion GdkRegion; 
    2022 
    2123namespace ePDFView 
     
    4244            gboolean newPage (gint width, gint height); 
    4345            void setSelection (DocumentRectangle &selection, gdouble scale); 
     46            void setSelection (GdkRegion *region); 
    4447 
    4548        protected: 
     
    6265            /// The list of links from the page. 
    6366            GList *m_LinkList; 
    64  
     67            /// Selection region 
     68            GdkRegion *m_Selection; 
     69             
     70            void invertRegion (GdkRegion*); 
    6571            void invertArea (gint x1, gint y1, gint x2, gint y2); 
    6672    };