summaryrefslogtreecommitdiff
path: root/apps/pdfapp.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-04-04 23:35:45 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-04-04 23:35:45 +0200
commit7cf6ccee8c6b59d8aac17ab6e4673bcb69f5e8d2 (patch)
treeb329db03bae14fca178add9909b78b050345c140 /apps/pdfapp.h
parentefc46353676c27b24f2933dce78305796951a01e (diff)
downloadmupdf-7cf6ccee8c6b59d8aac17ab6e4673bcb69f5e8d2.tar.xz
Le Roi est mort, vive le Roi!
The run-together words are dead! Long live the underscores! The postscript inspired naming convention of using all run-together words has served us well, but it is now time for more readable code. In this commit I have also added the sed script, rename.sed, that I used to convert the source. Use it on your patches and application code.
Diffstat (limited to 'apps/pdfapp.h')
-rw-r--r--apps/pdfapp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/pdfapp.h b/apps/pdfapp.h
index dda637db..feb0a8ce 100644
--- a/apps/pdfapp.h
+++ b/apps/pdfapp.h
@@ -34,7 +34,7 @@ struct pdfapp_s
xps_context *xps;
int pagecount;
- fz_glyphcache *cache;
+ fz_glyph_cache *cache;
/* current view params */
int resolution;
@@ -46,8 +46,8 @@ struct pdfapp_s
int pageno;
fz_rect page_bbox;
float page_rotate;
- fz_displaylist *page_list;
- fz_textspan *page_text;
+ fz_display_list *page_list;
+ fz_text_span *page_text;
pdf_link *page_links;
/* snapback history */