taut: top bar

This commit is contained in:
minjaesong
2026-04-29 12:41:20 +09:00
parent b3c5719e3a
commit 538d718568
2 changed files with 15 additions and 15 deletions

View File

@@ -651,15 +651,15 @@ function drawStatusBar() {
if (active) transportControlNewPos = j;
})
// draw button background
if (transportControlOldPos != transportControlNewPos) {
// erase button from old pos
gl.drawTexImage(buttonNullTexture, SCRPW - 35*(transportControlOldPos+1), 0)
// paint button in new pos
gl.drawTexImage(buttonTexture, SCRPW - 35*(transportControlNewPos+1), 0)
// update pos tracking
transportControlOldPos = transportControlNewPos
}
// draw tob bar background
gl.drawTexPattern(buttonTexture, 0, 0, SCRPW, 28)
graphics.plotPixel(0, 0, 255)
graphics.plotPixel(0, 1, 254)
graphics.plotPixel(SCRPW-1, 0, 255)
graphics.plotPixel(SCRPW-1, 1, 254)
// update pos tracking
transportControlOldPos = transportControlNewPos
// current audio device status
@@ -695,7 +695,7 @@ function drawStatusBar() {
con.move(2, (SCRW - (s2.length & 254)) >>> 1)
con.color_pair(colSep, 255); print('tracker for ')
con.color_pair(74, 255); print('tsvm')*/
gl.drawTexImage(logoTexture, (SCRPW-logoTexture.width) >>> 1, 6)
gl.drawTexImageOver(logoTexture, (SCRPW-logoTexture.width) >>> 1, 7)
}
@@ -1183,10 +1183,10 @@ const logoBytes = logofile.bread(); logofile.close()
const logoTexture = new gl.Texture(88, 12, logoBytes)
const buttonfile = files.open("A:/tvdos/bin/tautbtn.r8")
const buttonBytes = buttonfile.bread(); buttonfile.close()
const buttonTexture = new gl.Texture(35, 28, buttonBytes)
const buttonNullfile = files.open("A:/tvdos/bin/tautbtn0.r8")
const buttonNullBytes = buttonNullfile.bread(); buttonNullfile.close()
const buttonNullTexture = new gl.Texture(35, 28, buttonNullBytes)
const buttonTexture = new gl.Texture(2, 28, buttonBytes)
//const buttonNullfile = files.open("A:/tvdos/bin/tautbtn0.r8")
//const buttonNullBytes = buttonNullfile.bread(); buttonNullfile.close()
//const buttonNullTexture = new gl.Texture(35, 28, buttonNullBytes)
font.setLowRom("A:/tvdos/bin/tautfont_low.chr")
font.setHighRom("A:/tvdos/bin/tautfont_high.chr")

View File

@@ -1 +1 @@
﻾﻾﻾﻾﻾﻾﻾﻾﻾﻾﻾﻾﻾﻾﻾﻾ﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﻻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯻﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺﯺ﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫺﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹﫹粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒粒笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠笠。慡慡慡慡慡慡慡慡慡慡慡慡慡慡慡慡。
<EFBFBD><EFBFBD>驎驎驎驎驎涇馞洄洄洄泚<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>aa