comparison src/printing.cpp @ 174:636a24c76232

Rename some classes to add a SL prefix to their names.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 20 Sep 2017 09:43:11 +0300
parents c54ad71c1205
children d61405758cc9
comparison
equal deleted inserted replaced
173:93f6097fe40d 174:636a24c76232
150 ctx.setFont(font1); 150 ctx.setFont(font1);
151 151
152 int nline = 0; 152 int nline = 0;
153 while (query.next()) 153 while (query.next())
154 { 154 {
155 PersonInfo info; 155 SLPersonInfo info;
156 slGetPersonInfoRec(query, info); 156 slGetPersonInfoRec(query, info);
157 157
158 // Check for end of page 158 // Check for end of page
159 // KLUDGE for now 159 // KLUDGE for now
160 if (getPageInfo && ctx.lfq(10) >= APP_PRINT_HEIGHT - ctx.boundRect().height() * 1.5f) 160 if (getPageInfo && ctx.lfq(10) >= APP_PRINT_HEIGHT - ctx.boundRect().height() * 1.5f)