Skip to content

Commit

Permalink
viewers, show palette
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp committed Oct 19, 2024
1 parent 81221e2 commit efa5783
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions viewers/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ function draw() {
print("Up/Down\n switch\n color\n mode",4,62,10,false,1,true)
print("Left/Right\n switch\n pages",4,92,10,false,1,true)
print("TAB\n display\n system font",4,116,10,false,1,true)
for (var c = 0;c <= 15;c++) {
rect(208,(c*8)+4,8,8,c)
print(c,218,(c*8)+6,15,false,1,true)
}
}

// call the viewer
Expand Down
4 changes: 4 additions & 0 deletions viewers/viewer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ function draw()
print("Up/Down\n switch\n color\n mode",4,62,10,false,1,true)
print("Left/Right\n switch\n pages",4,92,10,false,1,true)
print("TAB\n display\n system font",4,116,10,false,1,true)
for c = 0,15,1 do
rect(208,(c*8)+4,8,8,c)
print(c,218,(c*8)+6,15,false,1,true)
end
end

-- call the viewer
Expand Down

0 comments on commit efa5783

Please sign in to comment.