summaryrefslogtreecommitdiff
path: root/apps/mudraw.c
diff options
context:
space:
mode:
authorPaul Gardiner <paulg.artifex@glidos.net>2012-09-04 10:11:42 +0100
committerPaul Gardiner <paulg.artifex@glidos.net>2012-09-04 10:11:42 +0100
commit6d085e4322770772f9cf4105954292438dfa0930 (patch)
treef3b260541a048055454b18d0a65ea5f25774737c /apps/mudraw.c
parent769f75087c414d982f33a46c5439ad63b9d4df11 (diff)
downloadmupdf-6d085e4322770772f9cf4105954292438dfa0930.tar.xz
Forms: mass renaming for the sake of consistency
Diffstat (limited to 'apps/mudraw.c')
-rw-r--r--apps/mudraw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/mudraw.c b/apps/mudraw.c
index 28089629..33203749 100644
--- a/apps/mudraw.c
+++ b/apps/mudraw.c
@@ -220,7 +220,7 @@ static void drawpage(fz_context *ctx, fz_document *doc, int pagenum)
}
for (;widget; widget = fz_next_widget(inter, widget))
{
- fz_rect rect = *fz_widget_get_bbox(widget);
+ fz_rect rect = *fz_widget_bbox(widget);
int w = (rect.x1-rect.x0);
int h = (rect.y1-rect.y0);
int len;
@@ -243,8 +243,8 @@ static void drawpage(fz_context *ctx, fz_document *doc, int pagenum)
break;
case FZ_WIDGET_TYPE_TEXT:
{
- int maxlen = fz_widget_text_get_max_len(inter, widget);
- int texttype = fz_widget_text_get_content_type(inter, widget);
+ int maxlen = fz_text_widget_max_len(inter, widget);
+ int texttype = fz_text_widget_content_type(inter, widget);
/* If height is low, assume a single row, and base
* the width off that. */