libwallaby
v23
The wallaby standard library
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
display.h
Go to the documentation of this file.
1
/**************************************************************************
2
* Copyright 2013 KISS Institute for Practical Robotics *
3
* *
4
* This file is part of libkovan. *
5
* *
6
* libkovan is free software: you can redistribute it and/or modify *
7
* it under the terms of the GNU General Public License as published by *
8
* the Free Software Foundation, either version 2 of the License, or *
9
* (at your option) any later version. *
10
* *
11
* libkovan is distributed in the hope that it will be useful, *
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
* GNU General Public License for more details. *
15
* *
16
* You should have received a copy of the GNU General Public License *
17
* along with libkovan. Check the LICENSE file in the project root. *
18
* If not, see <http://www.gnu.org/licenses/>. *
19
**************************************************************************/
20
21
// Full screen management functions for the display window as implemented on the KIPR LINK controller
22
// display_printf(int column, int row, <printf arguments>)
23
// display_clear()
24
// NOTE: the difference between display_clear and console_clear is that display_clear also clears the display map
25
// Display window size is 10 rows by 42 columns, indexed from 0
26
27
#ifndef INCLUDE_WALLABY_DISPLAY_H_
28
#define INCLUDE_WALLABY_DISPLAY_H_
29
30
#include "
export.h
"
31
#include "
vtable.h
"
32
33
#ifdef __cplusplus
34
extern
"C"
{
35
#endif
36
37
VF
EXPORT_SYM
void
display_clear
();
// clears console and sets display map to all spaces
38
39
EXPORT_SYM
void
display_printf
(
int
col,
int
row,
const
char
*t, ...);
// runs printf formatting to specified screen location
40
41
VFL
42
43
#ifdef __cplusplus
44
}
45
#endif
46
47
#endif
export.h
VF
#define VF
Definition:
vtable.h:19
VFL
#define VFL
Definition:
vtable.h:20
display_printf
EXPORT_SYM void display_printf(int col, int row, const char *t,...)
EXPORT_SYM
#define EXPORT_SYM
Definition:
export.h:14
vtable.h
display_clear
VF EXPORT_SYM void display_clear()
include
wallaby
display.h
Generated on Fri Feb 10 2017 22:21:49 for libwallaby by
1.8.8