From: P. F. Chimento Date: Wed, 20 Apr 2011 15:22:00 +0000 (+0200) Subject: Distinguish input in Glulxercise X-Git-Tag: v0.9~97 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=52e7f4c442adbdf1dc255ba0bb342e344dad4cd9;p=projects%2Fchimara%2Fchimara.git Distinguish input in Glulxercise Make the input style blue in the Glulxercise tester --- diff --git a/tests/glulxercise.c b/tests/glulxercise.c index 3f3b393..fb7c879 100644 --- a/tests/glulxercise.c +++ b/tests/glulxercise.c @@ -95,6 +95,8 @@ main(int argc, char *argv[]) w->interp = chimara_if_new(); gtk_widget_set_size_request(w->interp, 500, 600); gtk_box_pack_end_defaults(GTK_BOX(vbox), w->interp); + chimara_glk_set_css_from_string(CHIMARA_GLK(w->interp), + "buffer { font-size: 12; } buffer.input { color: #00a; font-style: italic; }"); gtk_builder_connect_signals(builder, w); g_signal_connect(w->interp, "started", G_CALLBACK(on_interp_started), w); g_signal_connect(w->interp, "stopped", G_CALLBACK(on_interp_stopped), w);