Skip to content

Instantly share code, notes, and snippets.

@brigand
Created October 24, 2012 01:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brigand/3943148 to your computer and use it in GitHub Desktop.
Save brigand/3943148 to your computer and use it in GitHub Desktop.
; Made in http://youtu.be/OPc9kE5Wpec
#Include <GDIp>
#Include <GDIpHelper>
SetUpGDIP()
^h::
StartDrawGDIP()
ClearDrawGDIP()
pBrush := Gdip_BrushCreateSolid(0xffff0000)
Random, X, 20, 300
Gdip_FillRectangle(G, pBrush, X, 5, 200, 300)
Gdip_DeleteBrush(pBrush)
EndDrawGDIP()
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment