More or less standardised separator comments in the code

This commit is contained in:
Maruno17
2024-06-27 21:21:26 +01:00
parent 225549bfce
commit 509a414f37
198 changed files with 1907 additions and 1263 deletions

View File

@@ -1,5 +1,5 @@
#===============================================================================
# Text colors
# Text colors.
#===============================================================================
# Unused
def ctag(color)
@@ -70,7 +70,7 @@ def getContrastColor(color)
end
#===============================================================================
# Format text
# Format text.
#===============================================================================
FORMATREGEXP = /<(\/?)(c|c2|c3|o|fn|br|fs|i|b|r|pg|pog|u|s|icon|img|ac|ar|al|outln|outln2)(\s*\=\s*([^>]*))?>/i
@@ -790,7 +790,7 @@ def getFormattedText(bitmap, xDst, yDst, widthDst, heightDst, text, lineheight =
end
#===============================================================================
# Draw text and images on a bitmap
# Draw text and images on a bitmap.
#===============================================================================
def getLineBrokenText(bitmap, value, width, dims)
x = 0
@@ -1134,7 +1134,7 @@ def pbDrawTextPositions(bitmap, textpos)
end
#===============================================================================
# Draw images on a bitmap
# Draw images on a bitmap.
#===============================================================================
def pbCopyBitmap(dstbm, srcbm, x, y, opacity = 255)
rc = Rect.new(0, 0, srcbm.width, srcbm.height)