window_t type and window_e enum added
This commit is contained in:
parent
37495a75e8
commit
17160a9b08
19
src/vars.h
19
src/vars.h
@ -1,4 +1,4 @@
|
|||||||
/* $calcurse: vars.h,v 1.11 2007/07/01 17:42:47 culot Exp $ */
|
/* $calcurse: vars.h,v 1.12 2007/07/20 19:09:07 culot Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calcurse - text-based organizer
|
* Calcurse - text-based organizer
|
||||||
@ -51,6 +51,15 @@
|
|||||||
#define HOURINSEC 3600
|
#define HOURINSEC 3600
|
||||||
#define MININSEC 60
|
#define MININSEC 60
|
||||||
|
|
||||||
|
enum window_e {
|
||||||
|
CALENDAR,
|
||||||
|
APPOINTMENT,
|
||||||
|
TODO,
|
||||||
|
NOTIFY,
|
||||||
|
STATUS,
|
||||||
|
NBWINS
|
||||||
|
};
|
||||||
|
|
||||||
struct pad_s {
|
struct pad_s {
|
||||||
int width;
|
int width;
|
||||||
int length;
|
int length;
|
||||||
@ -79,6 +88,14 @@ typedef struct {
|
|||||||
int layout;
|
int layout;
|
||||||
} conf_t;
|
} conf_t;
|
||||||
|
|
||||||
|
/* Window properties */
|
||||||
|
typedef struct {
|
||||||
|
unsigned w; /* width */
|
||||||
|
unsigned h; /* height */
|
||||||
|
int x; /* x position */
|
||||||
|
int y; /* y position */
|
||||||
|
} window_t;
|
||||||
|
|
||||||
extern int col, row;
|
extern int col, row;
|
||||||
extern bool colorize;
|
extern bool colorize;
|
||||||
extern int days[12];
|
extern int days[12];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user