Added WGSetContentWidth and WGSetContentHeight

This commit is contained in:
blondie7575
2018-02-26 12:32:54 -08:00
parent 80f6662ede
commit c4035b83ef
4 changed files with 66 additions and 0 deletions
+26
View File
@@ -858,6 +858,32 @@ Not available
</pre></td></tr>
</table>
####WGViewWidth
Changes the content width of the currently selected view.
<table width="100%">
<tr><th>Assembly</th><th>Applesoft</th></tr><tr><td>
A: New content width for the view
</td><td>
Not available
</td></tr>
</table>
####WGViewHeight
Changes the content width of the currently selected view.
<table width="100%">
<tr><th>Assembly</th><th>Applesoft</th></tr><tr><td>
A: New content height for the view
</td><td>
Not available
</td></tr>
</table>
<br>
Drawing Routines
+2
View File
@@ -69,4 +69,6 @@ WGExit = 70
WGCreateProgress = 72
WGSetState = 74
WGViewSetRawTitle = 76
WGSetContentWidth = 77
WGSetContentHeight = 78
+38
View File
@@ -1415,6 +1415,44 @@ WGScrollYBy_done:
rts
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; WGSetContentWidth
; Sets the content width of the current view
; A: New width
;
WGSetContentWidth:
phy
pha
LDY_ACTIVEVIEW
pla
sta WG_VIEWRECORDS+7,y
jsr cacheClipPlanes ; Content width changed, so clipping cache is stale
ply
rts
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; WGSetContentHeight
; Sets the content width of the current view
; A: New height
;
WGSetContentHeight:
phy
pha
LDY_ACTIVEVIEW
pla
sta WG_VIEWRECORDS+8,y
jsr cacheClipPlanes ; Content height changed, so clipping cache is stale
ply
rts
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; WGViewPaintAll
; Repaints all views
BIN
View File
Binary file not shown.