123456789101112131415161718 |
- #include "driver.h"
- #include "driverlib.h"
- void COM_Text(const char *text)
- {
- if (driver->Text) {
- (*driver->Text)(text);
- return;
- }
- if (!font_is_freetype())
- soft_text(cur_x, cur_y, text_size_x, text_size_y, text_rotation,
- text);
- else
- soft_text_freetype(cur_x, cur_y, text_size_x, text_size_y,
- text_rotation, text);
- }
|