RE: [PHP-GTK-DEV] #28587 [Opn]: Default 16-bit Color has Little Square Dots Everywhere

From: Date: Fri, 04 Jun 2004 23:38:23 +0000
Subject: RE: [PHP-GTK-DEV] #28587 [Opn]: Default 16-bit Color has Little Square Dots Everywhere
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-625@lists.php.net to get a copy of this message
I'm sorry, guys, I haven't seen this and have no clue what jbelton's talking about (apologies to jbelton too). > -----Original Message----- > From: jbelton at shaw dot ca [mailto:php-gtk-dev@lists.php.net] > Sent: 05 June 2004 00:04 > To: php-gtk-dev@lists.php.net > Subject: [PHP-GTK-DEV] #28587 [Opn]: Default 16-bit Color has Little > Square Dots Everywhere > > > ID: 28587 > User updated by: jbelton at shaw dot ca > -Summary: Default Color has Little Square Dots Everywhere > Reported By: jbelton at shaw dot ca > Status: Open > Bug Type: PHP-GTK related > Operating System: Windows 98 > PHP Version: 1.0.0 (PHP-GTK) > New Comment: > > Determined that this is not a problem if the display mode is set to > 32-bit color rather than 16-bit. Unfortunately, some Windows software > doesn't work in 32-bit, so this is still a problem. > > > Previous Comments: > ------------------------------------------------------------------------ > > [2004-06-01 04:54:26] jbelton at shaw dot ca > > Couldn't the default be just plain grey? This seems to be the default > for every other windows app. Having a default of "psychosis inducing > graph paper" that requires developers to figure out how to install and > modify the default theme doesn't seem like a great way to win over the > windows development community. But what do I know, I'm a Linux > developer >;) > > ------------------------------------------------------------------------ > > [2004-05-31 14:30:51] epplestun at alaplaya dot com > > This is not a bug, that is the color of the GTK interface, if you try > to use the GTK themes your interface change > > ------------------------------------------------------------------------ > > [2004-05-31 12:21:53] derick@php.net > > Recategorizing. > > ------------------------------------------------------------------------ > > [2004-05-31 06:29:20] jbelton at shaw dot ca > > Description: > ------------ > Just installed PHP-GTK 1.0.0 on Windows 98. Don't know the version of > PHP. Downloaded the hello world script below. Works fine, but the > default "color" is light grey, covered with dark grey dots. Also > downloaded a longer sample program. Again, works fine but with little > grey dots all over it. > > Reproduce code: > --------------- > <?php > > if (!class_exists('gtk')) { > if (strtoupper(substr(PHP_OS, 0,3) == 'WIN')) > dl('php_gtk.dll'); > else > dl('php_gtk.so'); > } > > function delete_event() > { > return false; > } > > function shutdown() > { > print("Shutting down...\n"); > gtk::main_quit(); > } > > function hello() > { > global $window; > print "Hello World!\n"; > $window->destroy(); > } > > $window = &new GtkWindow(); > $window->connect('destroy', 'shutdown'); > $window->connect('delete-event', 'delete_event'); > $window->set_border_width(10); > > $button = &new GtkButton('Hello World!'); > $button->connect('clicked', 'hello'); > $window->add($button); > > $window->show_all(); > > gtk::main(); > > ?> > > > Expected result: > ---------------- > A little window with a button saying hello world, but without little > dark grey spots all over it. > > Actual result: > -------------- > Could send a screen shot, > > > ------------------------------------------------------------------------ > > > -- > Edit this bug report at > http://bugs.php.net/?id=28587&edit=1 > > -- > PHP-GTK Development Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.gtk.dev (#625) next »