Commit Graph

116 Commits

Author SHA1 Message Date
Quinn Dunki
138ebcddcb Markdown test 2015-01-19 11:52:26 -08:00
Quinn Dunki
28a4e43a81 Markdown test 2015-01-19 11:51:29 -08:00
Quinn Dunki
c1e181e38c Markdown test 2015-01-19 11:50:25 -08:00
Quinn Dunki
e6ef155540 Markdown test 2015-01-19 11:49:39 -08:00
Quinn Dunki
9da6f523cc Markdown test 2015-01-19 11:48:14 -08:00
Quinn Dunki
f0fc2c49df Markdown test 2015-01-19 11:47:26 -08:00
Quinn Dunki
b1454f7b1f Doc polish 2015-01-17 18:12:02 -08:00
Quinn Dunki
a585a7d803 Doc polish 2015-01-17 18:11:20 -08:00
Quinn Dunki
9a81d7f184 Doc polish 2015-01-17 18:08:10 -08:00
Quinn Dunki
9ae8cd40c4 Doc polish 2015-01-17 18:06:00 -08:00
Quinn Dunki
ec1ba66889 Doc polish 2015-01-17 18:05:07 -08:00
Quinn Dunki
f4136a48b3 Documentation polish 2015-01-17 18:03:26 -08:00
Quinn Dunki
94ef6654b6 Docs polish 2015-01-16 21:04:07 -08:00
Quinn Dunki
963d617c83 FillRect now supports 1x1 rects 2015-01-16 21:03:11 -08:00
Quinn Dunki
998fa46062 Documentation polish 2015-01-16 20:29:56 -08:00
Quinn Dunki
639ba927fc Bug fixes
- Added Exit routine for cleaning up text state and memory allocation
- Quitting no longer leaves BASIC in inverse sometimes
- Quitting now cleans up ProDOS memory properly
- Added Applesoft API for Exit
2015-01-16 08:18:19 -08:00
Quinn Dunki
7efb0613e6 Fixed pointer background going stale when view under it redraws 2015-01-15 18:52:32 -08:00
Quinn Dunki
fa6276dbc3 - Fixed mashing mouse buttin causing Applesoft GOSUBs to fail intermittently 2015-01-14 13:29:12 -08:00
Quinn Dunki
28956650ff Bug fixes
- Positive scroll values now clamped
2015-01-13 13:00:39 -08:00
Quinn Dunki
54d869195c Docs and bug fixes
- Documentation polish
- Negative local cursors are now clamped
2015-01-13 12:55:14 -08:00
Quinn Dunki
5a8212f4a1 Documentation polish 2015-01-10 11:43:00 -08:00
Quinn Dunki
b5b7c0cf63 Documentation polish 2015-01-10 11:28:27 -08:00
Quinn Dunki
35f752eab2 Polish & Docs
- Callbacks are more register-safe
- Polish to documentation
2015-01-02 16:42:53 -08:00
Quinn Dunki
421835ce66 Polish & Docs
- Removed &NRML and &IVER (not needed)
- WeeGUI's memory pages are now reserved in ProDOS's page allocation scheme, to protect us from file operations and such
- Renamed various files to be more friendly
- Cleaned up the disk image
- First draft of documentation
2015-01-02 16:01:38 -08:00
Quinn Dunki
6dc82fe5b5 Minor cleanup
- Code cleanup
- Fixed mouse not working on checkboxes with no callback
2015-01-01 15:56:32 -08:00
Quinn Dunki
99095e297d - Fixed mouse clicks not being detected unless mouse moved recently 2014-10-25 12:28:41 -07:00
Quinn Dunki
325db1bd10 - Fixed a bug where mouse wouldn't initialize until a WGPlot was encountered
- Fixed painting routines corrupting PAGE2 switch at random
- Fancy views can now detect clicks in their scroll bar areas
- Callbacks now used as "re-render" messages in scrollable windows
- Scrollbars now automagically functional
2014-10-25 12:01:14 -07:00
Quinn Dunki
ad7309db49 - Fixed non-interactive views repainting superfluously when clicked 2014-10-17 13:03:13 -07:00
Quinn Dunki
addac4355b - Fixed a bug where the first click on a button wouldn't highlight it
- Fixed dragging near buttons leaving trails sometimes
- Fixed a number of interrupt integrity issues with mouse pointer
- Fixed mouse slot scan start from wrong place
- Added dirty background recovery to mouse pointer
- Added safety to prevent mouse pointer stamping
- Fixed some rendering bugs when mouse pointer is in vicinity of updated views
2014-10-17 11:08:14 -07:00
Quinn Dunki
6d6c8bc95e - More code compression 2014-10-14 13:06:38 -07:00
Quinn Dunki
5d00c3286c - More code size optimization
- Reimplemented Print unit test
- Made it easier to exclude AppleSoft API if desired
2014-10-13 19:12:14 -07:00
Quinn Dunki
fd53a53a85 - Implemented most of MLI
- Code cleanup
- GUIDEMO is now the demo for the MLI
2014-10-11 16:12:15 -07:00
Quinn Dunki
38da3a2c8e - Converted WGSetCursor to use zero-page parameter passing
- Eliminated WGInverse and WGNormal API calls
- Added the basic dispatcher for ML API
- Trimmed some unneeded code
- Prototyped assembly language API file
- Another pass on reducing code size
- X register now reserved for dispatcher
- API calls using X register as a parameter converted to Y register
- Added WGSetGlobalCursor
- Some code cleanup
2014-10-03 12:22:19 -07:00
Quinn Dunki
7249f48d4a - Quick first pass to reduce code size 2014-10-02 14:59:13 -07:00
Quinn Dunki
6c36f5e627 - Added a non-blocking version of GET to AppleSoft
- Procedural GOSUBs no longer rely on V flag in Applesoft (wasn't reliable with interrupts)
- Added &MOUSE
- Added &PDACT
- Added &GET
- Button clicking with mouse now flashes state
- Mouse clicking on controls now works from AppleSoft
2014-10-01 15:53:20 -07:00
Quinn Dunki
b1cefa96c0 - Added Pending View, so app run loops can handle mouse actions
- Added XY saving macro
- Tightened up view macros a bit
- Views can now be found and acted on by the mouse
- Mouse rendering now handles missing mouse
- Added the concept of "no focus", so that one view doesn't always have to be highlighted
- Added View finding by screenspace point
2014-09-29 13:45:46 -07:00
Quinn Dunki
6111a30559 - Added slot-scan to find mouse card or port
- Mouse routines now work in any slot or port
2014-09-29 11:38:45 -07:00
Quinn Dunki
b66b85c23d - Mouse handler is now ProDOS-compliant 2014-09-28 13:56:41 -07:00
Quinn Dunki
ac67fee53b - Rough first pass on mouse handler 2014-09-27 17:52:57 -07:00
Quinn Dunki
ddf94c9ab1 - Rectangles now automatically handle double horizontal edges close together 2014-09-26 18:05:01 -07:00
Quinn Dunki
cd35b7d1b3 - Added &PLOT 2014-09-25 17:41:41 -07:00
Quinn Dunki
6872fa5af0 - Added &INVR and &NRML
- Added &FILL and &DRAW
- Some code cleanup
- Added &PNT, &UNPNT, and &PNTA
2014-09-24 17:03:37 -07:00
Quinn Dunki
ac965177c8 - Compressed AppleSoft command table into half as many bytes
- Improved some AppleSoft error messages
- Integer arguments in AppleSoft now handle signed values as well as unsigned
- Fixed a bug in string arguments
- Added a temp string argument type, whereby the string is pointed to within the AppleSoft source
- Added &CURSR
- Added &PRINT
- Added &SCR
- Added &SCRBY
- Added &ERASE
- Fixed WGPrint not clipping top properly if last line is short and above the plane
- Fixed decorated window titles not rendering properly
2014-09-23 15:33:51 -07:00
Quinn Dunki
d7f775609d - Fixed a bug whereby string arguments couldn't be first in AppleSoft API calls
- Added &TITLE and &SETACT to AppleSoft API
2014-09-21 14:16:12 -07:00
Quinn Dunki
28adec64ca - Added support for titles on checkboxes
- Corrected byte ordering of callback and title pointers in views
2014-09-21 13:46:41 -07:00
Quinn Dunki
58deae7241 - Fixed callbacks on machine language buttons
- Fixed AppleSoft flag not getting set properly on buttons and checkboxes
- Added macros for 16 and 32 bit function calls
- Some code cleanup
2014-09-21 13:08:41 -07:00
Quinn Dunki
477fb59c75 - Some code cleanup
- Support for procedural AppleSoft GOSUB
- Support for more varied parameter types in AppleSoft API calls
- Support for 16-bit integers in AppleSoft API calls
- Added line number GOSUB feature to buttons built from AppleSoft
- Buttons now take callback pointer in init struct
- Added flag bits to upper nibble of style byte on views
- ViewAction now has option for AppleSoft GOSUBs
2014-09-20 18:20:44 -07:00
Quinn Dunki
0995f6675d - Library is now designed to be BRUNed from AppleSoft, instead of trying to make an init call
- Fixed a bug in the AppleSoft command matcher with prefixes
- Removed useless &weegui command
- Added &select, &focus, &act,  &focusn, and &focusp commands for AppleSoft
2014-09-19 16:04:36 -07:00
Quinn Dunki
72bab2ba8f - Initialization now clears string allocator
- Changed some AppleSoft APIs to be more keyword-friendly
- Fixed button string pointers being wrong endian in AppleSoft API
- Fixed incorrect endian in return value of string allocator
2014-09-18 16:24:17 -07:00
Quinn Dunki
1c9d9a7bdd - Added support for string arguments within struct parameter lists
- Added string block allocator and copier
- Added AppleSoft API for creating checkboxes and buttons
- Fixed bug with view constructors not correctly selecting the view after creation
2014-09-16 18:01:08 -07:00