Re: [cc65] Scalable UI without float?

From: Robin Harbron <macbeth1tbaytel.net>
Date: 2010-04-21 05:56:54
On 4/20/2010 11:37 PM, Payton Byrd wrote:
> gotoxy(Item1X/100*screensize,0); cputs(Item1);

Just multiply first, then divide?

gotoxy(Item1X*screensize/100,0); cputs(Item1);
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Apr 21 05:57:13 2010

This archive was generated by hypermail 2.1.8 : 2010-04-21 05:57:16 CEST