aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/wins.h24
1 files changed, 9 insertions, 15 deletions
diff --git a/src/wins.h b/src/wins.h
index 2bc4ac7..629a6e4 100755
--- a/src/wins.h
+++ b/src/wins.h
@@ -1,4 +1,4 @@
-/* $Id: wins.h,v 1.3 2007/08/15 15:32:33 culot Exp $ */
+/* $Id: wins.h,v 1.4 2007/10/21 13:39:07 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -30,37 +30,31 @@
#include "vars.h"
typedef enum {
- CALENDAR,
- APPOINTMENT,
- TODO,
- NOTIFY,
- STATUS,
+ CAL,
+ APP,
+ TOD,
+ NOT,
+ STA,
NBWINS
} window_e;
-typedef enum {
- WIDTH,
- HEIGHT,
- XPOS,
- YPOS,
- NBPROPS
-} winprop_e;
-
/* Window properties */
typedef struct {
+ WINDOW *p; /* pointer to window */
unsigned w; /* width */
unsigned h; /* height */
int x; /* x position */
int y; /* y position */
} window_t;
+extern window_t win[NBWINS];
+
int wins_layout(void);
void wins_set_layout(int);
void wins_slctd_init(void);
window_e wins_slctd(void);
void wins_slctd_set(window_e);
void wins_slctd_next(void);
-int wins_prop(window_e, winprop_e);
void wins_init(void);
void wins_reinit(void);
void wins_show(WINDOW *, char *);