mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* dlg.h: Remove declarations of non-existent functions.
[HAVE_X]: Disable color constants - they shouldn't be used.
This commit is contained in:
parent
76c41d4726
commit
5ae49e62d1
@ -1,5 +1,8 @@
|
||||
2001-07-15 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* dlg.h: Remove declarations of non-existent functions.
|
||||
[HAVE_X]: Disable color constants - they shouldn't be used.
|
||||
|
||||
* boxes.c [WITH_SMBFS] (vfs_smb_get_authinfo): Copied from
|
||||
vfs/smbfs.c, function authinfo_get_authinfo_from_user().
|
||||
|
||||
|
@ -2,11 +2,13 @@
|
||||
#define MC_DLG_H
|
||||
#include "mouse.h"
|
||||
|
||||
#ifndef HAVE_X
|
||||
/* Color constants */
|
||||
#define FOCUSC h->color[1]
|
||||
#define NORMALC h->color[0]
|
||||
#define HOT_NORMALC h->color[2]
|
||||
#define HOT_FOCUSC h->color[3]
|
||||
#endif /* !HAVE_X */
|
||||
|
||||
/* Possible directions */
|
||||
#define DIR_FORWARD 1
|
||||
@ -252,11 +254,6 @@ typedef void (*movefn)(void *, int);
|
||||
|
||||
/* Layout definitions */
|
||||
|
||||
void xv_Layout (void *first_widget, ...);
|
||||
void tk_layout (void *first_widget, ...);
|
||||
void tk_new_frame (Dlg_head *, char *);
|
||||
void tk_frame (Dlg_head *, char *);
|
||||
void tk_end_frame (void);
|
||||
void x_set_dialog_title (Dlg_head *h, const char *title);
|
||||
|
||||
/* The inner workings of run_dlg, exported for the Tk and XView toolkits */
|
||||
|
Loading…
Reference in New Issue
Block a user