📄 sglfont1.f90
字号:
module SGL_UTIL
use SGL
implicit none
contains
subroutine display()
call sglClearBuffer()
call sglColor3i(255,255,255)
call sglTextOut( 100, 100, "HELLO" )
call sglUpdateBuffer()
end subroutine
end module SGL_UTIL
program main
use SGL_UTIL
implicit none
call sglDisplaySub(display)
call sglCreateWindow(100,100,400,400,1)
call sglMainLoop()
stop
end program
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -