Lua: finished inputbox with negative and decimal inputs. Added to the repository more than 20(!) new scripts by DawnBringer
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1357 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
7
scripts/_tst_GradientBrush.lua
Normal file
7
scripts/_tst_GradientBrush.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
w, h = getbrushsize()
|
||||
|
||||
for x = 0, w - 1, 1 do
|
||||
for y = 0, h - 1, 1 do
|
||||
putbrushpixel(x, y, (x+y)%256);
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user