cctools
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
dttools
src
text_array.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2008- The University of Notre Dame
3
This software is distributed under the GNU General Public License.
4
See the file COPYING for details.
5
*/
6
7
#ifndef TEXT_ARRAY_H
8
#define TEXT_ARRAY_H
9
21
struct
text_array *
text_array_create
(
int
w,
int
h);
22
26
void
text_array_delete
(
struct
text_array *t);
27
32
int
text_array_width
(
struct
text_array *t);
33
38
int
text_array_height
(
struct
text_array *t);
39
46
const
char
*
text_array_get
(
struct
text_array *t,
int
x,
int
y);
47
54
int
text_array_set
(
struct
text_array *t,
int
x,
int
y,
const
char
*c);
55
60
int
text_array_load
(
struct
text_array *t,
const
char
*filename);
61
66
int
text_array_save
(
struct
text_array *t,
const
char
*filename);
67
76
int
text_array_save_range
(
struct
text_array *t,
const
char
*filename,
int
x,
int
y,
int
w,
int
h);
77
78
#endif
Generated on Sun Jul 1 2012 01:28:38 for cctools by
1.8.1.1