commentaire
This commit is contained in:
@@ -28,7 +28,12 @@ function DrawBlock($the_block, $vImage, $parametres)
|
||||
if (isset($parametres['font_RGB'])) $vFgRGB = $parametres['font_RGB'];
|
||||
if (isset($parametres['background_RGB'])) $vBgRGB = $parametres['background_RGB'];
|
||||
|
||||
// Une chance sur deux d'inverser entre fg et bg
|
||||
// Redessiner entête et pied de page
|
||||
$couleur=3;
|
||||
if (rand(0,100) < 50) $couleur = 5;
|
||||
blockchain::DrawBlockHeaderFooter($the_block, $vImage, $y, $couleur);
|
||||
|
||||
// Forcer les couleurs
|
||||
$fondRGB=[0,0,0];
|
||||
$fond=imagecolorallocate($vImage,$fondRGB[0],$fondRGB[1],$fondRGB[2]);
|
||||
$couleurRGB=[240,147,43];
|
||||
|
||||
Reference in New Issue
Block a user