a6601d563b
app: some GimpProgress cleanup
...
- change start() and set_text() to use "format" and "..." instead of
"message", allowing to format progress messages in place
- s/cancelable/cancellable/
- move "cancellable" to be the second argument of start()
2014-07-12 23:45:20 +02:00
2d2bdbd48f
app: implement GimpCanvasItem::hit() in GimpCanvasProgress
...
Allow hits only on the progress text. Hackish proof-of-concept hack.
2014-06-30 03:40:34 +02:00
921bd34495
app: fix GimpCanvasProgress' extents for short progress texts
2014-06-19 23:29:00 +02:00
0add37a6cc
app: remove GimpDisplayShell parameters from all GimpCanvasItem vfuncs
...
and get the shell from gimp_canvas_item_get_shell() if needed. Remove
some cairo_translate() that didn't have any effect and were leftovers
from a very early canvas item code.
2013-04-18 16:46:01 +02:00
52b92e740f
app: rename gimpdisplayshell-style to gimpcanvas-style
...
because it doesn't and shouldn't depend on GimpDisplayShell at all.
In the future, it will take its defaults from the canvas' theme.
2013-04-18 16:46:01 +02:00
64c929a1d1
app: add an own GimpCanvasItem API for transforming coords
...
and use it in all subclasses. Removes all gimpdisplayshell-transform
dependency from all item implementations.
2013-04-18 16:46:00 +02:00
fde934ac58
app: s/GdkRectangle/cairo_rectangle_int_t/ in all GimpCanvasItems
2011-04-10 18:15:16 +02:00
8a69d4f639
app: fix GimpCanvasProgress' position, extents, and drawing, gah...
2011-04-01 22:56:33 +02:00
cff73863c5
app: add GimpCanvasProgress, an on-canvas progress item
2010-11-09 19:35:04 +01:00