FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Icons & buttons » Adjust buttons by swapping colours  () 1 Vote
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Return to the default flat view Create a new topic Submit Reply
Adjust buttons by swapping colours [message #160966] Sat, 07 November 2009 16:37 Go to previous message
venus is currently offline  venus   Russian Federation
Messages: 30
Registered: August 2002
Location: Urals, Russia
Karma:
Member
add to buddy list
ignore all messages by this user

thank you for new version.
also i'm impressed with your new green theme. but looks like buttons colors G<->B swapped bit incorrectly (e.g. "profile" button). Smile i've grabbed your css and wrote simple script to change to green. try, it will not change yellow to red.

#!/usr/bin/php
<?php
if($im = imagecreatefromgif($argv[1])) {
  for ($c = 0; $c < imagecolorstotal($im); $c++) {
    $col = imagecolorsforindex($im, $c);
    if($col['blue'] > $col['green'])
      imagecolorset($im, $c, $col['red'], $col['blue'], $col['red']);
  }
  echo 'image colorized\n.';
  imagegif($im, $argv[1]);
  imagedestroy($im);
} else 
  echo 'colorizing failed\n.';
?>
[Message index]
 
Read Message
Read Message
Read Message
Read Message icon6.gif
Previous Topic: Retro pixel style 16x20px file/mime icons
Next Topic: quick reply button text
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Dec 11 14:16:51 EST 2017

Total time taken to generate the page: 0.00649 seconds