summaryrefslogtreecommitdiffstats
path: root/window.h
diff options
context:
space:
mode:
authorBert Münnich <ber.t@gmx.com>2012-02-12 19:00:41 +0100
committerBert Münnich <ber.t@gmx.com>2012-02-12 19:00:41 +0100
commitb8458271fba9929831dcc71d86c205fb52578e3a (patch)
tree47e7d0ad532ef3c0ddd8d60f79bf0b475e61696d /window.h
parent8fc7cb73b37cb00f164425bcced0afbc949a3429 (diff)
downloadnsxiv-b8458271fba9929831dcc71d86c205fb52578e3a.tar.zst
Added text bar on bottom of window
Diffstat (limited to 'window.h')
-rw-r--r--window.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/window.h b/window.h
index b3fbbe6..dfdf5a6 100644
--- a/window.h
+++ b/window.h
@@ -40,15 +40,21 @@ typedef struct {
unsigned long white;
unsigned long bgcol;
unsigned long selcol;
+ unsigned long barbgcol;
+ unsigned long barfgcol;
Pixmap pm;
int x;
int y;
unsigned int w;
unsigned int h;
+ unsigned int barh;
unsigned int bw;
bool fullscreen;
+
+ const char *lbar;
+ const char *rbar;
} win_t;
extern Atom wm_delete_win;
@@ -68,6 +74,7 @@ void win_draw_rect(win_t*, Pixmap, int, int, int, int, bool, int,
unsigned long);
void win_set_title(win_t*, const char*);
+void win_set_bar_info(win_t*, const char*, const char*);
void win_set_cursor(win_t*, cursor_t);
#endif /* WINDOW_H */