| 1138 | } |
| 1139 | |
| 1140 | BOOL control_WriteStringToBuffer(BYTE *str) |
| 1141 | { |
| 1142 | int k; |
| 1143 | BYTE ichar; |
| 1144 | |
| 1145 | k = 0; |
| 1146 | while (*str) { |
| 1147 | ichar = gbFontTransTbl[*str]; |
| 1148 | str++; |
| 1149 | k += fontkern[fontframe[ichar]]; |
| 1150 | if (k >= 125) |
| 1151 | return FALSE; |
| 1152 | } |
| 1153 | |
| 1154 | return TRUE; |
| 1155 | } |
| 1156 | |
| 1157 | /** |
| 1158 | * Sets a string to be drawn in the info box and then draws it. |
no outgoing calls
no test coverage detected