[PHP-BUG] Req #61438 [NEW]: color_to_hex functionally

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PHP-BUG] Req #61438 [NEW]: color_to_hex functionally

Guthrie at att dot net
From:            
Operating system: Ubuntu
PHP version:      Irrelevant
Package:          PHP-GTK related
Bug Type:         Feature/Change Request
Bug description:color_to_hex functionally

Description:
------------
There is no easy way to convert the rgb values from a GdkColor object to
normal
hex or rgb. GdkColor uses seperate red, green and blue values ranging from
0 to
65535.

Test script:
---------------
print_r($colorbutton->get_color());

[0] => GdkColor Object
        (
            [red] => 56815
            [green] => 7663
            [blue] => 7663
            [pixel] => 0
        )



--
Edit bug report at https://bugs.php.net/bug.php?id=61438&edit=1
--
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=61438&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=61438&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=61438&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=61438&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61438&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=61438&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=61438&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=61438&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=61438&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=61438&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=61438&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=61438&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=61438&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=61438&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=61438&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=61438&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=61438&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=61438&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=61438&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=61438&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=61438&r=mysqlcfg


--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply | Threaded
Open this post in threaded view
|

Req #61438 [Opn->Sus]: color_to_hex functionally

Kalle Sommer Nielsen
Edit report at https://bugs.php.net/bug.php?id=61438&edit=1

 ID:                 61438
 Updated by:         [hidden email]
 Reported by:        bert at bhack dot net
 Summary:            color_to_hex functionally
-Status:             Open
+Status:             Suspended
 Type:               Feature/Change Request
 Package:            PHP-GTK related
 Operating System:   Ubuntu
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

I'm gonna suspend this report as the PHP GTK project activity seems halted, if the activity picks backup for the project then this report should be re-opened.


Previous Comments:
------------------------------------------------------------------------
[2012-03-19 16:13:08] bert at bhack dot net

Description:
------------
There is no easy way to convert the rgb values from a GdkColor object to normal
hex or rgb. GdkColor uses seperate red, green and blue values ranging from 0 to
65535.

Test script:
---------------
print_r($colorbutton->get_color());

[0] => GdkColor Object
        (
            [red] => 56815
            [green] => 7663
            [blue] => 7663
            [pixel] => 0
        )




------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=61438&edit=1

--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php