From 5fec7c13f58b42af2920a07b54fdecf4c097ae39 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Mon, 29 Dec 2003 08:00:45 +0000 Subject: Minor changes. git-svn-id: svn://svn.zabbix.com/trunk@1114 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/classes.inc.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'frontends/php/include/classes.inc.php') diff --git a/frontends/php/include/classes.inc.php b/frontends/php/include/classes.inc.php index 97c3dfcc..d056ccaf 100644 --- a/frontends/php/include/classes.inc.php +++ b/frontends/php/include/classes.inc.php @@ -52,6 +52,7 @@ function initColors() { +// I should rename No Alpha to Alpha at some point to get rid of some confusion if(function_exists("ImageColorExactAlpha")&&function_exists("ImageCreateTrueColor")) { $this->colors["Red"]= ImageColorExactAlpha($this->im,255,0,0,50); @@ -84,6 +85,9 @@ $this->colors["Black"]=ImageColorAllocate($this->im,0,0,0); $this->colors["Gray"]=ImageColorAllocate($this->im,150,150,150); $this->colors["White"]=ImageColorAllocate($this->im,255,255,255); + + $this->colors["Dark Red No Alpha"]= ImageColorAllocate($this->im,150,0,0); + $this->colors["Black No Alpha"]= ImageColorAllocate($this->im,0,0,0); } } -- cgit