[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] I made a little modification on openbox!!
From:       ppl () nbnet ! nb ! ca (Pierre-Paul Lavoie)
Date:       2003-01-02 17:25:17
Message-ID: 20030102132517.A17605 () bloodaxis ! nbtel ! net
[Download RAW message or body]

On Thu, Jan 02, 2003 at 03:08:55PM +0800, d2002xx wrote:
> Hello everybody!!
> 
> It's all about the toolbar: I removed the "label" and "workspace_label", and 
> added "clock2", which shows the state of CPU resource (well, it's not about 
> clock at all, I'm just too lazy to modify the header file again), and changed 
> something in "checkClock" to make the flicking problem in the clock in 
> toolbar minimal (I dunno how to do double buffer, yet)

Afaik, you simply create a pixmap of the required width/height.
Then you draw in that pixmap instead of the window. When you're
done, simply XCopyArea the pixmap to the window. You can use an
empty graphic context for the operation.

Have a good day,
ppl


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic