Papilio.SetColor History

Hide minor edits - Show changes to output

July 31, 2011, at 04:05 AM by Richelle Lopez -
Changed lines 31-35 from:
VGA.setColor( 0xE0 );//sets color to red\\
VGA.setColor( 0x1C );//sets color to green\\
VGA.setColor( 0x03 );//sets color to blue\\
VGA.setColor( 0, 0, 0 );//sets color to black\\
VGA.setColor( 0xE0|0x03 );//sets color to purple
to:
VGA.setColor( 0xE0 ); //sets color to red\\
VGA.setColor( 0x1C ); //sets color to green\\
VGA.setColor( 0x03 ); //sets color to blue\\
VGA.setColor( 0, 0, 0 ); //sets color to black\\
VGA.setColor( 0xE0|0x03 ); //sets color to purple\\
July 31, 2011, at 04:05 AM by Richelle Lopez -
Changed lines 17-19 from:
YELLOW = (RED|GREEN)\\
PURPLE = (RED|BLUE)\\
CYAN = (GREEN|BLUE)\\
to:
YELLOW = ( RED | GREEN )\\
PURPLE = ( RED | BLUE )\\
CYAN = ( GREEN | BLUE )\\
July 31, 2011, at 04:01 AM by Richelle Lopez -
Changed lines 9-11 from:
VGA.setColor(color)\\
VGA.setColor(r, g, b)
to:
VGA.setColor( color )\\
VGA.setColor( r, g, b )
Changed lines 31-35 from:
VGA.setColor(0xE0);//sets color to red\\
VGA.setColor(0x1C);//sets color to green\\
VGA.setColor(0x03);//sets color to blue\\
VGA.setColor(0,0,0);//sets color to black\\
VGA.setColor(0xE0|0x03);//sets color to purple
to:
VGA.setColor( 0xE0 );//sets color to red\\
VGA.setColor( 0x1C );//sets color to green\\
VGA.setColor( 0x03 );//sets color to blue\\
VGA.setColor( 0, 0, 0 );//sets color to black\\
VGA.setColor( 0xE0|0x03 );//sets color to purple
July 31, 2011, at 03:56 AM by Richelle Lopez -
Changed lines 6-7 from:
Sets color of the pixel
to:
Sets color of the pixel on screen.
Changed lines 34-35 from:
VGA.setColor(0,0,0);//sets color to black
to:
VGA.setColor(0,0,0);//sets color to black\\
VGA.setColor(0xE0|0x03);//sets color to purple
July 28, 2011, at 12:35 AM by Richelle Lopez -
Added lines 31-34:
VGA.setColor(0xE0);//sets color to red\\
VGA.setColor(0x1C);//sets color to green\\
VGA.setColor(0x03);//sets color to blue\\
VGA.setColor(0,0,0);//sets color to black
July 24, 2011, at 10:36 PM by Richelle Lopez -
Changed lines 32-52 from:
!!!See also
to:
!!!See also
*[[getVgaMem()]]
*[[getCharRam()]]
*[[getHSize()]]
*[[getVSize()]]
*[[getBasePointer()]]
*[[getCharacterBasePointer()]]
*[[readArea()]]
*[[writeArea()]]
*[[setBackgroundColor()]]
*[[putPixel()]]
*[[getPixel()]]
*[[drawRect()]]
*[[clearArea()]]
*[[printchar()]]
*[[printtext()]]
*[[clear()]]
*[[moveArea()]]
*[[blitStreamInit()]]
*[[blitStreamAppend()]]
*[[blitStream()]]
July 20, 2011, at 11:48 AM by Jack Gassett -
Changed line 10 from:
VGA.setColor(r,g,b)
to:
VGA.setColor(r, g, b)
July 20, 2011, at 11:47 AM by Jack Gassett -
Changed lines 9-11 from:
VGA.setColor(color)
VGA.setColor(color)
to:
VGA.setColor(color)\\
VGA.setColor(r,g,b)
Added lines 22-25:

r - red value\\
g - green value\\
b - blue value\\
July 20, 2011, at 11:45 AM by Jack Gassett -
Changed lines 6-7 from:
to:
Sets color of the pixel
Changed lines 9-11 from:
to:
VGA.setColor(color)
VGA.setColor(color)
Changed lines 13-22 from:
to:
-<color - color of the pixel\\
RED = 0xE0\\
GREEN = 0x1C\\
BLUE = 0x03\\
YELLOW = (RED|GREEN)\\
PURPLE = (RED|BLUE)\\
CYAN = (GREEN|BLUE)\\
WHITE = 0xff\\
BLACK = 0x00\\
Added line 24:
none
July 16, 2011, at 11:08 PM by Jack Gassett -
Added lines 1-15:
[[VGA]]

!!setColor()

!!!Description

!!!Syntax

!!!Parameters

!!!Returns

!!!Example

!!!See also
  

Share |