aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-01-11 05:52:59 -0500
committerRuss Cox <rsc@swtch.com>2020-01-13 16:46:14 -0500
commitdbf57689c45611b8da9e269c24e409ee33a877d5 (patch)
treec19ccb71a079a1827567764a6787f9fac7311aa2 /include
parent41547af3f614061dd2c94bb52ae118f146925743 (diff)
downloadplan9port-dbf57689c45611b8da9e269c24e409ee33a877d5.tar.gz
plan9port-dbf57689c45611b8da9e269c24e409ee33a877d5.tar.bz2
plan9port-dbf57689c45611b8da9e269c24e409ee33a877d5.zip
libdraw: connect to devdraw via $wsysid when set
Diffstat (limited to 'include')
-rw-r--r--include/drawfcall.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/drawfcall.h b/include/drawfcall.h
index acab98c5..8b9656d5 100644
--- a/include/drawfcall.h
+++ b/include/drawfcall.h
@@ -25,6 +25,9 @@ tag[1] Rrdkbd rune[2]
tag[1] Tlabel label[s]
tag[1] Rlabel
+tag[1] Tctxt wsysid[s]
+tag[1] Rctxt
+
tag[1] Tinit winsize[s] label[s] font[s]
tag[1] Rinit
@@ -94,6 +97,8 @@ enum {
Rresize,
Tcursor2 = 28,
Rcursor2,
+ Tctxt = 30,
+ Rctxt,
Tmax,
};
@@ -116,6 +121,7 @@ struct Wsysmsg
char *label;
char *snarf;
char *error;
+ char *id;
uchar *data;
uint count;
Rectangle rect;