Commit Graph

22 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
8ff7bdebb7 Typo 2007-08-26 15:10:43 +02:00
Marco Pesenti Gritti
f1fc80b4a8 Fix icon padding. 2007-08-26 15:01:16 +02:00
Marco Pesenti Gritti
ba4f68ef58 Cache the donut animation. 2007-08-26 14:45:59 +02:00
Marco Pesenti Gritti
7042b4392e Fix CanvasIcon badges 2007-08-26 14:33:16 +02:00
Marco Pesenti Gritti
5f773b21af Remove invalidation logic which is not necessary with the new cache. 2007-08-26 14:30:02 +02:00
Marco Pesenti Gritti
98157bbccb Make CanvasIcon use IconBuffer. Change the API to use
a separate property for icon_name and file_name.
2007-08-26 14:16:09 +02:00
Marco Pesenti Gritti
f44c340b3a Smarter/configurable surface cache in IconBuffer 2007-08-26 12:36:34 +02:00
Marco Pesenti Gritti
a8938ab8ba Add an svg cache for SVGLoader 2007-08-26 12:08:50 +02:00
Marco Pesenti Gritti
65871156f5 Cleanups 2007-08-26 02:59:05 +02:00
Marco Pesenti Gritti
05f2722d90 Get badges positioning right. 2007-08-26 02:24:45 +02:00
Marco Pesenti Gritti
6432dcfb0e More work on IconBuffer badges. 2007-08-26 01:57:48 +02:00
Marco Pesenti Gritti
ae54542524 Add badge support to IconBuffer 2007-08-26 00:26:11 +02:00
Marco Pesenti Gritti
1938fb13f0 Rework the Icon implementation by splitting out
the icon rendering part. The plan is to share this code
with CanvasIcon once it has all the necessary features.

Also cleanup the API by just reusing gtk.Image icon_name
and file properties.
2007-08-25 18:26:59 +02:00
Marco Pesenti Gritti
f1d588452e Reorganize canvas items. 2007-08-25 13:15:28 +02:00
Tomeu Vizoso
628fe7b5da Restore Icon's ability to load absolute file paths. 2007-08-24 20:15:30 +02:00
Marco Pesenti Gritti
6a5f389436 Set the icon-set property to avoid resetting the icon_size 2007-08-18 01:04:10 +02:00
Marco Pesenti Gritti
34a1c81aa5 Add a scale property to CanvasIcon.
Make Icon use gtk.Image icon-size.
Patch by tannewt with some little tweaks.
2007-08-17 19:53:41 +02:00
Eduardo Silva
4aeee4caa9 Icon(): Add scaled icon support (SVG) with editable fill and stroke colors 2007-08-02 07:57:41 -04:00
Tomeu Vizoso
099cd4d1b4 Allow passing a complete file path when creating a sugar.graphics.Icon 2007-07-28 20:56:02 +02:00
Marco Pesenti Gritti
99e8077f59 Implement fix-copyright and fix some of them 2007-06-24 14:43:48 +02:00
Marco Pesenti Gritti
b8e96d08ae Adjust named icons terminology a bit 2007-05-01 01:03:16 +02:00
Marco Pesenti Gritti
e936b1e1fc Forgot to add the icon 2007-04-30 14:04:50 +02:00