Fix escaping functions to also escape the leading whitespace
[midnight-commander.git] / src / layout.h
blob6593a6f770bc1c55120e577d272e53a395ba33cc
1 #ifndef MC_LAYOUT_H
2 #define MC_LAYOUT_H
4 #include "panel.h"
5 #include "widget.h"
7 void layout_cmd (void);
8 void init_curses (void);
9 void done_screen (void);
10 void setup_panels (void);
11 void destroy_panels (void);
12 void move_resize_panel (void);
13 void flag_winch (int dummy);
14 void change_screen_size (void);
15 void set_display_type (int num, int type);
16 void swap_panels (void);
17 int get_display_type (int index);
18 int get_current_type (void);
19 int get_other_type (void);
20 int get_current_index (void);
21 int get_other_index (void);
22 const char *get_nth_panel_name (int num);
24 struct Widget *get_panel_widget (int index);
26 struct WPanel *get_other_panel (void);
28 void set_hintbar (const char *str);
30 /* Clear screen */
31 void clr_scr (void);
33 extern int winch_flag;
34 extern int equal_split;
35 extern int first_panel_size;
36 extern int output_lines;
37 extern int command_prompt;
38 extern int keybar_visible;
39 extern int output_start_y;
40 extern int message_visible;
41 extern int xterm_title;
43 extern int horizontal_split;
44 extern int nice_rotating_dash;
46 #endif