Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

QBasic Future.lib mouse cursors

Status
Not open for further replies.

Horatio11

Programmer
Sep 17, 2008
1
0
0
AU
Hello I'm Horatio and I'm 11 years old.

I have got different cursors shapes to work in the FL in 8-BIT depth.

Code:

REM $INCLUDE: 'future.bi'
Set640x400 8
FOR i% = 0 TO 255
READ C%
C$ = C$ + CHR$(C%)
NEXT
Future.MouseShape SADD(C$), VARSEG(C$)

But I would like it to work in 15 or 16 BIT, I've tried

FOR i% = 0 TO 255
READ R%,G%,B%
C$ = C$ + CHR$(R%) + CHR$(G%) + CHR$(B%)
NEXT

but it only sees it as 2 values, not 3, RGB Thankyou for your time and help :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top