diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/console/libgnt/gntwm.h	Fri Aug 25 18:21:22 2006 +0000
@@ -0,0 +1,18 @@
+#ifdef HAVE_NCURSESW_INC
+#include <ncursesw/panel.h>
+#else
+#include <panel.h>
+#endif
+
+#include "gntwidget.h"
+
+typedef struct _GntWM GntWM;
+
+struct _GntWM
+{
+	PANEL *(*new_window)(GntWidget *win);
+	gboolean (*key_pressed)(const char *key);
+	gboolean (*mouse_clicked)(void);    /* XXX: haven't decided yet */
+	void (*gntwm_uninit)();
+};
+