add .desktop + icon for test prog, add multiple bubble layouts - use top-left

by default.



SVN revision: 37466
This commit is contained in:
Carsten Haitzler 2008-11-05 05:27:42 +00:00
parent 62306c24cc
commit dd41a7761c
12 changed files with 741 additions and 341 deletions

View File

@ -57,4 +57,5 @@ data/Makefile
data/themes/Makefile
data/images/Makefile
data/objects/Makefile
data/desktop/Makefile
])

View File

@ -1,3 +1,3 @@
AUTOMAKE_OPTIONS = 1.4 foreign
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS = themes images objects
SUBDIRS = themes images objects desktop

View File

@ -0,0 +1,10 @@
4AUTOMAKE_OPTIONS = 1.4 foreign
MAINTAINERCLEANFILES = Makefile.in
desktopdir = $(datadir)/applications
desktop_DATA = elementary_test.desktop
icondir = $(datadir)/icons
icon_DATA = elementary.png
EXTRA_DIST = elementary_test.desktop elementary.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

View File

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Name=Elementary Test
Comment=Elementary Test Application
Exec=elementary_test
Icon=elementary
Terminal=false
Type=Application
Categories=Application;Utilities;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 B

View File

@ -3078,7 +3078,260 @@ collections {
}
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/bubble/base/default";
group { name: "elm/bubble/top_left/default";
alias: "elm/bubble/base/default";
images {
image: "bubble_3.png" COMP;
image: "bubble_shine3.png" COMP;
}
parts {
part { name: "elm.swallow.icon";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
align: 0.0 0.0;
aspect: 1.0 1.0;
aspect_preference: VERTICAL;
rel1 {
relative: 0.0 0.0;
offset: 4 4;
}
rel2 {
to_y: "elm.text";
relative: 0.0 1.0;
offset: 4 -1;
}
}
}
part { name: "elm.text";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
align: 0.0 0.0;
fixed: 0 1;
rel1 {
to_x: "elm.swallow.icon";
relative: 1.0 0.0;
offset: 4 4;
}
rel2 {
to_x: "elm.info";
relative: 0.0 0.0;
offset: -5 4;
}
color: 0 0 0 255;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
size: 10;
min: 0 1;
max: 0 1;
align: 0.0 0.0;
}
}
}
part { name: "elm.info";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
align: 1.0 0.0;
fixed: 1 1;
rel1 {
relative: 1.0 0.0;
offset: -5 4;
}
rel2 {
relative: 1.0 0.0;
offset: -5 4;
}
color: 0 0 0 64;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
size: 10;
min: 1 1;
max: 1 1;
align: 1.0 0.0;
}
}
}
part { name: "base0";
mouse_events: 0;
description { state: "default" 0.0;
rel1 {
to_y: "elm.swallow.icon";
relative: 0.0 1.0;
offset: 0 0;
}
image {
normal: "bubble_3.png";
border: 36 11 18 9;
}
fill.smooth: 0;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
rel1 {
to: "base0";
offset: 9 16;
}
rel2 {
to: "base0";
offset: -10 -9;
}
}
}
part { name: "shine";
mouse_events: 0;
description { state: "default" 0.0;
rel1 {
to: "base0";
offset: 5 4;
}
rel2 {
to: "base0";
relative: 1.0 0.5;
offset: -6 7;
}
image {
normal: "bubble_shine3.png";
border: 36 5 14 0;
}
fill.smooth: 0;
}
}
}
}
group { name: "elm/bubble/top_right/default";
images {
image: "bubble_4.png" COMP;
image: "bubble_shine4.png" COMP;
}
parts {
part { name: "elm.swallow.icon";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
align: 1.0 0.0;
aspect: 1.0 1.0;
aspect_preference: VERTICAL;
rel1 {
relative: 1.0 0.0;
offset: -5 4;
}
rel2 {
to_y: "elm.text";
relative: 1.0 1.0;
offset: -5 -1;
}
}
}
part { name: "elm.text";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
align: 0.0 0.0;
fixed: 0 1;
rel1 {
relative: 0.0 0.0;
offset: 4 4;
}
rel2 {
to_x: "elm.info";
relative: 0.0 0.0;
offset: -5 4;
}
color: 0 0 0 255;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
size: 10;
min: 0 1;
max: 0 1;
align: 0.0 0.0;
}
}
}
part { name: "elm.info";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
align: 1.0 0.0;
fixed: 1 1;
rel1 {
relative: 1.0 0.0;
offset: -5 4;
}
rel2 {
to_x: "elm.swallow.icon";
relative: 0.0 0.0;
offset: -5 4;
}
color: 0 0 0 64;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
size: 10;
min: 1 1;
max: 1 1;
align: 1.0 0.0;
}
}
}
part { name: "base0";
mouse_events: 0;
description { state: "default" 0.0;
rel1 {
to_y: "elm.swallow.icon";
relative: 0.0 1.0;
offset: 0 0;
}
image {
normal: "bubble_4.png";
border: 11 36 18 9;
}
fill.smooth: 0;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
rel1 {
to: "base0";
offset: 9 16;
}
rel2 {
to: "base0";
offset: -10 -9;
}
}
}
part { name: "shine";
mouse_events: 0;
description { state: "default" 0.0;
rel1 {
to: "base0";
offset: 5 4;
}
rel2 {
to: "base0";
relative: 1.0 0.5;
offset: -6 7;
}
image {
normal: "bubble_shine4.png";
border: 5 36 14 0;
}
fill.smooth: 0;
}
}
}
}
group { name: "elm/bubble/bottom_left/default";
images {
image: "bubble_1.png" COMP;
image: "bubble_shine.png" COMP;
@ -3204,6 +3457,132 @@ collections {
}
}
group { name: "elm/bubble/bottom_right/default";
images {
image: "bubble_2.png" COMP;
image: "bubble_shine.png" COMP;
}
parts {
part { name: "elm.swallow.icon";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
align: 1.0 1.0;
aspect: 1.0 1.0;
aspect_preference: VERTICAL;
rel1 {
to_y: "elm.text";
relative: 1.0 0.0;
offset: -5 0;
}
rel2 {
relative: 1.0 1.0;
offset: -5 -5;
}
}
}
part { name: "elm.text";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
align: 0.0 1.0;
fixed: 0 1;
rel1 {
relative: 0.0 1.0;
offset: 4 -5;
}
rel2 {
to_x: "elm.info";
relative: 0.0 1.0;
offset: -5 -5;
}
color: 0 0 0 255;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
size: 10;
min: 0 1;
max: 0 1;
align: 0.0 1.0;
}
}
}
part { name: "elm.info";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
align: 1.0 1.0;
fixed: 1 1;
rel1 {
relative: 1.0 1.0;
offset: -5 -5;
}
rel2 {
to_x: "elm.swallow.icon";
relative: 0.0 1.0;
offset: -5 -5;
}
color: 0 0 0 64;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
size: 10;
min: 1 1;
max: 1 1;
align: 1.0 1.0;
}
}
}
part { name: "base0";
mouse_events: 0;
description { state: "default" 0.0;
rel2 {
to_y: "elm.swallow.icon";
relative: 1.0 0.0;
offset: -1 -1;
}
image {
normal: "bubble_2.png";
border: 11 36 10 19;
}
fill.smooth: 0;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
rel1 {
to: "base0";
offset: 9 8;
}
rel2 {
to: "base0";
offset: -10 -17;
}
}
}
part { name: "shine";
mouse_events: 0;
description { state: "default" 0.0;
rel1 {
to: "base0";
offset: 5 4;
}
rel2 {
to: "base0";
relative: 1.0 0.5;
offset: -6 -16;
}
image {
normal: "bubble_shine.png";
border: 5 5 5 0;
}
fill.smooth: 0;
}
}
}
}
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/icon/home/default"; min: 32 32;
images.image: "icon_home.png" COMP; parts { part { name: "base";

View File

@ -283,9 +283,6 @@ extern "C" {
// * scroller could do with page up/down/left/right buttons and and idea of
// a page size
// * tab widget focusing (not useful for touchscreen tho...)
// * frame needs to be able to use custom frame style
// * button needs to be able to use custom frame style
// * toggle needs to be able to use custom frame style
// * entry has no way to show its focused vs other entries
// * entry selection conflicts with finger scroll
// * toolbar widget (edje + box + button + separators)
@ -307,5 +304,9 @@ extern "C" {
// * need to get toplevel
// * need "dialogbutton" widget (bigger button for bottom of wins)
// * need dialog window widget
// * need a phone-number widget (hilight country dial prefixes, add flags,
// photos of contacts that match etc.)
// * need imageview widget (for large not iconic images)
// * labels with "" are 0x0 size, but with " " are correct vertically. check
#endif