]> git.sur5r.net Git - i3/i3/blob - table.h
Cleanups, first strike. Move stuff to separate files, eliminate warnings
[i3/i3] / table.h
1 #include <stdbool.h>
2 #include "data.h"
3
4 #ifndef _TABLE_H
5 #define _TABLE_H
6
7 #define CUR_TABLE (c_ws->table)
8 #define CUR_CELL (CUR_TABLE[current_col][current_row])
9
10 extern Workspace *c_ws;
11 extern Workspace workspaces[10];
12 extern int current_col;
13 extern int current_row;
14
15 void init_table();
16 void expand_table_rows(Workspace *workspace);
17 void expand_table_cols(Workspace *workspace);
18 bool cell_exists(int col, int row);
19
20 #endif