aboutsummaryrefslogtreecommitdiff
path: root/nexgb/damage/damage.go
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/damage/damage.go')
-rw-r--r--nexgb/damage/damage.go21
1 files changed, 12 insertions, 9 deletions
diff --git a/nexgb/damage/damage.go b/nexgb/damage/damage.go
index 1c17501..a3ba928 100644
--- a/nexgb/damage/damage.go
+++ b/nexgb/damage/damage.go
@@ -2,7 +2,7 @@
package damage
/*
- This file was generated by damage.xml on May 10 2012 11:56:18pm EDT.
+ This file was generated by damage.xml on May 11 2012 1:58:35am EDT.
This file is automatically generated. Edit at your peril!
*/
@@ -41,14 +41,6 @@ func init() {
xgb.NewExtErrorFuncs["DAMAGE"] = make(map[int]xgb.NewErrorFun)
}
-// 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'
@@ -65,6 +57,14 @@ func init() {
// 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 (
ReportLevelRawRectangles = 0
ReportLevelDeltaRectangles = 1
@@ -212,10 +212,13 @@ func (err BadDamageError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadBadDamage error. If no bad value exists, 0 is returned.
func (err BadDamageError) BadId() uint32 {
return 0
}
+// Error returns a rudimentary string representation of the BadBadDamage error.
+
func (err BadDamageError) Error() string {
fieldVals := make([]string, 0, 0)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)