From 1b01681fc8d3e0bf286ae496cb08a36cb1d66ed5 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 15 Sep 2006 01:55:24 +0000 Subject: [PATCH] Temporarily make this standalone. --- src/xio.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/xio.c b/src/xio.c index 1ac0e23..f95790d 100644 --- a/src/xio.c +++ b/src/xio.c @@ -13,9 +13,14 @@ * 1. Button pushes should be able to insert commands at the buffer's * current insertion point. * 2. When a user finishes a command with Return, a callback should - * receive the line of input types. + * receive the line of input typed. + * + * All the input passed to the game in back of this will be lines full + * of commands generated either by typing into the text buffer directly + * or by button presses that generate text unto the buffer. */ #include +#include #include #include #include @@ -23,7 +28,9 @@ #include #include #include -#include "sst.h" +//#include "sst.h" +#define OPTION_PLANETS 1 +#define OPTION_PROBE 2 static XtAppContext app_context; static Widget toplevel, text, form; -- 2.31.1