Declarations of use_dash() and rotate_dash() were moved form lib/util.h to src/layout.h.
[midnight-commander.git] / src / layout.h
blob2df85c9b004d4b361e990d70236913e3ce370388
2 /** \file layout.h
3 * \brief Header: panel layout module
4 */
6 #ifndef MC_LAYOUT_H
7 #define MC_LAYOUT_H
9 #include "lib/global.h"
10 #include "panel.h"
11 #include "widget.h"
13 void layout_change (void);
14 void layout_box (void);
15 void setup_panels (void);
16 void destroy_panels (void);
17 void sigwinch_handler (int dummy);
18 void change_screen_size (void);
19 void set_display_type (int num, panel_view_mode_t type);
20 void swap_panels (void);
21 panel_view_mode_t get_display_type (int idx);
22 panel_view_mode_t get_current_type (void);
23 panel_view_mode_t get_other_type (void);
24 int get_current_index (void);
25 int get_other_index (void);
26 const char *get_nth_panel_name (int num);
28 struct Widget *get_panel_widget (int idx);
30 struct WPanel *get_other_panel (void);
32 void save_panel_dir (int idx);
33 Widget *restore_into_right_dir_panel (int idx, Widget *from_widget);
34 const char *get_panel_dir_for (const WPanel *widget);
36 void set_hintbar (const char *str);
38 /* Rotating dash routines */
39 void use_dash (gboolean flag); /* Disable/Enable rotate_dash routines */
40 void rotate_dash (void);
42 /* Clear screen */
43 void clr_scr (void);
44 void repaint_screen (void);
45 void mc_refresh (void);
47 extern int winch_flag;
48 extern int equal_split;
49 extern int first_panel_size;
50 extern int output_lines;
51 extern int command_prompt;
52 extern int keybar_visible;
53 extern int output_start_y;
54 extern int message_visible;
55 extern int xterm_title;
56 extern int free_space;
58 extern int horizontal_split;
59 extern int nice_rotating_dash;
61 #endif