Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #numbers at the end represent where on the scrollbar they should be placed. In my case I went with a 6-wide scrollbar.
- #The bitmaps are a single pixel in cyan(R=0,G=255,B=255) so they appear as the foreground colour set in .config.
- %xl(corner1,ScrollTL.bmp,0,0)
- %xl(corner2,ScrollTR.bmp,5,0)
- %xl(corner3,ScrollBL.bmp,0,206)
- %xl(corner4,ScrollBR.bmp,5,206)
- #Draw a viewport over the scrollbar, then call on the 4 corners
- %Vl(scrollcorners,301,30,6,207,-)
- %xd(corner1)
- %xd(corner2)
- %xd(corner3)
- %xd(corner4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement