Home » Community » U++ community news and announcements » Upp 701-dev1 released
Re: Upp 701-dev1 released [message #7619 is a reply to message #7618] |
Wed, 10 January 2007 14:56 |
guido
Messages: 169 Registered: April 2006
|
Experienced Member |
|
|
luzr wrote on Wed, 10 January 2007 13:40 | Well, if you have a bit of time:
CtrlLib/ChGtk.cpp 761:
SColorMenu_Write(GetGTK(popup, 0, 2, "menu", GTK_BOX, 32, 32)[16][16]);
This is the place Basically, it paints menu into 32x32 area and then reads color from the middle. (Later the image will be used to paint the whole menu, but MenuBar is not ready yet).
Now maybe the trouble are "0, 2" constants (I never really realized what is meant by them, it is "state" and "shadow"). Maybe trying other values can fix the problem.
Mirek
|
GTK_STATE_NORMAL State during normal operation.
GTK_STATE_ACTIVE State of a currently active widget, such as a depressed button.
GTK_STATE_PRELIGHT State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks.
GTK_STATE_SELECTED State of a selected item, such the selected row in a list.
GTK_STATE_INSENSITIVE State indicating that the widget is unresponsive to user actions.
GTK_SHADOW_NONE No shadow is displayed, resulting in a two-dimensional appearance.
GTK_SHADOW_IN Displays dark shadow on left and upper sides of the widget, resulting in the appearance of the widget being lower than its surrounding area.
GTK_SHADOW_OUT Displays dark shadow on right and lower sides of the widget, resulting in the illusion that the widget is raised above its surrounding area.
GTK_SHADOW_ETCHED_IN Displays the appearance of sunken detail.
GTK_SHADOW_ETCHED_OUT Displays the appearance of raised detail.
I set shadow to 0.
Then state to 1 (ACTIVE).
Neither having any effect at all.
Guido
|
|
|
|
|
Upp 701-dev1 released
By: unodgs on Mon, 08 January 2007 21:27
|
|
|
Re: Upp 701-dev1 released
By: Werner on Mon, 08 January 2007 23:41
|
|
|
Re: Upp 701-dev1 released
By: MikeP on Fri, 12 January 2007 22:07
|
|
|
Re: Upp 701-dev1 released
By: paolo on Mon, 15 January 2007 18:33
|
|
|
Re: Upp 701-dev1 released
By: forlano on Tue, 16 January 2007 10:53
|
|
|
Re: Upp 701-dev1 released
By: guido on Tue, 09 January 2007 22:11
|
|
|
Re: Upp 701-dev1 released
By: mirek on Tue, 09 January 2007 23:06
|
|
|
Re: Upp 701-dev1 released
By: guido on Tue, 09 January 2007 23:47
|
|
|
Re: Upp 701-dev1 released
By: mirek on Wed, 10 January 2007 13:40
|
|
|
Re: Upp 701-dev1 released
By: guido on Wed, 10 January 2007 14:56
|
|
|
Re: Upp 701-dev1 released
By: mirek on Wed, 10 January 2007 20:06
|
|
|
Re: Upp 701-dev1 released
By: mirek on Fri, 12 January 2007 19:00
|
|
|
Re: Upp 701-dev1 released
By: masu on Thu, 18 January 2007 22:41
|
|
|
Re: Upp 701-dev1 released
By: mirek on Thu, 18 January 2007 23:00
|
|
|
Re: Upp 701-dev1 released
By: masu on Thu, 18 January 2007 23:09
|
|
|
Re: Upp 701-dev1 released
By: mirek on Thu, 18 January 2007 23:54
|
|
|
Re: Upp 701-dev1 released
By: masu on Fri, 19 January 2007 09:06
|
|
|
Re: Upp 701-dev1 released
By: mirek on Fri, 19 January 2007 22:27
|
|
|
Re: Upp 701-dev1 released
By: masu on Fri, 19 January 2007 23:38
|
|
|
Re: Upp 701-dev1 released
By: masu on Fri, 19 January 2007 21:16
|
|
|
Re: Upp 701-dev1 released
By: lundman on Thu, 11 January 2007 11:27
|
|
|
Re: Upp 701-dev1 released
By: lundman on Thu, 11 January 2007 13:37
|
|
|
Bug in Hydra?
By: piotr5 on Fri, 12 January 2007 13:48
|
|
|
Re: Bug in Hydra?
By: mirek on Fri, 12 January 2007 15:48
|
|
|
Re: Bug in Hydra?
By: piotr5 on Fri, 19 January 2007 14:45
|
Goto Forum:
Current Time: Fri Apr 19 18:09:34 CEST 2024
Total time taken to generate the page: 0.04701 seconds
|