Ticket 419: (search broken in editor/viewer on glib <2.14)
[midnight-commander.git] / src / layout.h
blob7a14a09407deff7f6fc1ea461cbcb2dea399a40a
2 /** \file layout.h
3 * \brief Header: panel layout module
4 */
6 #ifndef MC_LAYOUT_H
7 #define MC_LAYOUT_H
9 #include "panel.h"
10 #include "widget.h"
12 void layout_cmd (void);
13 void init_curses (void);
14 void done_screen (void);
15 void setup_panels (void);
16 void destroy_panels (void);
17 void move_resize_panel (void);
18 void flag_winch (int dummy);
19 void change_screen_size (void);
20 void set_display_type (int num, int type);
21 void swap_panels (void);
22 int get_display_type (int index);
23 int get_current_type (void);
24 int get_other_type (void);
25 int get_current_index (void);
26 int get_other_index (void);
27 const char *get_nth_panel_name (int num);
29 struct Widget *get_panel_widget (int index);
31 struct WPanel *get_other_panel (void);
33 void set_hintbar (const char *str);
35 /* Clear screen */
36 void clr_scr (void);
38 extern int winch_flag;
39 extern int equal_split;
40 extern int first_panel_size;
41 extern int output_lines;
42 extern int command_prompt;
43 extern int keybar_visible;
44 extern int output_start_y;
45 extern int message_visible;
46 extern int xterm_title;
47 extern int free_space;
49 extern int horizontal_split;
50 extern int nice_rotating_dash;
52 #endif