diff --git a/Documentation.md b/Documentation.md index c1ccb05..d41fa8d 100644 --- a/Documentation.md +++ b/Documentation.md @@ -425,6 +425,29 @@ Configuration block consists of five bytes: +####WGCreateProgress +Creates a new WeeGUI progress bar view. This is a specialized version of WGCreateView, and its parameters are similar. + +
Assembly | Applesoft |
---|---|
+X: WGCreateProgress +PARAM0: Pointer to configuration block (LSB) +PARAM1: Pointer to configuration block (MSB) + +Configuration block consists of five bytes: + 0: View ID (0-15) + 1: Left edge of progress bar + 2: Top edge of progress bar + 3: Width of progress bar + | +&PROG( View ID, + Left edge, + Top edge, + Width) + |
Assembly | Applesoft |
---|---|
+X: WGSetState +A: new value + | +&SETV(V value) + |