[Glade-devel] [glade-3] Patch to draw selection handles
- From: e98cuenc free fr (Joaquin Cuenca Abela)
- Subject: [Glade-devel] [glade-3] Patch to draw selection handles
- Date: Thu, 29 Apr 2004 20:37:51 +0200
Damon wrote:
Here's a patch that improves the drawing of the selection rectangles.
It is pretty simple code (unlike in glade-2!).
Whenever a widget gets an expose event, the project queues a
low-priority idle handler (if it isn't already queued).
The idle handler draws the selection rectangles around all
the currently selected widgets, usually in the parent widget's window.
It seems to work well. I'm still testing it though.
Hi Damon!
Very good work, indeed!
Unfortunately it works quite badly under windows. It doesn't draw the
selection rectangles over placeholders (?), for instance. It only draws them
over widgets without a window, or the parts of those widgets that are not
covered by an internal window.
It's quite weird, as I've beed breaking in the expose event, and it gets
called.
I've not seen anything bad in the code, but I will keep looking to see
what's going on.
I don't have any objections to commit it (btw, in the future you can commit
when you consider the code is ok).
Cheers,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]