Subversion Repositories Kolibri OS

Rev

Rev 5761 | Rev 5985 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5761 Rev 5962
Line 187... Line 187...
187
		col = strength * DSBYTE[color_image] / 10;
187
		col = strength * DSBYTE[color_image] / 10;
188
		DSBYTE[color_image] = col;
188
		DSBYTE[color_image] = col;
189
	}
189
	}
190
}
190
}
Line -... Line 191...
-
 
191
 
-
 
192
:void WriteTextLines(dword x,y,byte fontType, dword color, text_pointer, line_h)
-
 
193
{
-
 
194
	dword next_word_pointer = strchr(text_pointer, '\n');
-
 
195
	if (next_word_pointer) WriteTextLines(dword x, y+line_h, byte fontType, dword color, next_word_pointer+2, line_h);
-
 
196
	ESBYTE[next_word_pointer] = NULL;
-
 
197
	WriteText(dword x, y, byte fontType, dword color, text_pointer);
-
 
198
	ESBYTE[next_word_pointer] = '\n';
-
 
199
}
191
 
200
 
192
#endif
201
#endif