Commit Graph

14 Commits

Author SHA1 Message Date
Quinn Dunki
7207675b35 - Fixed parameter-less AppleSoft commands
- Added support for struct parameters in AppleSoft
- Added &HOME
- Renamed &VIEW to &WINDOW
- Separated style and ID bytes in view creation
- View state, callbacks, and title pointers are now initialized
- NULL pointers are handled in window titles
- Added function to restore a valid cursor state for AppleSoft upon API exit
2014-09-16 14:04:05 -07:00
Quinn Dunki
5da9ea899b - Converted view constructors to more sensible struct-passing instead of config strings
- Fixed fancy window title rendering
- Focus forward/back now skips non-controls
2014-09-16 08:41:48 -07:00
Quinn Dunki
f5c4af0201 - Parameter parsing and command table working for AppleSoft API
- String and integer vector parameters supported
2014-09-11 14:04:30 -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
6ca94984bc - Arbitrary view focusing 2014-09-07 11:22:32 -07:00
Quinn Dunki
d9aaa8144a - Added reverse focus selection
- Added support for button callbacks
2014-09-07 11:15:59 -07:00
Quinn Dunki
25e24282b3 - Added view selection and focus states
- Added some API for focus selection
- Fixed a bug in selected view table lookup
- View creation now selects new view
- Refactored and fixed bugs in checkbox rendering
- Checkboxes can now be toggled
- Basic API for view actions
- Convenience routine for painting all views
2014-09-05 20:32:16 -07:00
Quinn Dunki
9924d41080 - Painting code for button contents, in both states, with titles 2014-09-05 17:14:37 -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