comparison console/libgnt/gntwm.h @ 14335:b1b76fb9c739

[gaim-migrate @ 17031] Add a sample window-manager. This one removes the border and shadows from the buddylist, shows the conversation windows at the right-end of the screen, and puts all the rest of the dialogs in the middle of the screen. I was not planning on committing this just yet, but I accidentally included the change in configure.ac, and I don't want to get yelled at ;) committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 25 Aug 2006 18:21:22 +0000
parents
children 0387a167f342
comparison
equal deleted inserted replaced
14334:17eba43f98a9 14335:b1b76fb9c739
1 #ifdef HAVE_NCURSESW_INC
2 #include <ncursesw/panel.h>
3 #else
4 #include <panel.h>
5 #endif
6
7 #include "gntwidget.h"
8
9 typedef struct _GntWM GntWM;
10
11 struct _GntWM
12 {
13 PANEL *(*new_window)(GntWidget *win);
14 gboolean (*key_pressed)(const char *key);
15 gboolean (*mouse_clicked)(void); /* XXX: haven't decided yet */
16 void (*gntwm_uninit)();
17 };
18