I am trying to keep the normal background image and overlay another image on top of it with alpha so the background shows through a bit.
But so does the Iconbar.
Is there a way to temporary hide the Iconbar?
Here is the current code to set the background:
Is this the correct way to retrieve the background image?Code:-- Draw Background local bgImage = Framework:getBackground() bgImage:blit(self.bg, 0, 0) -- Draw half transparent layer self.bg:filledRectangle(0, 0, screen_width, screen_height, self.bgcolor)
Results 1 to 5 of 5
Thread: Disable/Hide the Iconbar
-
2007-07-29, 06:31 #1Junior Member
- Join Date
- Jul 2007
- Posts
- 12
Disable/Hide the Iconbar
-
2007-07-30, 02:04 #2Senior Software Engineer - Logitech/Slim Devices
- Join Date
- Apr 2005
- Location
- Ipswich, UK
- Posts
- 1,394
Normally you should not need to get the background image, that's always painted below the window and widgets.
At the moment you can't completely remove the icon bar, the icon bar is added to the background image when the image is loaded. This is a bad optimization, as it means you'll always see the icon bar. I need to fix this in the next week or two, so for now just image you can't see it
.
I was thinking the best way for the applet to specify that you don't want the icon bar would be by using the windows style parameter. The different styles would be:
'window' - window with title and icon bar
'titleWindow' - window with title and without icon bar
'fullWindow' - window without title and icon bar
Would this work for you?
Richard
-
2007-07-30, 03:28 #3Junior Member
- Join Date
- Jul 2007
- Posts
- 12
-
2007-07-30, 05:45 #4Senior Software Engineer - Logitech/Slim Devices
- Join Date
- Apr 2005
- Location
- Ipswich, UK
- Posts
- 1,394
-
2007-07-31, 00:59 #5Junior Member
- Join Date
- Jul 2007
- Posts
- 12
I am using a RGBA surface for the background.
A clear method would be very useful.

Reply With Quote

