Assembly | Applesoft |
---|---|
X: WGCreateView PARAM0: Pointer to configuration block (LSB) PARAM1: Pointer to configuration block (MSB) Configuration block consists of eight bytes: 0: View ID (0-15) 1: Style (0 for plain, 1 for fancy) 2: Left edge of view 3: Top edge of view 4: Visible width of view 5: Visible height of view 6: Width of view's content 7: Height of view's content | &WINDW( View ID, Style (0 for plain, 1 for fancy), Left edge, Top edge, View width, View height, Content width, Content height) |
Assembly | Applesoft |
---|---|
X: WGCreateCheckbox PARAM0: Pointer to configuration block (LSB) PARAM1: Pointer to configuration block (MSB) Configuration block consists of five bytes: 0: View ID (0-15) 1: X position of checkbox 2: Y position of checkbox 3: Pointer to null-terminated string label (LSB) 4: Pointer to null-terminated string label (MSB) | &CHKBX( View ID, X position, Y position, "Label") |
Assembly | Applesoft |
---|---|
X: WGCreateButton PARAM0: Pointer to configuration block (LSB) PARAM1: Pointer to configuration block (MSB) Configuration block consists of eight bytes: 0: View ID (0-15) 1: Left edge of button 2: Top edge of button 3: Width of button 4: Pointer to click callback (LSB) 5: Pointer to click callback (MSB) 6: Pointer to null-terminated string label (LSB) 7: Pointer to null-terminated string label (MSB) | &BUTTN( View ID, Left edge, Top edge, Width, Line number for click callback, "Label") |
Assembly | Applesoft |
---|---|
X: WGSelectView A: View ID | &SEL(View ID) |
Assembly | Applesoft |
---|---|
X: WGPendingViewAction | &PDACT |
Assembly | Applesoft |
---|---|
X: WGPendingView Returns in A: View ID | Not available |
Assembly | Applesoft |
---|---|
X: WGViewFocus | &FOC |
Assembly | Applesoft |
---|---|
X: WGViewUnfocus | Not available |
Assembly | Applesoft |
---|---|
X: WGViewFocusNext | &FOCN |
Assembly | Applesoft |
---|---|
X: WGViewFocusPrev | &FOCP |
Assembly | Applesoft |
---|---|
X: WGViewFocusAction | &ACT |
Assembly | Applesoft |
---|---|
X: WGPaintView | &PNT |
Assembly | Applesoft |
---|---|
X: WGViewPaintAll | &PNTA |
Assembly | Applesoft |
---|---|
X: WGViewSetTitle PARAM0: Pointer to null-terminated string (LSB) PARAM1: Pointer to null-terminated string (MSB) | &TITLE("title") |
Assembly | Applesoft |
---|---|
X: WGViewSetAction PARAM0: Function pointer (LSB) PARAM1: Function pointer (MSB) | &STACT(line number) |
Upper nybble | Window feature |
---|---|
0000 | Content region |
0001 | Scroll arrow up |
0010 | Scroll arrow down |
0011 | Scroll arrow left |
0100 | Scroll arrow right |
Assembly | Applesoft |
---|---|
X: WGViewFromPoint PARAM0: X position to test PARAM1: Y position to test Returns in A: View ID (or <0 if no match) | Not available |
Assembly | Applesoft |
---|---|
X: WGSetCursor PARAM0: New X position PARAM1: New Y position | &CURSR(x,y) |
Assembly | Applesoft |
---|---|
X: WGSetGlobalCursor PARAM0: New X position PARAM1: New Y position | Not available |
Assembly | Applesoft |
---|---|
X: WGSyncGlobalCursor | Not available |
Assembly | Applesoft |
---|---|
X: WGScrollX A: New X scroll position | Not available (see WGScroll) |
Assembly | Applesoft |
---|---|
X: WGScrollY A: New Y scroll position | Not available (see WGScroll) |
Assembly | Applesoft |
---|---|
Not available | &SCR(X position, Y position) |
Assembly | Applesoft |
---|---|
X: WGScrollByX A: Offset to apply to X scroll position | Not available (see WGScrollBy) |
Assembly | Applesoft |
---|---|
X: WGScrollY A: Offset to apply to Y scroll position | Not available |
Assembly | Applesoft |
---|---|
Not available | &SCRBY(X offset, Y offset) |
Assembly | Applesoft |
---|---|
X: WGClearScreen | &HOME |
Assembly | Applesoft |
---|---|
X: WGDesktop | &DESK |
Assembly | Applesoft |
---|---|
X: WGPlot A: Character to plot (Apple format) Note: Character is plotted at the current global cursor position. | &PLOT(X position Y position, Character) |
Assembly | Applesoft |
---|---|
X: WGPrint PARAM0: Pointer to null-terminated string (LSB) PARAM1: Pointer to null-terminated string (MSB) | &PRINT("string") |
Assembly | Applesoft |
---|---|
X: WGStrokeRect PARAM0: Left edge PARAM1: Top edge PARAM2: Width PARAM3: Height | &DRAW(left,top,width,height) |
Assembly | Applesoft |
---|---|
X: WGFillRect PARAM0: Left edge PARAM1: Top edge PARAM2: Width PARAM3: Height Y: Character to fill with (Apple format) | &FILL(left,top,width,height,character) |
Assembly | Applesoft |
---|---|
X: WGFancyRect PARAM0: Left edge PARAM1: Top edge PARAM2: Width PARAM3: Height | Not available |
Assembly | Applesoft |
---|---|
X: WGEnableMouse | Not available (see WGMouse) |
Assembly | Applesoft |
---|---|
X: WGDisableMouse | Not available (see WGMouse) |
Assembly | Applesoft |
---|---|
Not available | &MOUSE(1 to enable or 0 to disable) |
Assembly | Applesoft |
---|---|
Not available | &GET(A$) |
Assembly | Applesoft |
---|---|
X: WGExit | &EXIT |