diff --git a/.gitignore b/.gitignore
index 56fa6a3..467cc0e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,4 +8,5 @@
.DS_Store
mouse.lst
asmdemo.lst
-weegui.lst
\ No newline at end of file
+weegui.lst
+MouseText.xcf
diff --git a/Documentation.md b/Documentation.md
index 24b489a..dff1d26 100644
--- a/Documentation.md
+++ b/Documentation.md
@@ -331,7 +331,7 @@ Configuration block consists of eight bytes:
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,
@@ -357,7 +357,7 @@ Configuration block consists of five bytes:
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,
@@ -382,7 +382,7 @@ Configuration block consists of eight bytes:
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,
@@ -398,7 +398,7 @@ Selects a view. Subsequent view-related operations will apply to this view. Does
Assembly | Applesoft |
---|
X: WGSelectView
A: View ID
- |
+ |
&SEL(View ID)
|
@@ -408,7 +408,7 @@ Processes any pending view actions that the user has initiated with the mouse. T
Assembly | Applesoft |
---|
X: WGPendingViewAction
- |
+ |
&PDACT
|
@@ -430,7 +430,7 @@ Focus is shifted to the currently selected view. This will highlight the view vi
Assembly | Applesoft |
---|
X: WGViewFocus
- |
+ |
&FOC
|
@@ -450,7 +450,7 @@ Focus is shifted to the next view in the focus chain, wrapping around to the fir
Assembly | Applesoft |
---|
X: WGViewFocusNext
- |
+ |
&FOCN
|
@@ -460,7 +460,7 @@ Focus is shifted to the previous view in the focus chain, wrapping around to the
Assembly | Applesoft |
---|
X: WGViewFocusPrev
- |
+ |
&FOCP
|
@@ -470,7 +470,7 @@ Action is taken on the currently focused view. If the view is a checkbox, that c
Assembly | Applesoft |
---|
X: WGViewFocusAction
- |
+ |
&ACT
|
@@ -480,7 +480,7 @@ Draws (or redraws) the currently selected view.
Assembly | Applesoft |
---|
X: WGPaintView
- |
+ |
&PNT
|
@@ -490,7 +490,7 @@ Redraws all views. This is useful if the screen becomes corrupted, or you need t
Assembly | Applesoft |
---|
X: WGViewPaintAll
- |
+ |
&PNTA
|
@@ -502,7 +502,7 @@ Changes the title of the selected view. Titles are only visible in the "fancy" s
X: WGViewSetTitle
PARAM0: Pointer to null-terminated string (LSB)
PARAM1: Pointer to null-terminated string (MSB)
- |
+ |
&TITLE("title")
|
@@ -514,7 +514,7 @@ Changes the action callback of the selected view.
X: WGViewSetAction
PARAM0: Function pointer (LSB)
PARAM1: Function pointer (MSB)
-
+ |
&STACT(line number)
|
@@ -555,7 +555,7 @@ Changes the position of the local cursor in the currently selected view.
X: WGSetCursor
PARAM0: New X position
PARAM1: New Y position
-
+ |
&CURSR(x,y)
|
@@ -616,7 +616,7 @@ Scrolls the currently selected view's contents to the specified vertical and hor
Assembly | Applesoft |
---|
Not available
- |
+ |
&SCR(X position, Y position)
|
@@ -648,7 +648,7 @@ Scrolls the currently selected view's contents by a specified delta (positive or
Assembly | Applesoft |
---|
Not available
- |
+ |
&SCRBY(X offset, Y offset)
|
@@ -665,7 +665,7 @@ Clears the screen to black. Unlike Applesoft HOME, this version always clears to
Assembly | Applesoft |
---|
X: WGClearScreen
- |
+ |
&HOME
|
@@ -675,7 +675,7 @@ Paints a desktop background on the screen.
Assembly | Applesoft |
---|
X: WGDesktop
- |
+ |
&DESK
|
@@ -688,7 +688,7 @@ X: WGPlot
A: Character to plot (Apple format)
Note: Character is plotted at the current global cursor position.
-
+ |
&PLOT(X position
Y position,
character)
@@ -702,7 +702,7 @@ Prints a string into the current view, at the *local* cursor position. The text
X: WGPrint
PARAM0: Pointer to null-terminated string (LSB)
PARAM1: Pointer to null-terminated string (MSB)
- |
+ |
&PRINT("string")
|
@@ -716,7 +716,7 @@ PARAM0: Left edge
PARAM1: Top edge
PARAM2: Width
PARAM3: Height
-
+ |
&DRAW(left,top,width,height)
|
@@ -731,7 +731,7 @@ PARAM1: Top edge
PARAM2: Width
PARAM3: Height
Y: Character to fill with (Apple format)
-
+ |
&FILL(left,top,width,height,character)
|
@@ -782,7 +782,7 @@ Enables or disables the mouse. Passing a '1' is equivalent to calling WGEnableMo
Assembly | Applesoft |
---|
Not available
- |
+ |
&MOUSE(1 to enable or 0 to disable)
|
@@ -792,7 +792,7 @@ A non-blocking version of Applesoft's GET. This allows you to easily create run-
Assembly | Applesoft |
---|
Not available
- |
+ |
&GET(A$)
|
@@ -809,7 +809,7 @@ Cleans up and shuts down WeeGUI. If you want your application to return cleanly
Assembly | Applesoft |
---|
X: WGExit
- |
+ |
&EXIT
|
@@ -826,3 +826,617 @@ For those really advanced users who want to get the most out of WeeGUI, there's
This branch sacrifices the Applesoft API however, because it is not possible for code running from AUX memory to access Applesoft programs and variables, as is required for the API to work.
The AUXMEM branch is experimental, and not currently supported. If you're interested in using it or playing with it, feel free to clone it and play around. I'm happy to answer questions about it, as well, although I can't necessarily provide full technical support.
+
+
+
+
+
+Appendix B: Apple Character Set
+===============================
+
+Below are complete listings of the Apple //e Enchanced (and Apple //c) ROM character set. The characters are shown as they appear on a black video screen. In other words, "normal" is white text on a black background. These values can be passed directly into WGPlot (&PLOT in Applesoft) to draw any character directly to the screen. No need to mess with inverse mode and escape characters!
+
+
+
+Value | Character | Value | Character | Value | Character | Value | Character |
+
+0 |
+@ |
+16 |
+P |
+32 |
+ |
+48 |
+0 |
+
+1 |
+A |
+17 |
+Q |
+33 |
+! |
+49 |
+1 |
+
+2 |
+B |
+18 |
+R |
+34 |
+" |
+50 |
+2 |
+
+3 |
+C |
+19 |
+S |
+35 |
+# |
+51 |
+3 |
+
+4 |
+D |
+20 |
+T |
+36 |
+$ |
+52 |
+4 |
+
+5 |
+E |
+21 |
+U |
+37 |
+% |
+53 |
+5 |
+
+6 |
+F |
+22 |
+V |
+38 |
+& |
+54 |
+6 |
+
+7 |
+G |
+23 |
+W |
+39 |
+' |
+55 |
+7 |
+
+8 |
+H |
+24 |
+X |
+40 |
+( |
+56 |
+8 |
+
+9 |
+I |
+25 |
+Y |
+41 |
+) |
+57 |
+9 |
+
+10 |
+J |
+26 |
+Z |
+42 |
+* |
+58 |
+: |
+
+11 |
+K |
+27 |
+[ |
+43 |
++ |
+59 |
+; |
+
+12 |
+L |
+28 |
+\ |
+44 |
+, |
+60 |
+< |
+
+13 |
+M |
+29 |
+] |
+45 |
+- |
+61 |
+= |
+
+14 |
+N |
+30 |
+^ |
+46 |
+. |
+62 |
+> |
+
+15 |
+O |
+31 |
+_ |
+47 |
+/ |
+63 |
+? |
+
+
+
+
+
+
+Value | Character | Value | Character | Value | Character | Value | Character |
+
+64 |
+ |
+80 |
+ |
+96 |
+` |
+112 |
+p |
+
+65 |
+ |
+81 |
+ |
+97 |
+a |
+113 |
+q |
+
+66 |
+ |
+82 |
+ |
+98 |
+b |
+114 |
+r |
+
+67 |
+ |
+83 |
+ |
+99 |
+c |
+115 |
+s |
+
+68 |
+ |
+84 |
+ |
+100 |
+d |
+116 |
+t |
+
+69 |
+ |
+85 |
+ |
+101 |
+e |
+117 |
+u |
+
+70 |
+ |
+86 |
+ |
+102 |
+f |
+118 |
+v |
+
+71 |
+ |
+87 |
+ |
+103 |
+g |
+119 |
+w |
+
+72 |
+ |
+88 |
+ |
+104 |
+h |
+120 |
+x |
+
+73 |
+ |
+89 |
+ |
+105 |
+i |
+121 |
+y |
+
+74 |
+ |
+90 |
+ |
+106 |
+j |
+122 |
+z |
+
+75 |
+ |
+91 |
+ |
+107 |
+k |
+123 |
+{ |
+
+76 |
+ |
+92 |
+ |
+108 |
+l |
+124 |
+| |
+
+77 |
+ |
+93 |
+ |
+109 |
+m |
+125 |
+} |
+
+78 |
+ |
+94 |
+ |
+110 |
+n |
+126 |
+~ |
+
+79 |
+ |
+95 |
+ |
+111 |
+o |
+127 |
+ |
+
+
+
+
+
+
+
+Value | Character | Value | Character | Value | Character | Value | Character |
+
+128 |
+@ |
+144 |
+P |
+160 |
+ |
+176 |
+0 |
+
+129 |
+A |
+145 |
+Q |
+161 |
+! |
+177 |
+1 |
+
+130 |
+B |
+146 |
+R |
+162 |
+" |
+178 |
+2 |
+
+131 |
+C |
+147 |
+S |
+163 |
+# |
+179 |
+3 |
+
+132 |
+D |
+148 |
+T |
+164 |
+$ |
+180 |
+4 |
+
+133 |
+E |
+149 |
+U |
+165 |
+% |
+181 |
+5 |
+
+134 |
+F |
+150 |
+V |
+166 |
+& |
+182 |
+6 |
+
+135 |
+G |
+151 |
+W |
+167 |
+' |
+183 |
+7 |
+
+136 |
+H |
+152 |
+X |
+168 |
+( |
+184 |
+8 |
+
+137 |
+I |
+153 |
+Y |
+169 |
+) |
+185 |
+9 |
+
+138 |
+J |
+154 |
+Z |
+170 |
+* |
+186 |
+: |
+
+139 |
+K |
+155 |
+[ |
+171 |
++ |
+187 |
+; |
+
+140 |
+L |
+156 |
+\ |
+172 |
+, |
+188 |
+< |
+
+141 |
+M |
+157 |
+] |
+173 |
+- |
+189 |
+= |
+
+142 |
+N |
+158 |
+^ |
+174 |
+. |
+190 |
+> |
+
+143 |
+O |
+159 |
+_ |
+175 |
+/ |
+191 |
+? |
+
+
+
+
+
+
+Value | Character | Value | Character | Value | Character | Value | Character |
+
+192 |
+@ |
+208 |
+P |
+224 |
+` |
+240 |
+p |
+
+193 |
+A |
+209 |
+Q |
+225 |
+a |
+241 |
+q |
+
+194 |
+B |
+210 |
+R |
+226 |
+b |
+242 |
+r |
+
+195 |
+C |
+211 |
+S |
+227 |
+c |
+243 |
+s |
+
+196 |
+D |
+212 |
+T |
+228 |
+d |
+244 |
+t |
+
+197 |
+E |
+213 |
+U |
+229 |
+e |
+245 |
+u |
+
+198 |
+F |
+214 |
+V |
+230 |
+f |
+246 |
+v |
+
+199 |
+G |
+215 |
+W |
+231 |
+g |
+247 |
+w |
+
+200 |
+H |
+216 |
+X |
+232 |
+h |
+248 |
+x |
+
+201 |
+I |
+217 |
+Y |
+233 |
+i |
+249 |
+y |
+
+202 |
+J |
+218 |
+Z |
+234 |
+j |
+250 |
+z |
+
+203 |
+K |
+219 |
+[ |
+235 |
+k |
+251 |
+{ |
+
+204 |
+L |
+220 |
+\ |
+236 |
+l |
+252 |
+| |
+
+205 |
+M |
+221 |
+] |
+237 |
+m |
+253 |
+| |
+
+206 |
+N |
+222 |
+^ |
+238 |
+n |
+254 |
+~ |
+
+207 |
+O |
+223 |
+_ |
+239 |
+o |
+255 |
+ |
+
+
+
\ No newline at end of file
diff --git a/docart/mousetext127.jpg b/docart/mousetext127.jpg
new file mode 100644
index 0000000..5ae92ad
Binary files /dev/null and b/docart/mousetext127.jpg differ
diff --git a/docart/mousetext255.jpg b/docart/mousetext255.jpg
new file mode 100644
index 0000000..1428789
Binary files /dev/null and b/docart/mousetext255.jpg differ
diff --git a/docart/mousetext64.jpg b/docart/mousetext64.jpg
new file mode 100644
index 0000000..ee97d65
Binary files /dev/null and b/docart/mousetext64.jpg differ
diff --git a/docart/mousetext65.jpg b/docart/mousetext65.jpg
new file mode 100644
index 0000000..e452d15
Binary files /dev/null and b/docart/mousetext65.jpg differ
diff --git a/docart/mousetext66.jpg b/docart/mousetext66.jpg
new file mode 100644
index 0000000..6d425db
Binary files /dev/null and b/docart/mousetext66.jpg differ
diff --git a/docart/mousetext67.jpg b/docart/mousetext67.jpg
new file mode 100644
index 0000000..4167351
Binary files /dev/null and b/docart/mousetext67.jpg differ
diff --git a/docart/mousetext68.jpg b/docart/mousetext68.jpg
new file mode 100644
index 0000000..8e41702
Binary files /dev/null and b/docart/mousetext68.jpg differ
diff --git a/docart/mousetext69.jpg b/docart/mousetext69.jpg
new file mode 100644
index 0000000..83e7d02
Binary files /dev/null and b/docart/mousetext69.jpg differ
diff --git a/docart/mousetext70.jpg b/docart/mousetext70.jpg
new file mode 100644
index 0000000..1c11f03
Binary files /dev/null and b/docart/mousetext70.jpg differ
diff --git a/docart/mousetext71.jpg b/docart/mousetext71.jpg
new file mode 100644
index 0000000..1c5a33b
Binary files /dev/null and b/docart/mousetext71.jpg differ
diff --git a/docart/mousetext72.jpg b/docart/mousetext72.jpg
new file mode 100644
index 0000000..bc8e795
Binary files /dev/null and b/docart/mousetext72.jpg differ
diff --git a/docart/mousetext73.jpg b/docart/mousetext73.jpg
new file mode 100644
index 0000000..6c6aded
Binary files /dev/null and b/docart/mousetext73.jpg differ
diff --git a/docart/mousetext74.jpg b/docart/mousetext74.jpg
new file mode 100644
index 0000000..a2544f5
Binary files /dev/null and b/docart/mousetext74.jpg differ
diff --git a/docart/mousetext75.jpg b/docart/mousetext75.jpg
new file mode 100644
index 0000000..f73d8e4
Binary files /dev/null and b/docart/mousetext75.jpg differ
diff --git a/docart/mousetext76.jpg b/docart/mousetext76.jpg
new file mode 100644
index 0000000..038a7d8
Binary files /dev/null and b/docart/mousetext76.jpg differ
diff --git a/docart/mousetext77.jpg b/docart/mousetext77.jpg
new file mode 100644
index 0000000..6e513e2
Binary files /dev/null and b/docart/mousetext77.jpg differ
diff --git a/docart/mousetext78.jpg b/docart/mousetext78.jpg
new file mode 100644
index 0000000..fb0dba8
Binary files /dev/null and b/docart/mousetext78.jpg differ
diff --git a/docart/mousetext79.jpg b/docart/mousetext79.jpg
new file mode 100644
index 0000000..c1fe666
Binary files /dev/null and b/docart/mousetext79.jpg differ
diff --git a/docart/mousetext80.jpg b/docart/mousetext80.jpg
new file mode 100644
index 0000000..5ed414f
Binary files /dev/null and b/docart/mousetext80.jpg differ
diff --git a/docart/mousetext81.jpg b/docart/mousetext81.jpg
new file mode 100644
index 0000000..5a76895
Binary files /dev/null and b/docart/mousetext81.jpg differ
diff --git a/docart/mousetext82.jpg b/docart/mousetext82.jpg
new file mode 100644
index 0000000..a7bdb49
Binary files /dev/null and b/docart/mousetext82.jpg differ
diff --git a/docart/mousetext83.jpg b/docart/mousetext83.jpg
new file mode 100644
index 0000000..a1d046c
Binary files /dev/null and b/docart/mousetext83.jpg differ
diff --git a/docart/mousetext84.jpg b/docart/mousetext84.jpg
new file mode 100644
index 0000000..9de183e
Binary files /dev/null and b/docart/mousetext84.jpg differ
diff --git a/docart/mousetext85.jpg b/docart/mousetext85.jpg
new file mode 100644
index 0000000..01af19c
Binary files /dev/null and b/docart/mousetext85.jpg differ
diff --git a/docart/mousetext86.jpg b/docart/mousetext86.jpg
new file mode 100644
index 0000000..6f75f1a
Binary files /dev/null and b/docart/mousetext86.jpg differ
diff --git a/docart/mousetext87.jpg b/docart/mousetext87.jpg
new file mode 100644
index 0000000..91944d2
Binary files /dev/null and b/docart/mousetext87.jpg differ
diff --git a/docart/mousetext88.jpg b/docart/mousetext88.jpg
new file mode 100644
index 0000000..689f4ac
Binary files /dev/null and b/docart/mousetext88.jpg differ
diff --git a/docart/mousetext89.jpg b/docart/mousetext89.jpg
new file mode 100644
index 0000000..acf561c
Binary files /dev/null and b/docart/mousetext89.jpg differ
diff --git a/docart/mousetext90.jpg b/docart/mousetext90.jpg
new file mode 100644
index 0000000..bdd6274
Binary files /dev/null and b/docart/mousetext90.jpg differ
diff --git a/docart/mousetext91.jpg b/docart/mousetext91.jpg
new file mode 100644
index 0000000..16329e2
Binary files /dev/null and b/docart/mousetext91.jpg differ
diff --git a/docart/mousetext92.jpg b/docart/mousetext92.jpg
new file mode 100644
index 0000000..1d39d4e
Binary files /dev/null and b/docart/mousetext92.jpg differ
diff --git a/docart/mousetext93.jpg b/docart/mousetext93.jpg
new file mode 100644
index 0000000..e284e69
Binary files /dev/null and b/docart/mousetext93.jpg differ
diff --git a/docart/mousetext94.jpg b/docart/mousetext94.jpg
new file mode 100644
index 0000000..3c99549
Binary files /dev/null and b/docart/mousetext94.jpg differ
diff --git a/docart/mousetext95.jpg b/docart/mousetext95.jpg
new file mode 100644
index 0000000..bdd6274
Binary files /dev/null and b/docart/mousetext95.jpg differ
diff --git a/weegui.dsk b/weegui.dsk
index 6866201..4298bb9 100644
Binary files a/weegui.dsk and b/weegui.dsk differ