| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
lpc_swim_font.h File Reference
`#include "lpc_types.h"`
`#include "lpc_swim.h"`

Go to the source code of this file.

## Functions
void | swim_put_text_xy (SWIM_WINDOW_T *win, const CHAR *text, int32_t x, int32_t y)
| Put text at x, y (char) position on screen.
void | swim_set_xy (SWIM_WINDOW_T *win, int32_t x, int32_t y)
| Sets the X, Y pixel coordinates for the next text operation.
void | swim_get_xy (SWIM_WINDOW_T *win, int32_t *x, int32_t *y)
| Returns the X, Y pixel coordinates for the next text operation.
void | swim_put_text (SWIM_WINDOW_T *win, const CHAR *text)
| Puts a string of text in a window.
void | swim_put_ltext (SWIM_WINDOW_T *win, const CHAR *text)
| Puts a string of text in a window with breaks.
void | swim_window_scroll (SWIM_WINDOW_T *win, int32_t lines)
| Scrolls the window up one line.
void | swim_put_char (SWIM_WINDOW_T *win, const CHAR textchar)
| Puts a single character in the window.
void | swim_put_newline (SWIM_WINDOW_T *win)
| Puts a newline in the window.
void | swim_set_font (SWIM_WINDOW_T *win, FONT_T *font)
| Sets the active font.
int16_t | swim_get_font_height (SWIM_WINDOW_T *win)
| Returns the active font's height in pixels.
void | swim_set_title (SWIM_WINDOW_T *win, const CHAR *title, COLOR_T ttlbkcolor)
| Creates a title bar for the window.
void | swim_set_font_trasparency (SWIM_WINDOW_T *win, int32_t trans)
| Enables and disables font backgrounds.