QB screen 12 background color help needed 
Author Message
 QB screen 12 background color help needed

Hello!  Can someone help me?

I am using QuickBASIC v4.5.  In lower numbered modes, the background and
foreground colors of the screen can be changed with "COLOR a, b".  This
doesn't work for screen mode 12 (or 11).  What I want to do is to print
stuff out with a different background color than the other areas of the
screen have.  To explain what I mean, an example might be inverting the
colors and printing black text on a white background to make that
particular text stand out on a screen that is normally white text on
black background.  How do I do this sort of thing?  (I want to be able to
use other colors, too, rather than always inverting the colors.)  Also,
how do I switch between 8x8 and 8x16 pixels for a character of text?  
Please don't yell "RTFM!" at me, because I *have* tried to figure it out
from the manual.  If at all possible, please e-mail me directly as I
don't normally come into this group.  Thanks!

Andrew



Tue, 28 Dec 1999 03:00:00 GMT  
 QB screen 12 background color help needed


writes:

Quote:
>I am using QuickBASIC v4.5.  In lower numbered modes,
>the background and foreground colors of the screen can be
>changed with "COLOR a, b".  This doesn't work for screen
>mode 12 (or 11).  What I want to do is to print  stuff out with
>a different background color than the other areas of the
>screen have.  

You can do it several ways - define your own characters and
use DRAW, store characters in arrays and then XOR or OR
them over coloured backgrounds, use this same method but
use one colour for character backgrounds and then use
Palette to change it etc.

TTfn,

Craig___



Wed, 29 Dec 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Screen 12 backgrounds in QB 4.5

2. SCREEN 12 in QB (colors) please convert to VB format

3. faster PSET for SCREEN 12 / memory layout of SCREEN 12

4. Background Colour in QBasic screen mode 12

5. :Need Help, Fading screen 12

6. Print text to SCREEN 12 in any color combination

7. save/load SCREEN 12 screens in QBasic?

8. E_FAIL while trying to do UpdateBatch (VB,ADO2.5,Sybase 12), need help

9. E_FAIL while trying to do UpdateBatch (VB,ADO2.5,Sybase 12), need help

10. HELP: I need to change the text and background colors used when calling DrawText

11. 256 Color in mode 12(QB45)???

12. use 256 Colors in Screenmode 12 ?!

 

 
Powered by phpBB® Forum Software