mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Declarations of use_dash() and rotate_dash() were moved form lib/util.h to src/layout.h.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
8b46518619
commit
8be556abc5
@ -166,10 +166,6 @@ void canonicalize_pathname (char *);
|
||||
int my_mkdir (const char *s, mode_t mode);
|
||||
int my_rmdir (const char *s);
|
||||
|
||||
/* Rotating dash routines */
|
||||
void use_dash (int flag); /* Disable/Enable rotate_dash routines */
|
||||
void rotate_dash (void);
|
||||
|
||||
/* Creating temporary files safely */
|
||||
const char *mc_tmpdir (void);
|
||||
int mc_mkstemps (char **pname, const char *prefix, const char *suffix);
|
||||
|
@ -38,6 +38,7 @@
|
||||
#include "treestore.h"
|
||||
#include "dir.h"
|
||||
#include "setup.h" /* panels_options */
|
||||
#include "layout.h" /* rotate_dash() */
|
||||
|
||||
/* Reverse flag */
|
||||
static int reverse = 1;
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include "main.h"
|
||||
#include "consaver/cons.saver.h"
|
||||
#include "subshell.h"
|
||||
#include "layout.h"
|
||||
#include "layout.h" /* use_dash() */
|
||||
#include "dialog.h"
|
||||
#include "wtools.h"
|
||||
#include "panel.h" /* update_panels() */
|
||||
|
@ -67,7 +67,7 @@
|
||||
#include "dialog.h"
|
||||
#include "widget.h"
|
||||
#include "main.h"
|
||||
#include "layout.h"
|
||||
#include "layout.h" /* rotate_dash() */
|
||||
#include "widget.h"
|
||||
#include "wtools.h"
|
||||
#include "background.h" /* we_are_background */
|
||||
|
@ -802,7 +802,7 @@ change_screen_size (void)
|
||||
static int ok_to_refresh = 1;
|
||||
|
||||
void
|
||||
use_dash (int flag)
|
||||
use_dash (gboolean flag)
|
||||
{
|
||||
if (flag)
|
||||
ok_to_refresh++;
|
||||
|
@ -6,6 +6,7 @@
|
||||
#ifndef MC_LAYOUT_H
|
||||
#define MC_LAYOUT_H
|
||||
|
||||
#include "lib/global.h"
|
||||
#include "panel.h"
|
||||
#include "widget.h"
|
||||
|
||||
@ -34,6 +35,10 @@ const char *get_panel_dir_for (const WPanel *widget);
|
||||
|
||||
void set_hintbar (const char *str);
|
||||
|
||||
/* Rotating dash routines */
|
||||
void use_dash (gboolean flag); /* Disable/Enable rotate_dash routines */
|
||||
void rotate_dash (void);
|
||||
|
||||
/* Clear screen */
|
||||
void clr_scr (void);
|
||||
void repaint_screen (void);
|
||||
|
Loading…
Reference in New Issue
Block a user