|
|
Home » Community » U++ community news and announcements » Upp 701-dev1 released
Upp 701-dev1 released [message #7591] |
Mon, 08 January 2007 21:27  |
|
Welcome everyone to 2007 Dev-story goes on..
+ Win32 TrayIcon now supports balloon messages
- fixed problem with TheIDE creating zombie processes in Linux
- fixed HomeBudget comatibility with new sqlite3 interface
- fixed allocating of permanent memory blocks
+ GridCtrl copy/paste
+ Concrete01 in tutorial
|
|
|
Re: Upp 701-dev1 released [message #7595 is a reply to message #7591] |
Mon, 08 January 2007 23:41   |
Werner
Messages: 234 Registered: May 2006 Location: Cologne / Germany
|
Experienced Member |
|
|
Trying to build "Concrete01" or "ide", e. g., with gcc 4.1.1 yields:
Quote: | D:\ProgWin\upp\uppsrc\Core\heap.cpp:60: error: expected ',' or '...' before 'char'
D:\ProgWin\upp\uppsrc\Core\heap.cpp: In function 'void Upp::MemorySum(int&)':
D:\ProgWin\upp\uppsrc\Core\heap.cpp:62: error: expected unqualified-id before '=' token
D:\ProgWin\upp\uppsrc\Core\heap.cpp:63: error: 'large' was not declared in this scope
D:\ProgWin\upp\uppsrc\Core\heap.cpp: In function 'void* Upp::MemoryAlloc(size_t)':
D:\ProgWin\upp\uppsrc\Core\heap.cpp:589: error: '_msize' was not declared in this scope
D:\ProgWin\upp\uppsrc\Core\heap.cpp: In function 'void Upp::MemoryFree(void*)':
D:\ProgWin\upp\uppsrc\Core\heap.cpp:611: error: '_msize' was not declared in this scope
|
The same is true for gcc 3.4.2.
Werner
[Updated on: Tue, 09 January 2007 20:53] Report message to a moderator
|
|
|
Re: Upp 701-dev1 released [message #7609 is a reply to message #7591] |
Tue, 09 January 2007 22:11   |
guido
Messages: 169 Registered: April 2006
|
Experienced Member |
|
|
Chameleon refactoring seems to have broken X11 theming.
I get black on black menus (highlighted items show ok).
The Linux package is up, so I wonder if others had more luck.
I had to compile upp myself, as the package again is Ubuntu only.
Guido
[Updated on: Tue, 09 January 2007 22:11] Report message to a moderator
|
|
|
|
|
Re: Upp 701-dev1 released [message #7618 is a reply to message #7611] |
Wed, 10 January 2007 13:40   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
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
|
|
|
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
|
|
|
Re: Upp 701-dev1 released [message #7621 is a reply to message #7619] |
Wed, 10 January 2007 20:06   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
Quote: |
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.
|
Of course I know above definitions, but in reality, this is not how things really work. Theming engines implement some of them for specific widgets, GTK is using them in different context too. You cannot really rely on anything, only test and retry...
Anyway, maybe for start to check things are not completely off, what about replacing the whole thing with simple "White" color?
Mirek
[Updated on: Wed, 10 January 2007 20:07] Report message to a moderator
|
|
|
|
|
|
|
Re: Upp 701-dev1 released [message #7649 is a reply to message #7619] |
Fri, 12 January 2007 19:00   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
guido wrote on Wed, 10 January 2007 08:56 |
I set shadow to 0.
Then state to 1 (ACTIVE).
Neither having any effect at all.
Guido
|
Clearlooks problem confirmed. For now, I have made a quick-fix:
Quote: |
Color c = GetGTK(popup, 0, 2, "menu", GTK_BOX, 32, 32)[16][16];
if(!IsNull(c) && Diff(c, SColorPaper()) > 200) //!!! ClearLooks patch
SColorMenu_Write(c);
|
(In fact, it is a test whether the Color is reasonable value..)
Mirek
|
|
|
|
|
|
Re: Upp 701-dev1 released [message #7746 is a reply to message #7649] |
Thu, 18 January 2007 22:41   |
masu
Messages: 378 Registered: February 2006
|
Senior Member |
|
|
luzr wrote on Fri, 12 January 2007 19:00 |
guido wrote on Wed, 10 January 2007 08:56 |
I set shadow to 0.
Then state to 1 (ACTIVE).
Neither having any effect at all.
Guido
|
Clearlooks problem confirmed. For now, I have made a quick-fix:
Quote: |
Color c = GetGTK(popup, 0, 2, "menu", GTK_BOX, 32, 32)[16][16];
if(!IsNull(c) && Diff(c, SColorPaper()) > 200) //!!! ClearLooks patch
SColorMenu_Write(c);
|
(In fact, it is a test whether the Color is reasonable value..)
Mirek
|
Unfortunately, this does not help.
The menu bg is still black.
Matthias
|
|
|
Re: Upp 701-dev1 released [message #7747 is a reply to message #7746] |
Thu, 18 January 2007 23:00   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
masu wrote on Thu, 18 January 2007 16:41 |
luzr wrote on Fri, 12 January 2007 19:00 |
guido wrote on Wed, 10 January 2007 08:56 |
I set shadow to 0.
Then state to 1 (ACTIVE).
Neither having any effect at all.
Guido
|
Clearlooks problem confirmed. For now, I have made a quick-fix:
Quote: |
Color c = GetGTK(popup, 0, 2, "menu", GTK_BOX, 32, 32)[16][16];
if(!IsNull(c) && Diff(c, SColorPaper()) > 200) //!!! ClearLooks patch
SColorMenu_Write(c);
|
(In fact, it is a test whether the Color is reasonable value..)
Mirek
|
Unfortunately, this does not help.
The menu bg is still black.
Matthias
|
Strange, I have noticed problem in Ubuntu's ClearLooks and this fixed it... Can you test this with beta please?
Mirek
|
|
|
|
|
Goto Forum:
Current Time: Sat Apr 26 14:17:33 CEST 2025
Total time taken to generate the page: 0.03412 seconds
|
|
|