Commit Graph

19 Commits

Author SHA1 Message Date
Peter Ferrie 258987b04f a bit smaller code 2018-03-07 14:38:22 -08:00
Peter Ferrie a81df445d3 more consistent formatting 2018-03-07 13:34:35 -08:00
4am 3c9aee9d6b refactor WGClearScreen 2018-03-02 14:20:17 -05:00
4am fa635751a6 refactor WGDesktop 2018-03-01 19:59:52 -05:00
blondie7575 5cb58f44dc Added support for raw bytes in view titles 2017-12-21 15:50:50 -08:00
Quinn Dunki 97be525f28 More efficient even/odd checking 2015-02-12 08:00:41 -08:00
Quinn Dunki 36e4157db7 Added support for raw characters to WGPrint
- Updated Applesoft sample code
2015-02-03 16:16:05 -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 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 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 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 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 5dc871c64e - Added delta X/Y scrolling
- Fixed WGPrint doing the wrong thing when entire string is below the clip box
- Fixed WGPrint missing end of string if it lands exactly on logical view boundary
2014-09-08 18:00:40 -07:00
Quinn Dunki ae3f4f491e - Added desktop painting
- Fixed WGEraseView corrupting the X register
- WGPaintAll now renders contents cleanly
2014-09-07 16:25:26 -07:00
Quinn Dunki 4e1843706e - Fixed some warnings
- Code cleanup
- Added pretty window rendering
2014-09-07 16:06:25 -07:00
Quinn Dunki f13f4b1ee2 - Painting code for Checkboxes
- Painting code for Buttons
- Data structures for controls
- Support for single width and height rectangle stroking
- Abstraction of normal and inverse text printing
- Support for lowercase in hex scanning
- Creation of checkboxes and buttons
- Support for view titles
2014-09-05 16:31:33 -07:00
Quinn Dunki ef8035f244 - Added unit test for text scrolling and clipping 2014-09-02 17:43:09 -07:00
Quinn Dunki 3c4eca1681 - New version of WGPrint that handles scrolling and clipping much better 2014-09-01 11:18:36 -07:00
Quinn Dunki 9cbc3e0cf8 - Initial commit 2014-08-29 12:19:19 -07:00