- Timestamp:
- 01/29/09 13:43:13 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web2/addons/job_monarch/libtoga.php
r573 r574 1047 1047 $this->down = 0; 1048 1048 $this->offline = 0; 1049 $this->small = false; 1050 $this->big = false; 1049 1051 } 1050 1052 … … 1182 1184 1183 1185 $this->size = $SMALL_CLUSTERIMAGE_NODEWIDTH; 1186 $this->small = true; 1187 $this->big = false; 1184 1188 1185 1189 $this->draw(); … … 1191 1195 1192 1196 $this->size = $BIG_CLUSTERIMAGE_NODEWIDTH; 1197 $this->small = false; 1198 $this->big = true; 1193 1199 1194 1200 $this->drawShadow(); … … 1253 1259 $size = $this->size; 1254 1260 1255 imageFilledRectangle( $this->image, $this->x, $this->y, $this->x+($size-2), $this->y+($size-2), $black_color ); 1261 // seperator pixel row 1262 // 1263 $sep = 0; 1264 1265 if( $this->big ) 1266 { 1267 $sep = 2; 1268 } 1269 1270 imageFilledRectangle( $this->image, $this->x, $this->y, $this->x+($size-$sep), $this->y+($size-$sep), $black_color ); 1256 1271 1257 1272 if( $this->showinfo) … … 1270 1285 $load = $this->determineLoad(); 1271 1286 $usecolor = $this->colorHex( load_color($load) ); 1272 imageFilledRectangle( $this->image, $this->x+1, $this->y+1, $this->x+($size- 3), $this->y+($size-3), $usecolor );1287 imageFilledRectangle( $this->image, $this->x+1, $this->y+1, $this->x+($size-(1+$sep)), $this->y+($size-(1+$sep)), $usecolor ); 1273 1288 if( $this->down ) 1274 1289 {
Note: See TracChangeset
for help on using the changeset viewer.