Just a little correction at the it.po file.
[midnight-commander.git] / src / tree.h
blobd2a0049f5c43fd4eee526c1362b77a5500a6e379
1 #ifndef __TREE_H
2 #define __TREE_H
4 #include "treestore.h"
6 #include "dlg.h"
8 struct WTree;
9 typedef struct WTree WTree;
11 #define tlines(t) (t->is_panel ? t->widget.lines-2 - (show_mini_info ? 2 : 0) : t->widget.lines)
13 int tree_init (char *current_dir, int lines);
14 void tree_chdir (WTree *tree, char *dir);
15 char *tree_selected_name (WTree *tree);
17 void sync_tree (char *pathname);
19 extern int xtree_mode;
21 WTree *tree_new (int is_panel, int y, int x, int lines, int cols);
22 extern WTree *the_tree;
24 #endif