} else PopUpMoveDialog(*buf);
}
+static Boolean noEcho;
+
+void
+EchoOn ()
+{
+ if(!noEcho) return;
+ system("stty echo");
+ WidgetEcho(&chatOptions[CHAT_IN], 1);
+ noEcho = False;
+}
+
+void
+EchoOff ()
+{
+ system("stty -echo");
+ WidgetEcho(&chatOptions[CHAT_IN], 0);
+ noEcho = True;
+}
+
//--------------------------------- Game-List options dialog ------------------------------------------
char *strings[LPUSERGLT_SIZE];
void RefreshColor P((int source, int n));
void SendString P((char *p));
void DisplayHelp P((char *name));
+void WidgetEcho P((Option *opt, int n));
// in ngamelist.c
int GameListClicks P((int direction));
}
void
+WidgetEcho (Option *opt, int n)
+{
+ gtk_entry_set_visibility(opt->handle, n);
+}
+
+void
SetWidgetFont (GtkWidget *w, char **s)
{
PangoFontDescription *pfd;
SetTextColor(cnames, textColors[ColorNormal].fg - 30, textColors[ColorNormal].bg - 40, -2); // kludge to announce background color to front-end
}
-static Boolean noEcho;
-
-void
-EchoOn ()
-{
- system("stty echo");
- noEcho = False;
-}
-
-void
-EchoOff ()
-{
- system("stty -echo");
- noEcho = True;
-}
-
char *oldICSInteractionTitle;
void
if (saveSettingsOnExit) SaveSettings(settingsFileName);
unlink(gameCopyFilename);
unlink(gamePasteFilename);
- if(noEcho) EchoOn();
+ EchoOn();
}
void
}
void
+WidgetEcho (Option *opt, int state)
+{
+}
+
+void
SetWidgetLabel (Option *opt, char *buf)
{
Arg arg;