Advertisement
Guest User

Corners Solution

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