aboutsummaryrefslogtreecommitdiffstats
path: root/modules/overlays/overlay_impl.c
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-02-19 13:34:26 +0000
committerTom Feist <shabble@metavore.org>2011-02-19 13:34:26 +0000
commit6ea0d0b0b703261869ab24ce2cbf62c7c64f3dc8 (patch)
tree8eed9b0b0813e35d621f5156cd08a7b1ae660f3e /modules/overlays/overlay_impl.c
parentadded some detail on FSM for input control, and how to detect <esc> sequences. (diff)
downloadirssi-scripts-6ea0d0b0b703261869ab24ce2cbf62c7c64f3dc8.tar.gz
irssi-scripts-6ea0d0b0b703261869ab24ce2cbf62c7c64f3dc8.zip
added module 'overlay' to test out some ideas for fiddling with curses widgets internally
Diffstat (limited to 'modules/overlays/overlay_impl.c')
-rw-r--r--modules/overlays/overlay_impl.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/overlays/overlay_impl.c b/modules/overlays/overlay_impl.c
new file mode 100644
index 0000000..6626680
--- /dev/null
+++ b/modules/overlays/overlay_impl.c
@@ -0,0 +1,18 @@
+#include <overlay_irssi.h>
+#include <overlay_impl.h>
+#include <overlay_core.h>
+
+void print_load_message(void) {
+
+ printtext(NULL, NULL, MSGLEVEL_CLIENTERROR,
+ "Hello, World. xxx \"%s\"", MODULE_NAME);
+
+}
+
+void print_unload_message(void) {
+
+ printtext(NULL, NULL, MSGLEVEL_CLIENTERROR,
+ "Goodbye, Cruel World. ~signed \"%s\"", MODULE_NAME);
+
+}
+