diff options
Diffstat (limited to 'src/pong/ao_pong_text.h')
-rw-r--r-- | src/pong/ao_pong_text.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/pong/ao_pong_text.h b/src/pong/ao_pong_text.h new file mode 100644 index 00000000..c604f984 --- /dev/null +++ b/src/pong/ao_pong_text.h @@ -0,0 +1,26 @@ +/* + * Copyright © 2017 Keith Packard <keithp@keithp.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + */ + +#ifndef _AO_PONG_TEXT_ +#define _AO_PONG_TEXT_ + +void +ao_pong_text(const struct ao_bitmap *dst, + int16_t x, + int16_t y, + char *string); + +extern const struct ao_font ao_pong_font; + +#endif /* _AO_PONG_TEXT_H_ */ |