Introduce direction / orientation / position conversion functions

This commit is contained in:
Orestis Floros
2018-09-14 20:18:04 +03:00
committed by Orestis Floros
parent e5c430e419
commit 1e8e4d3e7f
4 changed files with 34 additions and 3 deletions

View File

@ -17,9 +17,6 @@
*/
void tree_move(Con *con, direction_t direction);
typedef enum { BEFORE,
AFTER } position_t;
/**
* This function detaches 'con' from its parent and inserts it either before or
* after 'target'.