Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

changed default fgcolor to softer white

  • Loading branch information...
commit d452d293700ce50bbdc6cffd752125d5a0a37101 1 parent 5f0e17a
@trystan trystan authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/com/headchant/asciipanel/AsciiPanel.as
View
6 src/com/headchant/asciipanel/AsciiPanel.as
@@ -145,7 +145,7 @@ package com.headchant.asciipanel {
return (a << 24) | (r << 16) | (g << 8) | b;
}
- public function write(string:String, x:int, y:int, fgcolor:uint = 0xFFFFFF, bgcolor:uint = 0xFF000000):void {
+ public function write(string:String, x:int, y:int, fgcolor:uint = 0xFFC0C0C0, bgcolor:uint = 0xFF000000):void {
if (string == null)
throw Error("string must not be null");
@@ -156,12 +156,12 @@ package com.headchant.asciipanel {
}
}
- public function writeCenter(string:String, y:int, fgcolor:uint = 0xFFFFFF, bgcolor:uint = 0xFF000000):void{
+ public function writeCenter(string:String, y:int, fgcolor:uint = 0xFFC0C0C0, bgcolor:uint = 0xFF000000):void{
var x:int = (widthInCharacters - string.length) / 2;
write(string, x, y);
}
- public function clear(char:String = " ", fgcolor:uint = 0xFFFFFF, bgcolor:uint = 0xFF000000):void{
+ public function clear(char:String = " ", fgcolor:uint = 0xFFC0C0C0, bgcolor:uint = 0xFF000000):void{
for (var i:int = 0; i < widthInCharacters; i++) {
for (var j : int = 0; j < heightInCharacters; j++) {
chars[i][j] = char.charCodeAt(0);
Please sign in to comment.
Something went wrong with that request. Please try again.