This commit is contained in:
Kartik K. Agaram 2021-08-11 13:56:32 -07:00
parent 3d5ca62a38
commit eb1af96573
1 changed files with 5 additions and 1 deletions

View File

@ -28,8 +28,12 @@ type tab {
# post-right-coord # in characters
# channel-offset-x # in characters
fn render-environment screen: (addr screen), env: (addr environment), users: (addr array user), channels: (addr array channel), _items: (addr array item) {
fn render-environment screen: (addr screen), env: (addr environment), users: (addr array user), channels: (addr array channel), items: (addr array item) {
clear-screen screen
render-item-list screen, env, items, users
}
fn render-item-list screen: (addr screen), env: (addr environment), _items: (addr array item), users: (addr array user) {
var tmp-width/eax: int <- copy 0
var tmp-height/ecx: int <- copy 0
tmp-width, tmp-height <- screen-size screen