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
 
AssemblyApplesoft
 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
AssemblyApplesoft
 X:		WGPendingViewAction
-
+
 &PDACT
 
@@ -430,7 +430,7 @@ Focus is shifted to the currently selected view. This will highlight the view vi
AssemblyApplesoft
 X:		WGViewFocus
-
+
 &FOC
 
@@ -450,7 +450,7 @@ Focus is shifted to the next view in the focus chain, wrapping around to the fir
AssemblyApplesoft
 X:		WGViewFocusNext
-
+
 &FOCN
 
@@ -460,7 +460,7 @@ Focus is shifted to the previous view in the focus chain, wrapping around to the
AssemblyApplesoft
 X:		WGViewFocusPrev
-
+
 &FOCP
 
@@ -470,7 +470,7 @@ Action is taken on the currently focused view. If the view is a checkbox, that c
AssemblyApplesoft
 X:		WGViewFocusAction
-
+
 &ACT
 
@@ -480,7 +480,7 @@ Draws (or redraws) the currently selected view.
AssemblyApplesoft
 X:		WGPaintView
-
+
 &PNT
 
@@ -490,7 +490,7 @@ Redraws all views. This is useful if the screen becomes corrupted, or you need t
AssemblyApplesoft
 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
AssemblyApplesoft
Not available -
+
 &SCR(X position, Y position)
 
@@ -648,7 +648,7 @@ Scrolls the currently selected view's contents by a specified delta (positive or
AssemblyApplesoft
Not available -
+
 &SCRBY(X offset, Y offset)
 
@@ -665,7 +665,7 @@ Clears the screen to black. Unlike Applesoft HOME, this version always clears to
AssemblyApplesoft
 X:		WGClearScreen
-
+
 &HOME
 
@@ -675,7 +675,7 @@ Paints a desktop background on the screen.
AssemblyApplesoft
 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
AssemblyApplesoft
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-
AssemblyApplesoft
Not available -
+
 &GET(A$) 
 
@@ -809,7 +809,7 @@ Cleans up and shuts down WeeGUI. If you want your application to return cleanly
AssemblyApplesoft
 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! + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ValueCharacterValueCharacterValueCharacterValueCharacter
0 +@16 +P32 + 48 +0
1 +A17 +Q33 +!49 +1
2 +B18 +R34 +"50 +2
3 +C19 +S35 +#51 +3
4 +D20 +T36 +$52 +4
5 +E21 +U37 +%53 +5
6 +F22 +V38 +&54 +6
7 +G23 +W39 +'55 +7
8 +H24 +X40 +(56 +8
9 +I25 +Y41 +)57 +9
10 +J26 +Z42 +*58 +:
11 +K27 +[43 ++59 +;
12 +L28 +\44 +,60 +<
13 +M29 +]45 +-61 +=
14 +N30 +^46 +.62 +>
15 +O31 +_47 +/63 +?
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ValueCharacterValueCharacterValueCharacterValueCharacter
64 +80 +96 +`112 +p
65 +81 +97 +a113 +q
66 +82 +98 +b114 +r
67 +83 +99 +c115 +s
68 +84 +100 +d116 +t
69 +85 +101 +e117 +u
70 +86 +102 +f118 +v
71 +87 +103 +g119 +w
72 +88 +104 +h120 +x
73 +89 +105 +i121 +y
74 +90 +106 +j122 +z
75 +91 +107 +k123 +{
76 +92 +108 +l124 +|
77 +93 +109 +m125 +}
78 +94 +110 +n126 +~
79 +95 +111 +o127 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ValueCharacterValueCharacterValueCharacterValueCharacter
128 +@144 +P160 + 176 +0
129 +A145 +Q161 +!177 +1
130 +B146 +R162 +"178 +2
131 +C147 +S163 +#179 +3
132 +D148 +T164 +$180 +4
133 +E149 +U165 +%181 +5
134 +F150 +V166 +&182 +6
135 +G151 +W167 +'183 +7
136 +H152 +X168 +(184 +8
137 +I153 +Y169 +)185 +9
138 +J154 +Z170 +*186 +:
139 +K155 +[171 ++187 +;
140 +L156 +\172 +,188 +<
141 +M157 +]173 +-189 +=
142 +N158 +^174 +.190 +>
143 +O159 +_175 +/191 +?
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ValueCharacterValueCharacterValueCharacterValueCharacter
192 +@208 +P224 +`240 +p
193 +A209 +Q225 +a241 +q
194 +B210 +R226 +b242 +r
195 +C211 +S227 +c243 +s
196 +D212 +T228 +d244 +t
197 +E213 +U229 +e245 +u
198 +F214 +V230 +f246 +v
199 +G215 +W231 +g247 +w
200 +H216 +X232 +h248 +x
201 +I217 +Y233 +i249 +y
202 +J218 +Z234 +j250 +z
203 +K219 +[235 +k251 +{
204 +L220 +\236 +l252 +|
205 +M221 +]237 +m253 +|
206 +N222 +^238 +n254 +~
207 +O223 +_239 +o255 +
\ 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