2010-04-22 13:49:03 -07:00
|
|
|
images
|
|
|
|
{
|
2010-04-22 16:55:44 -07:00
|
|
|
image: "module_icon.png" COMP;
|
|
|
|
image: "google.png" COMP;
|
|
|
|
image: "wikipedia.png" COMP;
|
2010-04-22 13:49:03 -07:00
|
|
|
}
|
|
|
|
|
2010-04-22 17:50:06 -07:00
|
|
|
#define ICON(NAME, FILE, SIZE) \
|
|
|
|
group { \
|
|
|
|
name: NAME ; \
|
|
|
|
max: SIZE SIZE; \
|
|
|
|
parts { \
|
|
|
|
part { \
|
|
|
|
name: "icon"; \
|
|
|
|
repeat_events: 1; \
|
|
|
|
description { \
|
|
|
|
state: "default" 0.0; \
|
|
|
|
aspect: 1.0 1.0; \
|
|
|
|
aspect_preference: BOTH; \
|
|
|
|
image.image: FILE COMP; \
|
|
|
|
image.normal: FILE ; \
|
|
|
|
} \
|
|
|
|
} \
|
|
|
|
} \
|
|
|
|
}
|
|
|
|
|
2010-04-22 13:49:03 -07:00
|
|
|
collections
|
|
|
|
{
|
2010-04-22 16:55:44 -07:00
|
|
|
group
|
|
|
|
{
|
|
|
|
name: "icon";
|
|
|
|
max: 24 24;
|
|
|
|
parts
|
|
|
|
{
|
|
|
|
part
|
|
|
|
{
|
|
|
|
name: "image";
|
|
|
|
mouse_events: 0;
|
|
|
|
type: IMAGE;
|
|
|
|
description
|
|
|
|
{
|
|
|
|
state: "default" 0.0;
|
|
|
|
image.normal: "module_icon.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2010-04-22 17:50:06 -07:00
|
|
|
|
|
|
|
ICON("wikipedia", "wikipedia.png", 128)
|
|
|
|
ICON("google", "google.png", 128)
|
2010-04-22 18:30:35 -07:00
|
|
|
ICON("feeling-lucky", "google.png", 128)
|
2010-04-22 16:55:44 -07:00
|
|
|
|
2010-04-22 13:49:03 -07:00
|
|
|
}
|