summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Osgood <iano@quirkster.com>2006-03-22 17:57:57 -0800
committerIan Osgood <iano@quirkster.com>2006-03-22 17:57:57 -0800
commit4dab6a9b8cfc099dc94f997de7e5881566861bbf (patch)
treeea54f18142ef2915c96c342cca447be2c82a58a0
parent946717baec905a8a58ed9f833a3fd91e71dd3a02 (diff)
Work on the tutorial, and update xproto.xml to match:
* Fixed grammar * Answered some TODO's and added some more * Updated X.h constants to those in xproto.h * Added enumerations used in tutorial to xproto.xml * Prefered XCBFlush to XCBSync * Corrected and refactored the "events" example I extracted the examples to test them. Where should I put them?
-rw-r--r--src/xproto.xml21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/xproto.xml b/src/xproto.xml
index 7b6f4d5..8ccf1d9 100644
--- a/src/xproto.xml
+++ b/src/xproto.xml
@@ -534,6 +534,14 @@ authorization from the authors.
<item name="Sibling"> <bit>5</bit></item>
<item name="StackMode"> <bit>6</bit></item>
</enum>
+
+ <enum name="StackMode">
+ <item name="Above"> <value>0</value></item>
+ <item name="Below"> <value>1</value></item>
+ <item name="TopIf"> <value>2</value></item>
+ <item name="BottomIf"><value>3</value></item>
+ <item name="Opposite"><value>4</value></item>
+ </enum>
<request name="ConfigureWindow" opcode="12">
<pad bytes="1" />
@@ -1061,7 +1069,7 @@ authorization from the authors.
<item name="GraphicsExposures"> <bit>16</bit></item>
<item name="ClipOriginX"> <bit>17</bit></item>
<item name="ClipOriginY"> <bit>18</bit></item>
- <item name="Mask"> <bit>19</bit></item>
+ <item name="ClipMask"> <bit>19</bit></item>
<item name="DashOffset"> <bit>20</bit></item>
<item name="DashList"> <bit>21</bit></item>
<item name="ArcMode"> <bit>22</bit></item>
@@ -1263,6 +1271,12 @@ authorization from the authors.
<list type="ARC" name="arcs" />
</request>
+ <enum name="PolyShape">
+ <item name="Complex"> <value>0</value></item>
+ <item name="Nonconvex"><value>1</value></item>
+ <item name="Convex"> <value>2</value></item>
+ </enum>
+
<request name="FillPoly" opcode="69">
<pad bytes="1" />
<field type="DRAWABLE" name="drawable" />
@@ -1372,6 +1386,11 @@ authorization from the authors.
</list>
</request>
+ <enum name= "ColormapAlloc">
+ <item name="None"><value>0</value></item>
+ <item name="All"> <value>1</value></item>
+ </enum>
+
<request name="CreateColormap" opcode="78">
<field type="BYTE" name="alloc" />
<field type="COLORMAP" name="mid" />