ncreader_destroy() / ncreader_plane()
parent
5e1d8ccf75
commit
064da8acb9
@ -1,14 +1,21 @@
|
||||
#include "internal.h"
|
||||
|
||||
ncreader* ncreader_create(ncplane* n){
|
||||
ncreader* ncreader_create(int rows, int cols, int y, int x){
|
||||
// FIXME
|
||||
}
|
||||
|
||||
// empty the ncreader of any user input, and home the cursor.
|
||||
int ncreader_clear(ncreader* n){
|
||||
// FIXME
|
||||
}
|
||||
|
||||
ncplane* ncreader_plane(ncreader* n){
|
||||
return n->ncp;
|
||||
}
|
||||
|
||||
void ncreader_destroy(ncreader* n){
|
||||
if(n){
|
||||
ncplane_destroy(n->ncp);
|
||||
free(n);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue