fim (0.3-beta-prerelease-1.3) src/Image.h

Summary

 src/Image.h |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

    
download this patch

Patch contents

--- fim-0.3-beta-prerelease.orig/src/Image.h
+++ fim-0.3-beta-prerelease/src/Image.h
@@ -1,4 +1,4 @@
-/* $Id: Image.h 247 2009-05-20 22:04:41Z dezperado $ */
+/* $Id: Image.h 259 2009-10-07 15:08:58Z dezperado $ */
 /*
  Image.h : Image class headers
 
@@ -67,18 +67,18 @@
 
 	bool prev_page(int j=+1);
 	bool next_page(int j=+1);
-	int is_multipage()const;
+	bool is_multipage()const;
 	bool have_nextpage(int j=1)const;
 	bool have_prevpage(int j=1)const;
 
 	private:
 	Image& operator= (const Image &i){return *this;/* a nilpotent assignation */}
-	float            scale    ;	/* viewport variables */
-	float            ascale   ;
-	float            newscale ;
-	float            angle	  ;
-	float            newangle ;
-	int		 page ;
+	fim_scale_t            scale;	/* viewport variables */
+	fim_scale_t            ascale;
+	fim_scale_t            newscale;
+	fim_scale_t            angle;
+	fim_scale_t            newangle;
+	fim_page_t		 page;
 
 	/* virtual stuff */
 	public://TMP
@@ -129,6 +129,8 @@
 	/* viewport methods ? */
 	int scale_increment(double ds);
 	int scale_multiply (double sm);
+	bool negate ();/* let's read e-books by consuming less power :) */
+	bool gray_negate();
 
 	bool check_invalid();
 	bool check_valid();
@@ -137,6 +139,7 @@
 	int original_width();
 	int height();
 	int original_height();
+	bool goto_page(int j);
 
 	Image * getClone();
 //	void resize(int nw, int nh);