You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
Actually, the black designator (0) does not work for the foreground
color with any background color spedified for graphics mode SCREEN
12. Some of the other foreground and background color combinations
aren't too swift either.
I tried to find out more in the PB documentation and performing an
online search, but found nothing that would help. What comments I
could find tended to suggest that SCREEN 12 has access to 16 colors
from a pallette of 64. Sombody may have decided that a transparent
color would be more useful than black. Whether there is a way to
overwrite the pallette selections was not indicated.
SCREEN 12 imposes VGA limitations on your graphics code, so you can
see that it is pretty dated. There is also a Mode 13 and a Mode X,
but in all probability you would be better served if you search the
web for extended graphics libraries that would give you added
features and functionality as well.
------------------
Old Navy Chief, Systems Engineer, Systems Analyst, now semi-retired
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment