reverted ui change
[tore.git] / pytx / txbox.h
blobfd1c3cff30fec78e794b62297c19c0ef33a83dd8
1 #ifndef _TXBOX_H_
2 #define _TXBOX_H_
4 #include <ncurses.h>
5 #include <panel.h>
6 #include "txobj.h"
7 #include "list.h"
9 typedef struct _TXBox TXBox;
11 struct _TXBox {
12 struct list_head node;
13 TXObj *obj;
15 int count;
18 /* upto 20 */
19 enum {TX_BOX_VERT = 1<<15, TX_BOX_HORZ = 1<<16};
21 void tx_box_init(TXObj *obj);
22 void tx_box_add(TXObj *box, TXObj *obj);
23 void tx_box_adjust(TXObj *obj);
24 int tx_box_draw(TXObj *obj);
26 #endif