i3/table.h

19 lines
376 B
C
Raw Normal View History

2009-02-07 22:04:35 -05:00
#include <stdbool.h>
#include "data.h"
#ifndef _TABLE_H
#define _TABLE_H
2009-02-12 23:16:47 -05:00
#define CUR_TABLE (c_ws->table)
#define CUR_CELL (CUR_TABLE[current_col][current_row])
2009-02-07 22:04:35 -05:00
2009-02-12 23:16:47 -05:00
extern Workspace *c_ws;
extern Workspace workspaces[10];
2009-02-07 22:04:35 -05:00
void init_table();
2009-02-12 23:16:47 -05:00
void expand_table_rows(Workspace *workspace);
void expand_table_cols(Workspace *workspace);
2009-02-07 22:04:35 -05:00
bool cell_exists(int col, int row);
#endif