aboutsummaryrefslogtreecommitdiff
path: root/nexgb/auto_xtest.go
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-05-10 12:47:19 -0400
committerAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-05-10 12:47:19 -0400
commite239bb3c68a4981a3916534203c2fbd6b96f593c (patch)
treeebb9b1a4a4659d09edaf57ec39a744ff4bc15ff0 /nexgb/auto_xtest.go
parent00c6217ca905b08ce0acda9a90492b5c1dc358e8 (diff)
downloadhaven-e239bb3c68a4981a3916534203c2fbd6b96f593c.tar.gz
haven-e239bb3c68a4981a3916534203c2fbd6b96f593c.tar.xz
haven-e239bb3c68a4981a3916534203c2fbd6b96f593c.zip
make resource ids their own individual types. last commit before overhaul to sub-packages
Diffstat (limited to 'nexgb/auto_xtest.go')
-rw-r--r--nexgb/auto_xtest.go36
1 files changed, 17 insertions, 19 deletions
diff --git a/nexgb/auto_xtest.go b/nexgb/auto_xtest.go
index 6410831..f3b92a2 100644
--- a/nexgb/auto_xtest.go
+++ b/nexgb/auto_xtest.go
@@ -1,7 +1,7 @@
package xgb
/*
- This file was generated by xtest.xml on May 8 2012 11:03:25pm EDT.
+ This file was generated by xtest.xml on May 10 2012 12:39:34pm EDT.
This file is automatically generated. Edit at your peril!
*/
@@ -37,6 +37,16 @@ func init() {
newExtErrorFuncs["XTEST"] = make(map[int]newErrorFun)
}
+// Skipping definition for base type 'Int16'
+
+// Skipping definition for base type 'Int32'
+
+// Skipping definition for base type 'Void'
+
+// Skipping definition for base type 'Byte'
+
+// Skipping definition for base type 'Int8'
+
// Skipping definition for base type 'Card16'
// Skipping definition for base type 'Char'
@@ -49,20 +59,8 @@ func init() {
// Skipping definition for base type 'Float'
-// Skipping definition for base type 'Id'
-
// Skipping definition for base type 'Card8'
-// Skipping definition for base type 'Int16'
-
-// Skipping definition for base type 'Int32'
-
-// Skipping definition for base type 'Void'
-
-// Skipping definition for base type 'Byte'
-
-// Skipping definition for base type 'Int8'
-
const (
XtestCursorNone = 0
XtestCursorCurrent = 1
@@ -163,13 +161,13 @@ type XtestCompareCursorCookie struct {
*cookie
}
-func (c *Conn) XtestCompareCursor(Window Id, Cursor Id) XtestCompareCursorCookie {
+func (c *Conn) XtestCompareCursor(Window Window, Cursor Cursor) XtestCompareCursorCookie {
cookie := c.newCookie(true, true)
c.newRequest(c.xtestCompareCursorRequest(Window, Cursor), cookie)
return XtestCompareCursorCookie{cookie}
}
-func (c *Conn) XtestCompareCursorUnchecked(Window Id, Cursor Id) XtestCompareCursorCookie {
+func (c *Conn) XtestCompareCursorUnchecked(Window Window, Cursor Cursor) XtestCompareCursorCookie {
cookie := c.newCookie(false, true)
c.newRequest(c.xtestCompareCursorRequest(Window, Cursor), cookie)
return XtestCompareCursorCookie{cookie}
@@ -221,7 +219,7 @@ func (cook XtestCompareCursorCookie) Check() error {
}
// Write request to wire for XtestCompareCursor
-func (c *Conn) xtestCompareCursorRequest(Window Id, Cursor Id) []byte {
+func (c *Conn) xtestCompareCursorRequest(Window Window, Cursor Cursor) []byte {
size := 12
b := 0
buf := make([]byte, size)
@@ -251,13 +249,13 @@ type XtestFakeInputCookie struct {
}
// Write request to wire for XtestFakeInput
-func (c *Conn) XtestFakeInput(Type byte, Detail byte, Time uint32, Root Id, RootX int16, RootY int16, Deviceid byte) XtestFakeInputCookie {
+func (c *Conn) XtestFakeInput(Type byte, Detail byte, Time uint32, Root Window, RootX int16, RootY int16, Deviceid byte) XtestFakeInputCookie {
cookie := c.newCookie(false, false)
c.newRequest(c.xtestFakeInputRequest(Type, Detail, Time, Root, RootX, RootY, Deviceid), cookie)
return XtestFakeInputCookie{cookie}
}
-func (c *Conn) XtestFakeInputChecked(Type byte, Detail byte, Time uint32, Root Id, RootX int16, RootY int16, Deviceid byte) XtestFakeInputCookie {
+func (c *Conn) XtestFakeInputChecked(Type byte, Detail byte, Time uint32, Root Window, RootX int16, RootY int16, Deviceid byte) XtestFakeInputCookie {
cookie := c.newCookie(true, false)
c.newRequest(c.xtestFakeInputRequest(Type, Detail, Time, Root, RootX, RootY, Deviceid), cookie)
return XtestFakeInputCookie{cookie}
@@ -268,7 +266,7 @@ func (cook XtestFakeInputCookie) Check() error {
}
// Write request to wire for XtestFakeInput
-func (c *Conn) xtestFakeInputRequest(Type byte, Detail byte, Time uint32, Root Id, RootX int16, RootY int16, Deviceid byte) []byte {
+func (c *Conn) xtestFakeInputRequest(Type byte, Detail byte, Time uint32, Root Window, RootX int16, RootY int16, Deviceid byte) []byte {
size := 36
b := 0
buf := make([]byte, size)