summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes.inc.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-12-29 08:00:45 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-12-29 08:00:45 +0000
commit5fec7c13f58b42af2920a07b54fdecf4c097ae39 (patch)
treed56296fc6c0494f443064721ffca386e9a7cd7a4 /frontends/php/include/classes.inc.php
parent857405ea9754d9ed0e28c29cccbfe3463a1c1e38 (diff)
downloadzabbix-5fec7c13f58b42af2920a07b54fdecf4c097ae39.tar.gz
zabbix-5fec7c13f58b42af2920a07b54fdecf4c097ae39.tar.xz
zabbix-5fec7c13f58b42af2920a07b54fdecf4c097ae39.zip
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@1114 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes.inc.php')
-rw-r--r--frontends/php/include/classes.inc.php4
1 files changed, 4 insertions, 0 deletions
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);
}
}